public class PluginDocGenerator.SpecialHandler extends IgnoreRootHandler
Modifier and Type | Field and Description |
---|---|
private int |
_level |
private String |
_pluginName |
Constructor and Description |
---|
SpecialHandler(ContentHandler handler,
String pluginName)
Create a handler
|
Modifier and Type | Method and Description |
---|---|
void |
endElement(String uri,
String loc,
String raw) |
void |
startElement(String uri,
String loc,
String raw,
Attributes a) |
comment, endCDATA, endDocument, endDTD, endEntity, startCDATA, startDocument, startDTD, startEntity
characters, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startPrefixMapping
private String _pluginName
private int _level
public SpecialHandler(ContentHandler handler, String pluginName)
handler
- The handler to wrappluginName
- The plugin name to set on root tagpublic void startElement(String uri, String loc, String raw, Attributes a) throws SAXException
startElement
in interface ContentHandler
startElement
in class ContentHandlerProxy
SAXException
public void endElement(String uri, String loc, String raw) throws SAXException
endElement
in interface ContentHandler
endElement
in class ContentHandlerProxy
SAXException