| Constructor and Description |
|---|
TreeParser(ContentHandler contentHandler,
LexicalHandler lexicalHandler)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber() |
int |
getLineNumber() |
String |
getPublicId() |
String |
getSystemId() |
void |
parse(Node node)
Causes SAX events for the tree rooted at the argument to be emitted.
|
public TreeParser(ContentHandler contentHandler, LexicalHandler lexicalHandler)
contentHandler - must not be nulllexicalHandler - may be nullpublic void parse(Node node) throws SAXException
startDocument() and endDocument() are only
emitted for a Document node.node - the rootSAXExceptionpublic int getColumnNumber()
getColumnNumber in interface LocatorLocator.getColumnNumber()public int getLineNumber()
getLineNumber in interface LocatorLocator.getLineNumber()public String getPublicId()
getPublicId in interface LocatorLocator.getPublicId()public String getSystemId()
getSystemId in interface LocatorLocator.getSystemId()Copyright © 2016. All rights reserved.