Package org.frankframework.align
Class NamespaceAligningFilter
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.frankframework.align.NamespaceAligningFilter
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
,XMLFilter
,XMLReader
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createPrefix
(org.frankframework.align.NamespaceAligningFilter.ElementInfo elementInfo) void
endElement
(String uri, String localName, String qName) void
endPrefixMapping
(String prefix) protected String
findNamespaceOfChildElement
(org.apache.xerces.xs.XSParticle particle, String localName) protected String
findPrefix
(String uri) void
startElement
(String namespaceUri, String localName, String qName, Attributes attributes) void
startPrefixMapping
(String prefix, String uri) Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, unparsedEntityDecl, warning
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
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
NamespaceAligningFilter
-
-
Method Details
-
findNamespaceOfChildElement
protected String findNamespaceOfChildElement(org.apache.xerces.xs.XSParticle particle, String localName) throws SAXException - Throws:
SAXException
-
startElement
public void startElement(String namespaceUri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classXMLFilterImpl
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classXMLFilterImpl
- Throws:
SAXException
-
findPrefix
-
createPrefix
protected void createPrefix(org.frankframework.align.NamespaceAligningFilter.ElementInfo elementInfo) throws SAXException - Throws:
SAXException
-
startPrefixMapping
- Specified by:
startPrefixMapping
in interfaceContentHandler
- Overrides:
startPrefixMapping
in classXMLFilterImpl
- Throws:
SAXException
-
endPrefixMapping
- Specified by:
endPrefixMapping
in interfaceContentHandler
- Overrides:
endPrefixMapping
in classXMLFilterImpl
- Throws:
SAXException
-