FileDocCategorySizeDatePackage
WhitespaceStrippingElementMatcher.javaAPI DocJava SE 5 API1781Fri Aug 26 14:56:06 BST 2005com.sun.org.apache.xpath.internal

WhitespaceStrippingElementMatcher

public interface WhitespaceStrippingElementMatcher
A class that implements this interface can tell if a given element should strip whitespace nodes from it's children.

Fields Summary
Constructors Summary
Methods Summary
public booleancanStripWhiteSpace()
Get information about whether or not whitespace can be stripped.

see
strip in XSLT Specification
return
true if the whitespace can be stripped.

public booleanshouldStripWhiteSpace(com.sun.org.apache.xpath.internal.XPathContext support, org.w3c.dom.Element targetElement)
Get information about whether or not an element should strip whitespace.

see
strip in XSLT Specification
param
support The XPath runtime state.
param
targetElement Element to check
return
true if the whitespace should be stripped.
throws
TransformerException