Package org.apache.xalan.xsltc.dom
Class DOMWSFilter
java.lang.Object
org.apache.xalan.xsltc.dom.DOMWSFilter
- All Implemented Interfaces:
DTMWSFilter
A wrapper class that adapts the
DTMWSFilter interface to the XSLTC
DOM StripFilter interface.-
Field Summary
Fields inherited from interface org.apache.xml.dtm.DTMWSFilter
INHERIT, NOTSTRIP, STRIP -
Constructor Summary
ConstructorsConstructorDescriptionDOMWSFilter(AbstractTranslet translet) Construct an adapter connecting theDTMWSFilterinterface to theStripFilterinterface. -
Method Summary
Modifier and TypeMethodDescriptionshortgetShouldStripSpace(int node, DTM dtm) Test whether whitespace-only text nodes are visible in the logical view ofDTM.
-
Constructor Details
-
DOMWSFilter
Construct an adapter connecting theDTMWSFilterinterface to theStripFilterinterface.- Parameters:
translet- A translet that also implements the StripFilter interface.- See Also:
-
-
Method Details
-
getShouldStripSpace
Test whether whitespace-only text nodes are visible in the logical view ofDTM. Normally, this function will be called by the implementation ofDTM; it is not normally called directly from user code.- Specified by:
getShouldStripSpacein interfaceDTMWSFilter- Parameters:
node- int handle of the node.dtm- the DTM that owns this node- Returns:
- one of
NOTSTRIP,STRIPorINHERIT.
-