public class StylesheetSpaceStrippingRule extends Object implements SpaceStrippingRule
Constructor and Description |
---|
StylesheetSpaceStrippingRule(NamePool pool) |
Modifier and Type | Method and Description |
---|---|
byte |
isSpacePreserving(NodeName elementName)
Decide whether an element is in the set of white-space preserving element types
|
public StylesheetSpaceStrippingRule(NamePool pool)
public byte isSpacePreserving(NodeName elementName)
isSpacePreserving
in interface SpaceStrippingRule
elementName
- identifies the element being testedStripper.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
otherwiseCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.