| org.apache.xml.dtm.DTMWSFilter
All known Subclasses: org.apache.xalan.xsltc.dom.DOMWSFilter, org.apache.xalan.transformer.TransformerImpl,
DTMWSFilter | public interface DTMWSFilter (Code) | | This interface is meant to be implemented by a client of the DTM, and allows
stripping of whitespace nodes.
|
Field Summary | |
final public static short | INHERIT Inherit whitespace stripping behavior of the parent node. | final public static short | NOTSTRIP Do not strip whitespace child nodes of this element. | final public static short | STRIP Strip whitespace child nodes of this element. |
Method Summary | |
public short | getShouldStripSpace(int elementHandle, DTM dtm) Test whether whitespace-only text nodes are visible in the logical
view of DTM . |
INHERIT | final public static short INHERIT(Code) | | Inherit whitespace stripping behavior of the parent node.
|
NOTSTRIP | final public static short NOTSTRIP(Code) | | Do not strip whitespace child nodes of this element.
|
STRIP | final public static short STRIP(Code) | | Strip whitespace child nodes of this element.
|
getShouldStripSpace | public short getShouldStripSpace(int elementHandle, DTM dtm)(Code) | | 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.
Parameters: elementHandle - int Handle of the element. one of NOTSTRIP, STRIP, or INHERIT. |
|
|