Package aQute.libg.sax.filters
Class MergeContentFilter
java.lang.Object
aQute.libg.sax.ContentFilterImpl
aQute.libg.sax.filters.MergeContentFilter
- All Implemented Interfaces:
ContentFilter
,ContentHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
endElement
(String uri, String localName, String qName) void
processingInstruction
(String target, String data) void
startElement
(String uri, String localName, String qName, Attributes atts) Methods inherited from class aQute.libg.sax.ContentFilterImpl
characters, endDocument, endPrefixMapping, getParent, ignorableWhitespace, setDocumentLocator, setParent, skippedEntity, startDocument, 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
-
Field Details
-
elementDepth
private int elementDepth -
rootElements
-
-
Constructor Details
-
MergeContentFilter
public MergeContentFilter()
-
-
Method Details
-
startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classContentFilterImpl
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classContentFilterImpl
- Throws:
SAXException
-
processingInstruction
- Specified by:
processingInstruction
in interfaceContentHandler
- Overrides:
processingInstruction
in classContentFilterImpl
- Throws:
SAXException
-
closeRootAndDocument
- Throws:
SAXException
-
getRootElements
-