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
ConstructorDescriptionIgnoreRootHandler
(ContentHandler contentHandler) ConstructorIgnoreRootHandler
(ContentHandler contentHandler, LexicalHandler lexicalHandler) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
comment
(char[] ch, int start, int length) void
endCDATA()
void
void
endDTD()
void
void
void
void
void
startEntity
(String name) Methods inherited from class org.apache.excalibur.xml.sax.ContentHandlerProxy
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startElement, startPrefixMapping
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
IgnoreRootHandler
Constructor- Parameters:
contentHandler
- the contentHandler to pass SAX events to. In case theContentHandler
also implements theLexicalHandler
interface, 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:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classContentHandlerProxy
- Throws:
SAXException
-
endDocument
- Specified by:
endDocument
in interfaceContentHandler
- Overrides:
endDocument
in classContentHandlerProxy
- Throws:
SAXException
-
comment
- Specified by:
comment
in interfaceLexicalHandler
- Throws:
SAXException
-
startCDATA
- Specified by:
startCDATA
in interfaceLexicalHandler
- Throws:
SAXException
-
endCDATA
- Specified by:
endCDATA
in interfaceLexicalHandler
- Throws:
SAXException
-
startDTD
- Specified by:
startDTD
in interfaceLexicalHandler
- Throws:
SAXException
-
endDTD
- Specified by:
endDTD
in interfaceLexicalHandler
- Throws:
SAXException
-
startEntity
- Specified by:
startEntity
in interfaceLexicalHandler
- Throws:
SAXException
-
endEntity
- Specified by:
endEntity
in interfaceLexicalHandler
- Throws:
SAXException
-