|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.icl.saxon.output.Emitter com.icl.saxon.output.ProxyEmitter com.icl.saxon.om.Stripper com.icl.saxon.StylesheetStripper
The StylesheetStripper refines the Stripper class to do stripping of whitespace nodes on a stylesheet. This is handled specially (a) because it is done at compile time, so there is no Controller or Context available, and (b) because the rules are very simple
Field Summary |
Fields inherited from class com.icl.saxon.output.ProxyEmitter |
baseEmitter, outputProperties |
Fields inherited from class com.icl.saxon.output.Emitter |
locator, outputStream, systemId, writer |
Fields inherited from interface javax.xml.transform.Result |
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
Constructor Summary | |
StylesheetStripper()
|
Method Summary | |
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 |
Methods inherited from class com.icl.saxon.om.Stripper |
characters, endElement, getPreserveAll, getStripAll, setController, setPreserveAll, setStripAll, startDocument, startElement |
Methods inherited from class com.icl.saxon.output.ProxyEmitter |
comment, endDocument, processingInstruction, setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setUnderlyingEmitter, setUnparsedEntity, setWriter |
Methods inherited from class com.icl.saxon.output.Emitter |
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setOutputStream, setSystemId, usesWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StylesheetStripper()
Method Detail |
public void setStylesheetRules(NamePool namePool)
public boolean isSpacePreserving(int nameCode)
isSpacePreserving
in class Stripper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |