FileDocCategorySizeDatePackage
WhitespaceStrippingElementMatcher.javaAPI DocJava SE 6 API1788Tue Jun 10 00:23:12 BST 2008com.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