Package org.frankframework.util
Class CompactSaxHandler
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.frankframework.xml.FullXmlFilter
org.frankframework.util.CompactSaxHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
,LexicalHandler
,XMLFilter
,XMLReader
SAX2 event handler to compact XML messages.
- Author:
- Peter Leeuwenburgh
-
Field Summary
Fields inherited from class org.frankframework.xml.FullXmlFilter
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) void
endCDATA()
void
endElement
(String uri, String localName, String qName) void
endPrefixMapping
(String prefix) int
boolean
void
setChompCharSize
(String input) void
setChompLength
(int chompLength) void
setContext
(Map<String, Object> context) void
setElementToMove
(String elementToMove) void
setElementToMoveChain
(String elementToMoveChain) void
setElementToMoveSessionKey
(String elementToMoveSessionKey) void
setRemoveCompactMsgNamespaces
(boolean removeCompactMsgNamespaces) void
void
startElement
(String uri, String localName, String qName, Attributes attributes) void
startPrefixMapping
(String prefix, String uri) Methods inherited from class org.frankframework.xml.FullXmlFilter
comment, endDTD, endEntity, setContentHandler, setLexicalHandler, setParent, setParentsLexicalHandler, startDTD, startEntity
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
endDocument, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, 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
-
Constructor Details
-
CompactSaxHandler
-
-
Method Details
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classXMLFilterImpl
- 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
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classXMLFilterImpl
- Throws:
SAXException
-
startCDATA
- Specified by:
startCDATA
in interfaceLexicalHandler
- Overrides:
startCDATA
in classFullXmlFilter
- Throws:
SAXException
-
endCDATA
- Specified by:
endCDATA
in interfaceLexicalHandler
- Overrides:
endCDATA
in classFullXmlFilter
- Throws:
SAXException
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classXMLFilterImpl
-
setChompCharSize
-
getChompLength
public int getChompLength() -
setChompLength
public void setChompLength(int chompLength) -
getElementToMove
-
setElementToMove
-
getElementToMoveSessionKey
-
setElementToMoveSessionKey
-
getElementToMoveChain
-
setElementToMoveChain
-
isRemoveCompactMsgNamespaces
public boolean isRemoveCompactMsgNamespaces() -
setRemoveCompactMsgNamespaces
public void setRemoveCompactMsgNamespaces(boolean removeCompactMsgNamespaces) -
setContext
-