public class WhitespaceStrippingPolicy extends Object
Modifier and Type | Field and 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 and Description |
---|---|
protected |
WhitespaceStrippingPolicy(Executable executable)
Create a WhitespaceStrippingPolicy based on the xsl:strip-space and xsl:preserve-space declarations
in a given XSLT stylesheet
|
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()
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.