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.
|
void |
setStylesheetRules(NamePool namePool) |
Set the rules appropriate for whitespace-stripping in a stylesheet
|
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 Stripper getAnother()
Stripper
getAnother
in class Stripper
public void setStylesheetRules(NamePool namePool)
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