| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.utils.UnImplNode
org.apache.xalan.templates.ElemTemplateElement
org.apache.xalan.templates.ElemTemplate
org.apache.xalan.templates.WhiteSpaceInfo
public class 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_shouldStripSpaceFlag indicating whether whitespaces should be stripped. | 
| (package private) static long | serialVersionUID | 
| 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 | 
| Fields inherited from class org.apache.xml.utils.UnImplNode | 
|---|
| actualEncoding, fDocumentURI | 
| Fields inherited from interface org.w3c.dom.Node | 
|---|
| ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE | 
| Fields inherited from interface org.w3c.dom.Node | 
|---|
| ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE | 
| Fields inherited from interface org.w3c.dom.Node | 
|---|
| ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, 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 | 
|---|
static final long serialVersionUID
private boolean m_shouldStripSpace
| Constructor Detail | 
|---|
public WhiteSpaceInfo(Stylesheet thisSheet)
thisSheet - The current stylesheet
public WhiteSpaceInfo(XPath matchPattern,
                      boolean shouldStripSpace,
                      Stylesheet thisSheet)
matchPattern - Match patternshouldStripSpace - Flag indicating whether or not
 to strip whitespacesthisSheet - The current stylesheet| Method Detail | 
|---|
public boolean getShouldStripSpace()
public void recompose(StylesheetRoot root)
recompose in class ElemTemplateroot - The root stylesheet for this transformation.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||