|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.utils.UnImplNode org.apache.xalan.templates.ElemTemplateElement org.apache.xalan.templates.ElemTemplate org.apache.xalan.templates.WhiteSpaceInfo
This is used as a special "fake" template that can be handled by the TemplateList to do pattern matching on nodes.
Field Summary | |
private boolean |
m_shouldStripSpace
Flag indicating whether whitespaces should be stripped. |
Fields inherited from class org.apache.xalan.templates.ElemTemplate |
m_frameSize, m_inArgsSize |
Fields inherited from class org.apache.xalan.templates.ElemTemplateElement |
m_docOrderNumber, m_firstChild, m_hasVariableDecl, m_nextSibling, m_parentNode, m_prefixTable |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
WhiteSpaceInfo(Stylesheet thisSheet)
Constructor WhiteSpaceInfo |
|
WhiteSpaceInfo(XPath matchPattern,
boolean shouldStripSpace,
Stylesheet thisSheet)
Constructor WhiteSpaceInfo |
Method Summary | |
boolean |
getShouldStripSpace()
Return true if this element specifies that the node that matches the match pattern should be stripped, otherwise the space should be preserved. |
void |
recompose(StylesheetRoot root)
This function is called to recompose() all of the WhiteSpaceInfo elements. |
Methods inherited from class org.apache.xalan.templates.ElemTemplate |
compose, endCompose, execute, getMatch, getMode, getName, getNodeName, getPriority, getPublicId, getStylesheet, getStylesheetComposed, getStylesheetRoot, getSystemId, getXSLToken, setLocaterInfo, setMatch, setMode, setName, setPriority, setStylesheet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private boolean m_shouldStripSpace
Constructor Detail |
public WhiteSpaceInfo(Stylesheet thisSheet)
thisSheet
- The current stylesheetpublic WhiteSpaceInfo(XPath matchPattern, boolean shouldStripSpace, Stylesheet thisSheet)
matchPattern
- Match patternshouldStripSpace
- Flag indicating whether or not
to strip whitespacesthisSheet
- The current stylesheetMethod Detail |
public boolean getShouldStripSpace()
public void recompose(StylesheetRoot root)
recompose
in class ElemTemplate
root
- The root stylesheet for this transformation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |