Top Description Methods
com.sun.org.apache.xpath.internal

public Interface WhitespaceStrippingElementMatcher

Imports
javax.xml.transform.TransformerException, org.w3c.dom.Element

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

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the whitespace can be stripped.
canStripWhiteSpace
()

Get information about whether or not whitespace can be stripped.

public boolean

Returns:

true if the whitespace should be stripped.
shouldStripWhiteSpace
(XPathContext
The XPath runtime state.
support
,
Element
Element to check
targetElement
)

Get information about whether or not an element should strip whitespace.

Method Detail

canStripWhiteSpaceback to summary
public boolean canStripWhiteSpace()

Get information about whether or not whitespace can be stripped.

Returns:boolean

true if the whitespace can be stripped.

See Also
strip in XSLT Specification
shouldStripWhiteSpaceback to summary
public boolean shouldStripWhiteSpace(XPathContext support, Element targetElement) throws TransformerException

Get information about whether or not an element should strip whitespace.

Parameters
support:XPathContext

The XPath runtime state.

targetElement:Element

Element to check

Returns:boolean

true if the whitespace should be stripped.

See Also
strip in XSLT Specification