public class IgnorableSpaceStrippingRule extends java.lang.Object implements SpaceStrippingRule
Constructor and Description |
---|
IgnorableSpaceStrippingRule() |
Modifier and Type | Method and Description |
---|---|
void |
export(ExpressionPresenter presenter)
Export this rule as part of an exported stylesheet
|
static IgnorableSpaceStrippingRule |
getInstance() |
int |
isSpacePreserving(NodeName name,
SchemaType schemaType)
Decide whether an element is in the set of white-space preserving element types
|
ProxyReceiver |
makeStripper(Receiver next)
Make a filter to implement these space-stripping rules, or null if no filtering
is necessary
|
public static IgnorableSpaceStrippingRule getInstance()
public int isSpacePreserving(NodeName name, SchemaType schemaType)
isSpacePreserving
in interface SpaceStrippingRule
name
- identifies the name of the element being testedschemaType
- the type annotation of the element being testedpublic ProxyReceiver makeStripper(Receiver next)
makeStripper
in interface SpaceStrippingRule
next
- the Receiver that is to receiver the filtered event streampublic void export(ExpressionPresenter presenter)
export
in interface SpaceStrippingRule
presenter
- the output handlerCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.