net.sf.saxon.style
public class StylesheetStripper extends Stripper
Method Summary | |
---|---|
void | characters(CharSequence chars, int locationId, int properties)
Handle a text node |
Stripper | getAnother() |
byte | isSpacePreserving(int nameCode)
Decide whether an element is in the set of white-space preserving element types |
byte | isSpacePreserving(NodeInfo element)
Decide whether an element is in the set of white-space preserving element types.
|
void | setStylesheetRules(NamePool namePool)
Set the rules appropriate for whitespace-stripping in a stylesheet |
Parameters: nameCode identifies the element being tested
Parameters: element Identifies the element whose whitespace is possibly to be preserved
Returns: true if the element is in the set of white-space preserving element types