javax.xml.transform.Result
, Receiver
public class StylesheetStripper extends Stripper
nextReceiver
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
pipelineConfiguration, previousAtomic, systemId
ALWAYS_PRESERVE, ALWAYS_STRIP, CANNOT_STRIP, PRESERVE_PARENT, STRIP_DEFAULT
Constructor | Description |
---|---|
StylesheetStripper() |
Modifier and Type | Method | Description |
---|---|---|
Stripper |
getAnother() |
Get a clean copy of this stripper
|
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
append, close, comment, endDocument, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument
getPipelineConfiguration, getSystemId
attribute, characters, endElement, getStripAll, open, setPipelineConfiguration, setStripAll, setXPathContext, startElement
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) throws XPathException
isSpacePreserving
in class Stripper
element
- Identifies the element whose whitespace is possibly to
be preservedXPathException