public class WhitespaceStrippingPolicy
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static WhitespaceStrippingPolicy |
ALL |
The value ALL indicates that all whitespace-only text nodes are discarded.
|
static WhitespaceStrippingPolicy |
IGNORABLE |
The value IGNORABLE indicates that whitespace text nodes in element-only content are
discarded.
|
static WhitespaceStrippingPolicy |
NONE |
The value NONE indicates that all whitespace text nodes are retained
|
static WhitespaceStrippingPolicy |
UNSPECIFIED |
UNSPECIFIED means that no other value has been specifically requested.
|
Modifier | Constructor | Description |
---|---|---|
protected |
WhitespaceStrippingPolicy(Executable executable) |
Create a WhitespaceStrippingPolicy based on the xsl:strip-space and xsl:preserve-space declarations
in a given XSLT stylesheet
|
Modifier and Type | Method | Description |
---|---|---|
protected FilterFactory |
makeStripper() |
|
protected int |
ordinal() |
public static final WhitespaceStrippingPolicy NONE
public static final WhitespaceStrippingPolicy IGNORABLE
public static final WhitespaceStrippingPolicy ALL
public static final WhitespaceStrippingPolicy UNSPECIFIED
protected WhitespaceStrippingPolicy(Executable executable)
executable
- the stylesheet containing the xsl:strip-space and xsl:preserve-space declarationsprotected int ordinal()
protected FilterFactory makeStripper()