Class SkipContainersFilter
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.frankframework.xml.FullXmlFilter
org.frankframework.configuration.filters.SkipContainersFilter
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,LexicalHandler,XMLFilter,XMLReader
This class omits XML elements from Frank configs that are meaningless containers.
The children of the omitted elements are kept. This class does its job by filtering SAX events.
-
Field Summary
Fields inherited from class org.frankframework.xml.FullXmlFilter
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String uri, String localName, String qName) protected booleanisContainer(String localName) voidstartElement(String uri, String localName, String qName, Attributes atts) Methods inherited from class org.frankframework.xml.FullXmlFilter
comment, endCDATA, endDTD, endEntity, setContentHandler, setParent, setParentsLexicalHandler, startCDATA, startDTD, startEntityMethods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods 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
-
SkipContainersFilter
public SkipContainersFilter() -
SkipContainersFilter
-
-
Method Details
-
isContainer
-
startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classXMLFilterImpl- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classXMLFilterImpl- Throws:
SAXException
-