Package org.ametys.core.util
Class IgnoreRootHandler
java.lang.Object
org.apache.excalibur.xml.sax.ContentHandlerProxy
org.ametys.core.util.IgnoreRootHandler
- All Implemented Interfaces:
ContentHandler,LexicalHandler
- Direct Known Subclasses:
DispatchGenerator.ResponseHandler,DynamicInformationHandler,PluginDocGenerator.SpecialHandler
"Proxy" handler ignoring startDocument() and endDocument() calls
-
Constructor Summary
ConstructorsConstructorDescriptionIgnoreRootHandler(ContentHandler contentHandler) ConstructorIgnoreRootHandler(ContentHandler contentHandler, LexicalHandler lexicalHandler) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidcomment(char[] ch, int start, int length) voidendCDATA()voidvoidendDTD()voidvoidvoidvoidvoidstartEntity(String name) Methods inherited from class org.apache.excalibur.xml.sax.ContentHandlerProxy
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startElement, startPrefixMappingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
IgnoreRootHandler
Constructor- Parameters:
contentHandler- the contentHandler to pass SAX events to. In case theContentHandleralso implements theLexicalHandlerinterface, it will be honoured.
-
IgnoreRootHandler
Constructor- Parameters:
contentHandler- the contentHandler to pass SAX events tolexicalHandler- the lexicalHandler to pass lexical events to. May be null.
-
-
Method Details
-
startDocument
- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classContentHandlerProxy- Throws:
SAXException
-
endDocument
- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classContentHandlerProxy- Throws:
SAXException
-
comment
- Specified by:
commentin interfaceLexicalHandler- Throws:
SAXException
-
startCDATA
- Specified by:
startCDATAin interfaceLexicalHandler- Throws:
SAXException
-
endCDATA
- Specified by:
endCDATAin interfaceLexicalHandler- Throws:
SAXException
-
startDTD
- Specified by:
startDTDin interfaceLexicalHandler- Throws:
SAXException
-
endDTD
- Specified by:
endDTDin interfaceLexicalHandler- Throws:
SAXException
-
startEntity
- Specified by:
startEntityin interfaceLexicalHandler- Throws:
SAXException
-
endEntity
- Specified by:
endEntityin interfaceLexicalHandler- Throws:
SAXException
-