public class StylesheetStripper extends Stripper
Modifier and Type | Field and Description |
---|---|
(package private) int |
xsl_text |
baseEmitter, outputProperties
locator, outputStream, systemId, writer
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
StylesheetStripper() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSpacePreserving(int nameCode)
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
|
characters, endElement, getPreserveAll, getStripAll, setController, setPreserveAll, setStripAll, startDocument, startElement
comment, endDocument, processingInstruction, setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setUnderlyingEmitter, setUnparsedEntity, setWriter
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setOutputStream, setSystemId, usesWriter
public void setStylesheetRules(NamePool namePool)
public boolean isSpacePreserving(int nameCode)
isSpacePreserving
in class Stripper
uri
- The namespace URI of the element namelocalname
- The local part of the element name