public class NoElementsSpaceStrippingRule extends Object implements SpaceStrippingRule
Constructor and Description |
---|
NoElementsSpaceStrippingRule() |
Modifier and Type | Method and Description |
---|---|
void |
export(ExpressionPresenter presenter)
Export this rule as part of an exported stylesheet
|
static NoElementsSpaceStrippingRule |
getInstance() |
byte |
isSpacePreserving(NodeName fingerprint)
Decide whether an element is in the set of white-space preserving element types
|
public static NoElementsSpaceStrippingRule getInstance()
public byte isSpacePreserving(NodeName fingerprint)
isSpacePreserving
in interface SpaceStrippingRule
fingerprint
- identifies the element being testedpublic void export(ExpressionPresenter presenter)
export
in interface SpaceStrippingRule
presenter
- the output handlerCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.