FileDocCategorySizeDatePackage
DTMWSFilter.javaAPI DocJava SE 5 API1666Fri Aug 26 14:56:00 BST 2005com.sun.org.apache.xml.internal.dtm

DTMWSFilter

public interface DTMWSFilter
This interface is meant to be implemented by a client of the DTM, and allows stripping of whitespace nodes.

Fields Summary
public static final short
NOTSTRIP
Do not strip whitespace child nodes of this element.
public static final short
STRIP
Strip whitespace child nodes of this element.
public static final short
INHERIT
Inherit whitespace stripping behavior of the parent node.
Constructors Summary
Methods Summary
public shortgetShouldStripSpace(int elementHandle, com.sun.org.apache.xml.internal.dtm.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.

param
elementHandle int Handle of the element.
return
one of NOTSTRIP, STRIP, or INHERIT.