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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int len) voidendElement(String uri, String localName, String qName) voidstartElement(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, startPrefixMappingMethods 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
-
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:
startElementin interfaceContentHandler- Overrides:
startElementin classContentProxy- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classContentProxy- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classContentProxy- Throws:
SAXException
-