public interface IParse
| Modifier and Type | Method and Description |
|---|---|
DataHolder |
getOptions()
Get Options for parsing
|
Node |
parse(BasedSequence input)
Parse the specified input text into a tree of nodes.
|
Node |
parse(String input)
Parse the specified input text into a tree of nodes.
|
Node |
parseReader(Reader input)
Parse the specified reader into a tree of nodes.
|
boolean |
transferReferences(Document document,
Document included) |
IParse |
withOptions(DataHolder options)
Return an IParse instance configured for passed in options
|
Node parse(BasedSequence input)
Note that this method is thread-safe (a new parser state is used for each invocation).
input - the text to parseNode parse(String input)
Note that this method is thread-safe (a new parser state is used for each invocation).
input - the text to parseNode parseReader(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 exceptionIParse withOptions(DataHolder options)
options - options to use for a new instanceDataHolder getOptions()
Copyright © 2019. All rights reserved.