public class JSPContentHandler extends DefaultHandler
| Modifier and Type | Field and Description |
|---|---|
protected JSPTreeNodeIF |
current |
protected ErrorHandler |
ehandler |
protected Locator |
locator |
protected Stack<String> |
parents |
protected JSPTreeNodeIF |
root |
protected JSPTagFactoryIF |
tagFactory |
protected boolean |
useTagPooling |
| Constructor and Description |
|---|
JSPContentHandler() |
JSPContentHandler(boolean useTagPooling) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(String uri,
String lname,
String qname) |
protected ErrorHandler |
getDefaultErrorHandler() |
JSPTreeNodeIF |
getRootNode()
Returns the root node of the just read-in and built JSPTree.
|
void |
register(XMLReader parser) |
void |
setDocumentLocator(Locator locator) |
void |
startDocument() |
void |
startElement(String uri,
String lname,
String qname,
Attributes atts) |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningprotected JSPTreeNodeIF root
protected JSPTreeNodeIF current
protected JSPTagFactoryIF tagFactory
protected final boolean useTagPooling
protected ErrorHandler ehandler
protected Locator locator
public JSPContentHandler()
public JSPContentHandler(boolean useTagPooling)
public void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class DefaultHandlerpublic void register(XMLReader parser)
protected ErrorHandler getDefaultErrorHandler()
public void startDocument()
startDocument in interface ContentHandlerstartDocument in class DefaultHandlerpublic void endDocument()
endDocument in interface ContentHandlerendDocument in class DefaultHandlerpublic void startElement(String uri, String lname, String qname, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String lname, String qname) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic JSPTreeNodeIF getRootNode()