|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpaceStrippingRule
Interface for deciding whether a particular element is to have whitespace text nodes stripped
Method Summary | |
---|---|
byte |
isSpacePreserving(NodeName nodeName)
Decide whether an element is in the set of white-space preserving element types |
Method Detail |
---|
byte isSpacePreserving(NodeName nodeName) throws XPathException
nodeName
- Identifies the name of the element whose whitespace is to
be preserved
Stripper.ALWAYS_PRESERVE
if the element is in the set of white-space preserving
element types, Stripper.ALWAYS_STRIP
if the element is to be stripped regardless of the
xml:space setting, and Stripper.STRIP_DEFAULT
otherwise
XPathException
- if the rules are ambiguous and ambiguities are to be
reported as errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |