Class CreateNewsletterFunction.IgnoreRootTagHandler
- java.lang.Object
-
- org.apache.excalibur.xml.sax.ContentHandlerProxy
-
- org.ametys.plugins.newsletter.workflow.CreateNewsletterFunction.IgnoreRootTagHandler
-
- All Implemented Interfaces:
ContentHandler
- Enclosing class:
- CreateNewsletterFunction
protected class CreateNewsletterFunction.IgnoreRootTagHandler extends ContentHandlerProxy
Ignore the root tag.
-
-
Field Summary
Fields Modifier and Type Field Description private int
_depth
-
Constructor Summary
Constructors Constructor Description IgnoreRootTagHandler(ContentHandler contentHandler)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endDocument()
void
endElement(String uri, String loc, String raw)
void
startDocument()
void
startElement(String uri, String loc, String raw, Attributes a)
-
Methods inherited from class org.apache.excalibur.xml.sax.ContentHandlerProxy
characters, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startPrefixMapping
-
-
-
-
Field Detail
-
_depth
private int _depth
-
-
Constructor Detail
-
IgnoreRootTagHandler
public IgnoreRootTagHandler(ContentHandler contentHandler)
Constructor- Parameters:
contentHandler
- the contentHandler to pass SAX events to.
-
-
Method Detail
-
startDocument
public void startDocument() throws SAXException
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classContentHandlerProxy
- Throws:
SAXException
-
endDocument
public void endDocument() throws SAXException
- Specified by:
endDocument
in interfaceContentHandler
- Overrides:
endDocument
in classContentHandlerProxy
- Throws:
SAXException
-
startElement
public void startElement(String uri, String loc, String raw, Attributes a) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classContentHandlerProxy
- Throws:
SAXException
-
endElement
public void endElement(String uri, String loc, String raw) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classContentHandlerProxy
- Throws:
SAXException
-
-