public class Parser
extends java.lang.Object
Constructor and Description |
---|
Parser() |
Modifier and Type | Method and Description |
---|---|
static Document |
parse(java.lang.String input) |
Document |
parseDocument(java.io.Reader reader) |
Document |
parseDocument(java.lang.String input) |
Document |
parseDocument(java.lang.String input,
java.lang.String sourceName) |
public static Document parse(java.lang.String input)
public Document parseDocument(java.lang.String input) throws InvalidSyntaxException
InvalidSyntaxException
public Document parseDocument(java.lang.String input, java.lang.String sourceName) throws InvalidSyntaxException
InvalidSyntaxException
public Document parseDocument(java.io.Reader reader) throws InvalidSyntaxException
InvalidSyntaxException