ALWAYS_PRESERVE, ALWAYS_STRIP, CANNOT_STRIP, PRESERVE_PARENT, STRIP_DEFAULTnextReceiverpipelineConfiguration, previousAtomic, systemId| Constructor and Description |
|---|
AllElementStripper() |
| Modifier and Type | Method and 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.
|
attribute, characters, endElement, getStripAll, open, setPipelineConfiguration, setStripAll, setXPathContext, startElementappend, close, comment, endDocument, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocumentgetPipelineConfiguration, getSystemIdpublic static AllElementStripper getInstance()
public Stripper getAnother()
StrippergetAnother in class Stripperpublic byte isSpacePreserving(int nameCode)
isSpacePreserving in class StrippernameCode - identifies the element being testedpublic byte isSpacePreserving(NodeInfo element)
isSpacePreserving in class Stripperelement - Identifies the element whose whitespace is possibly to
be preserved