|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.s9api.WhitespaceStrippingPolicy
public class WhitespaceStrippingPolicy
WhitespaceStrippingPolicy is class defining the possible policies for handling whitespace text nodes in a source document.
| Field Summary | |
|---|---|
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. |
| Constructor Summary | |
|---|---|
protected |
WhitespaceStrippingPolicy(Executable executable)
Create a WhitespaceStrippingPolicy based on the xsl:strip-space and xsl:preserve-space declarations in a given XSLT stylesheet |
| Method Summary | |
|---|---|
protected FilterFactory |
makeStripper()
|
protected int |
ordinal()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final WhitespaceStrippingPolicy NONE
public static final WhitespaceStrippingPolicy IGNORABLE
public static final WhitespaceStrippingPolicy ALL
public static final WhitespaceStrippingPolicy UNSPECIFIED
| Constructor Detail |
|---|
protected WhitespaceStrippingPolicy(Executable executable)
executable - the stylesheet containing the xsl:strip-space and xsl:preserve-space declarations| Method Detail |
|---|
protected int ordinal()
protected FilterFactory makeStripper()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||