org.apache.xalan.xsltc.dom
Class DOMWSFilter
java.lang.Objectorg.apache.xalan.xsltc.dom.DOMWSFilter
- DTMWSFilter
public class DOMWSFilter
extends java.lang.Object
short | getShouldStripSpace(int node, DTM dtm)- Test whether whitespace-only text nodes are visible in the logical
view of
DTM.
|
DOMWSFilter
public DOMWSFilter(AbstractTranslet translet)
Construct an adapter connecting the DTMWSFilter interface
to the StripFilter interface.
translet - A translet that also implements the StripFilter
interface.
getShouldStripSpace
public short getShouldStripSpace(int node,
DTM dtm) Test whether whitespace-only text nodes are visible in the logical
view of DTM. Normally, this function
will be called by the implementation of DTM;
it is not normally called directly from
user code.
- getShouldStripSpace in interface DTMWSFilter
node - int handle of the node.dtm - the DTM that owns this node
- one of
NOTSTRIP, STRIP or
INHERIT.
Copyright B) 2005 Apache XML Project. All Rights Reserved.