|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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.
Fields inherited from class org.apache.xalan.templates.ElemTemplate |
m_frameSize |
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 |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public WhiteSpaceInfo(Stylesheet thisSheet)
matchPattern
- Match patternshouldStripSpace
- Flag indicating whether or not
to strip whitespacesthisSheet
- 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |