Class DynamicInformationHandler
- java.lang.Object
-
- org.apache.excalibur.xml.sax.ContentHandlerProxy
-
- org.ametys.core.util.IgnoreRootHandler
-
- org.ametys.plugins.linkdirectory.dynamic.DynamicInformationHandler
-
- All Implemented Interfaces:
ContentHandler
,LexicalHandler
public class DynamicInformationHandler extends IgnoreRootHandler
Ignore root handler that remove the 'dynamic-information' root tag
-
-
Constructor Summary
Constructors Constructor Description DynamicInformationHandler(ContentHandler contentHandler)
Create a handler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(String uri, String localName, String qName)
void
startElement(String uri, String localName, String qName, Attributes atts)
-
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
-
DynamicInformationHandler
public DynamicInformationHandler(ContentHandler contentHandler)
Create a handler- Parameters:
contentHandler
- The handler to wrap
-
-
Method Detail
-
startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classContentHandlerProxy
- Throws:
SAXException
-
endElement
public void endElement(String uri, String localName, String qName) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classContentHandlerProxy
- Throws:
SAXException
-
-