weblogic.apache.xalan.templates
Class WhiteSpaceInfo
java.lang.Object
|
+--weblogic.apache.xml.utils.UnImplNode
|
+--weblogic.apache.xalan.templates.ElemTemplateElement
|
+--weblogic.apache.xalan.templates.ElemTemplate
|
+--weblogic.apache.xalan.templates.WhiteSpaceInfo
- public class WhiteSpaceInfo
- extends ElemTemplate
This is used as a special "fake" template that can be
handled by the TemplateList to do pattern matching
on nodes.
This class is based on an implementation from the Apache XML
Project. In future releases the XML parser, XSLT processor, and
associated classes will likely be updated to be based on a later
version of the Apache implementations. Since Apache does not guarantee
backwards compatibility between versions of their software, we cannot
guarantee backwards compatibility of any of the classes contained in
the weblogic.apache package or sub-packages.
- See Also:
- Serialized Form
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 weblogic.apache.xalan.templates.ElemTemplate |
execute,
getMatch,
getMode,
getName,
getNodeName,
getPriority,
getPublicId,
getStylesheet,
getStylesheetComposed,
getStylesheetRoot,
getSystemId,
getXSLToken,
setLocaterInfo,
setMatch,
setMode,
setName,
setPriority,
setStylesheet |
Methods inherited from class weblogic.apache.xalan.templates.ElemTemplateElement |
appendChild,
canStripWhiteSpace,
compareTo,
compose,
containsExcludeResultPrefix,
error,
error,
getBaseIdentifier,
getChildNodes,
getColumnNumber,
getDeclaredPrefixes,
getDOMBackPointer,
getFirstChild,
getFirstChildElem,
getLastChild,
getLength,
getLineNumber,
getNamespaceForPrefix,
getNamespaceForPrefix,
getNextSibling,
getNextSiblingElem,
getNodeType,
getOwnerDocument,
getParentElem,
getParentNode,
getPrefixes,
getPreviousSibling,
getTagName,
getUid,
getXmlSpace,
hasChildNodes,
isCompiledTemplate,
isValidNCName,
item,
removeChild,
replaceChild,
resolvePrefixTables,
runtimeInit,
setDOMBackPointer,
setPrefixes,
setPrefixes,
setUid,
setXmlSpace,
shouldStripWhiteSpace |
Methods inherited from class weblogic.apache.xml.utils.UnImplNode |
appendData,
cloneNode,
createAttribute,
createAttributeNS,
createCDATASection,
createComment,
createDocumentFragment,
createElement,
createElementNS,
createEntityReference,
createProcessingInstruction,
createTextNode,
deleteData,
error,
getAttribute,
getAttributeNode,
getAttributeNodeNS,
getAttributeNS,
getAttributes,
getDoctype,
getDocumentElement,
getElementById,
getElementsByTagName,
getElementsByTagNameNS,
getImplementation,
getLocalName,
getNamespaceURI,
getNodeValue,
getOwnerElement,
getPrefix,
getSpecified,
hasAttribute,
hasAttributeNS,
hasAttributes,
importNode,
insertBefore,
insertData,
isSupported,
normalize,
removeAttribute,
removeAttributeNode,
removeAttributeNS,
removeChild,
replaceData,
setAttribute,
setAttributeNode,
setAttributeNodeNS,
setAttributeNS,
setData,
setNodeValue,
setPrefix,
setValue,
splitText,
substringData |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
WhiteSpaceInfo
public WhiteSpaceInfo(XPath matchPattern,
boolean shouldStripSpace,
Stylesheet thisSheet)
- Constructor WhiteSpaceInfo
- Parameters:
matchPattern
- Match patternshouldStripSpace
- Flag indicating whether or not
to strip whitespacesthisSheet
- The current stylesheet
getShouldStripSpace
public 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.
- Returns:
- value of m_shouldStripSpace flag
recompose
public void recompose(StylesheetRoot root)
- This function is called to recompose() all of the WhiteSpaceInfo elements.
- Overrides:
- recompose in class ElemTemplate
WebLogic classes and methods that do not appear in this reference are not public and are not supported.