BEA Systems, Inc.

WebLogic Server 6.0sp2 API Reference

weblogic.apache.xalan.xslt
Class ElemVariable

java.lang.Object
  |
  +--weblogic.apache.xalan.xslt.UnImplNode
        |
        +--weblogic.apache.xalan.xslt.ElemTemplateElement
              |
              +--weblogic.apache.xalan.xslt.ElemVariable
Direct Known Subclasses:
ElemParam

public class ElemVariable
extends ElemTemplateElement

Implement xsl:variable.

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.

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
See Also:
Serialized Form

Field Summary
 boolean m_isTopLevel
           
 QName m_qname
           
 XPath m_selectPattern
           
 
Fields inherited from class weblogic.apache.xalan.xslt.ElemTemplateElement
m_columnNumber, m_defaultSpace, m_elemName, m_excludedNamespaces, m_finishedConstruction, m_firstChild, m_lineNumber, m_namespaces, m_parentNode, m_stylesheet
 
Constructor Summary
ElemVariable(ElemVariable param)
          Copy constructor.
ElemVariable(XSLTEngineImpl processor, Stylesheet stylesheetTree, java.lang.String name, org.xml.sax.AttributeList atts, int lineNumber, int columnNumber)
           
 
Method Summary
 void execute(XSLTEngineImpl processor, org.w3c.dom.Node sourceTree, org.w3c.dom.Node sourceNode, QName mode)
           
 XObject getValue(XSLTEngineImpl processor, org.w3c.dom.Node sourceTree, org.w3c.dom.Node sourceNode)
          Get the XObject representation of the variable.
 int getXSLToken()
           
 
Methods inherited from class weblogic.apache.xalan.xslt.ElemTemplateElement
appendChild, childrenToString, error, executeChildren, getBaseIdentifier, getChildNodes, getFirstChild, getLastChild, getLength, getNamespaceForPrefix, getNamespaceForPrefix, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParentNode, getTagName, hasChildNodes, isSpace, isWhiteSpace, item, processLocatedNode, processPrefixControl, shouldExcludeResultNamespaceNode, transformSelectedChildren
 
Methods inherited from class weblogic.apache.xalan.xslt.UnImplNode
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagName, getElementsByTagNameNS, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getPreviousSibling, hasAttribute, hasAttributeNS, hasAttributes, insertBefore, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setNodeValue, setPrefix, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_selectPattern

public XPath m_selectPattern

m_qname

public QName m_qname

m_isTopLevel

public boolean m_isTopLevel
Constructor Detail

ElemVariable

public ElemVariable(ElemVariable param)
             throws org.xml.sax.SAXException
Copy constructor.

ElemVariable

public ElemVariable(XSLTEngineImpl processor,
                    Stylesheet stylesheetTree,
                    java.lang.String name,
                    org.xml.sax.AttributeList atts,
                    int lineNumber,
                    int columnNumber)
             throws org.xml.sax.SAXException
Method Detail

getXSLToken

public int getXSLToken()

Overrides:
getXSLToken in class ElemTemplateElement

execute

public void execute(XSLTEngineImpl processor,
                    org.w3c.dom.Node sourceTree,
                    org.w3c.dom.Node sourceNode,
                    QName mode)
             throws XSLProcessorException,
                    java.net.MalformedURLException,
                    java.io.FileNotFoundException,
                    java.io.IOException,
                    org.xml.sax.SAXException

Overrides:
execute in class ElemTemplateElement

getValue

public XObject getValue(XSLTEngineImpl processor,
                        org.w3c.dom.Node sourceTree,
                        org.w3c.dom.Node sourceNode)
                 throws XSLProcessorException,
                        java.net.MalformedURLException,
                        java.io.FileNotFoundException,
                        java.io.IOException,
                        org.xml.sax.SAXException
Get the XObject representation of the variable.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs60