public interface IParse
| Modifier and Type | Method and Description |
|---|---|
@Nullable com.vladsch.flexmark.util.data.DataHolder |
getOptions()
Get Options for parsing
|
@NotNull Node |
parse(@NotNull com.vladsch.flexmark.util.sequence.BasedSequence input)
Parse the specified input text into a tree of nodes.
|
@NotNull Node |
parse(@NotNull String input)
Parse the specified input text into a tree of nodes.
|
@NotNull Node |
parseReader(@NotNull Reader input)
Parse the specified reader into a tree of nodes.
|
boolean |
transferReferences(@NotNull Document document,
@NotNull Document included,
@Nullable Boolean onlyIfUndefined)
Transfer reference definition between documents
|
@NotNull @NotNull Node parse(@NotNull @NotNull com.vladsch.flexmark.util.sequence.BasedSequence input)
Note that this method is thread-safe (a new parser state is used for each invocation).
input - the text to parse@NotNull @NotNull Node parse(@NotNull @NotNull String input)
Note that this method is thread-safe (a new parser state is used for each invocation).
input - the text to parse@NotNull @NotNull Node parseReader(@NotNull @NotNull Reader input) throws IOException
Note that this method is thread-safe (a new parser state is used for each invocation).
input - the reader to parseIOException - when reading throws an exception@Nullable @Nullable com.vladsch.flexmark.util.data.DataHolder getOptions()
boolean transferReferences(@NotNull
@NotNull Document document,
@NotNull
@NotNull Document included,
@Nullable
@Nullable Boolean onlyIfUndefined)
document - destination documentincluded - source documentonlyIfUndefined - true if only should transfer references not already defined in the destination document,
false to transfer all,
null to use repository's KEEP_TYPE to make the determination (if KEEP_FIRST then only transfer if undefined,Copyright © 2020. All rights reserved.