Package eu.bandm.tools.xslt.base
Class WsFilter
java.lang.Object
eu.bandm.tools.util.xml.ContentProxy
eu.bandm.tools.xslt.base.WsFilter
- All Implemented Interfaces:
ContentHandler
Skips all whitespace-only textnodes in xslt elements (except xsl:text).
Does not alter result type elements (FIXME!) -- dtd required
Does not keep track of "space" and "xml:space" attributes (FIXME)
-
Field Summary
Fields inherited from class eu.bandm.tools.util.xml.ContentProxy
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int len) void
endElement
(String uri, String localName, String qName) void
startElement
(String uri, String localName, String qName, Attributes attrs) Methods inherited from class eu.bandm.tools.util.xml.ContentProxy
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, 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
-
Constructor Details
-
WsFilter
Only constructor.- Parameters:
out
- target to which the sax events will be propagated.
-
-
Method Details
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classContentProxy
- Throws:
SAXException
-
characters
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classContentProxy
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classContentProxy
- Throws:
SAXException
-