|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.event.SequenceReceiver
net.sf.saxon.event.ProxyReceiver
net.sf.saxon.event.Stripper
net.sf.saxon.om.AllElementStripper
public class AllElementStripper
The AllElementStripper refines the Stripper class to do stripping of all whitespace nodes in a document
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.event.Stripper |
|---|
ALWAYS_PRESERVE, ALWAYS_STRIP, CANNOT_STRIP, PRESERVE_PARENT, STRIP_DEFAULT |
| Fields inherited from class net.sf.saxon.event.ProxyReceiver |
|---|
nextReceiver |
| Fields inherited from class net.sf.saxon.event.SequenceReceiver |
|---|
pipelineConfiguration, previousAtomic, systemId |
| Fields inherited from interface javax.xml.transform.Result |
|---|
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
| Constructor Summary | |
|---|---|
AllElementStripper()
|
|
| Method Summary | |
|---|---|
Stripper |
getAnother()
Get a clean copy of this stripper |
static AllElementStripper |
getInstance()
|
byte |
isSpacePreserving(int nameCode)
Decide whether an element is in the set of white-space preserving element types |
byte |
isSpacePreserving(NodeInfo element)
Decide whether an element is in the set of white-space preserving element types. |
| Methods inherited from class net.sf.saxon.event.Stripper |
|---|
attribute, characters, endElement, getStripAll, open, setPipelineConfiguration, setStripAll, setXPathContext, startElement |
| Methods inherited from class net.sf.saxon.event.ProxyReceiver |
|---|
append, close, comment, endDocument, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument |
| Methods inherited from class net.sf.saxon.event.SequenceReceiver |
|---|
getPipelineConfiguration, getSystemId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AllElementStripper()
| Method Detail |
|---|
public static AllElementStripper getInstance()
public Stripper getAnother()
Stripper
getAnother in class Stripperpublic byte isSpacePreserving(int nameCode)
isSpacePreserving in class StrippernameCode - identifies the element being tested
public byte isSpacePreserving(NodeInfo element)
isSpacePreserving in class Stripperelement - Identifies the element whose whitespace is possibly to
be preserved
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||