Class PluginDocGenerator.SpecialHandler
- java.lang.Object
 - 
- org.apache.excalibur.xml.sax.ContentHandlerProxy
 - 
- org.ametys.core.util.IgnoreRootHandler
 - 
- org.ametys.runtime.plugins.admin.plugins.doc.PluginDocGenerator.SpecialHandler
 
 
 
 
- 
- All Implemented Interfaces:
 ContentHandler,LexicalHandler
- Enclosing class:
 - PluginDocGenerator
 
public class PluginDocGenerator.SpecialHandler extends IgnoreRootHandler
Ignore root handler that set the plugin name on the root tag 
- 
- 
Constructor Summary
Constructors Constructor Description SpecialHandler(ContentHandler handler, String pluginName)Create a handler 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendElement(String uri, String loc, String raw)voidstartElement(String uri, String loc, String raw, Attributes a)- 
Methods inherited from class org.ametys.core.util.IgnoreRootHandler
comment, endCDATA, endDocument, endDTD, endEntity, startCDATA, startDocument, startDTD, startEntity 
- 
Methods inherited from class org.apache.excalibur.xml.sax.ContentHandlerProxy
characters, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startPrefixMapping 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SpecialHandler
public SpecialHandler(ContentHandler handler, String pluginName)
Create a handler- Parameters:
 handler- The handler to wrappluginName- The plugin name to set on root tag
 
 - 
 
- 
Method Detail
- 
startElement
public void startElement(String uri, String loc, String raw, Attributes a) throws SAXException
- Specified by:
 startElementin interfaceContentHandler- Overrides:
 startElementin classContentHandlerProxy- Throws:
 SAXException
 
- 
endElement
public void endElement(String uri, String loc, String raw) throws SAXException
- Specified by:
 endElementin interfaceContentHandler- Overrides:
 endElementin classContentHandlerProxy- Throws:
 SAXException
 
 - 
 
 -