nextReceiver
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
pipelineConfiguration, previousAtomic, systemId
ALWAYS_PRESERVE, ALWAYS_STRIP, CANNOT_STRIP, PRESERVE_PARENT, STRIP_DEFAULT
Constructor | Description |
---|---|
AllElementStripper() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, comment, endDocument, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument
append, getPipelineConfiguration, getSystemId
attribute, characters, endElement, getStripAll, open, setPipelineConfiguration, setStripAll, startElement
public static AllElementStripper getInstance()
public Stripper getAnother()
Stripper
getAnother
in class Stripper
public byte isSpacePreserving(int nameCode)
isSpacePreserving
in class Stripper
nameCode
- identifies the element being testedpublic byte isSpacePreserving(NodeInfo element)
isSpacePreserving
in class Stripper
element
- Identifies the element whose whitespace is possibly to
be preserved