Enhydra 3.1 API

org.apache.xalan.xslt
Class ElemApplyTemplates

java.lang.Object
  |
  +--org.apache.xalan.xslt.UnImplNode
        |
        +--org.apache.xalan.xslt.ElemTemplateElement
              |
              +--org.apache.xalan.xslt.ElemForEach
                    |
                    +--org.apache.xalan.xslt.ElemApplyTemplates

public class ElemApplyTemplates
extends ElemForEach

Implement xsl:apply-templates.

See Also:
Serialized Form

Field Summary
 boolean m_isDefaultTemplate
           
 QName m_mode
           
 
Fields inherited from class org.apache.xalan.xslt.ElemForEach
m_doc_cache_off, m_selectPattern, m_sortElems
 
Fields inherited from class org.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
ElemApplyTemplates(XSLTEngineImpl processor, Stylesheet stylesheetTree, java.lang.String name, AttributeList atts, int lineNumber, int columnNumber)
           
 
Method Summary
 Node appendChild(Node newChild)
          Add a child to the child list.
 void execute(XSLTEngineImpl processor, Node sourceTree, Node sourceNode, QName mode)
          Execute the element's primary function.
 int getXSLToken()
          Get an integer representation of the element type.
 
Methods inherited from class org.apache.xalan.xslt.ElemTemplateElement
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 org.apache.xalan.xslt.UnImplNode
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagName, getElementsByTagNameNS, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getPreviousSibling, hasAttribute, hasAttributeNS, hasAttributes, insertBefore, isSupported, 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_mode

public QName m_mode

m_isDefaultTemplate

public boolean m_isDefaultTemplate
Constructor Detail

ElemApplyTemplates

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

getXSLToken

public int getXSLToken()
Description copied from class: ElemTemplateElement
Get an integer representation of the element type.
Overrides:
getXSLToken in class ElemForEach
Tags copied from class: ElemTemplateElement
Returns:
An integer representation of the element, defined in the Constants class.
See Also:
Constants.java

execute

public void execute(XSLTEngineImpl processor,
                    Node sourceTree,
                    Node sourceNode,
                    QName mode)
             throws XSLProcessorException,
                    java.net.MalformedURLException,
                    java.io.FileNotFoundException,
                    java.io.IOException,
                    SAXException
Description copied from class: ElemTemplateElement
Execute the element's primary function. Subclasses of this function may recursivly execute down the element tree.
Overrides:
execute in class ElemForEach
Tags copied from class: ElemTemplateElement
Parameters:
processor - The XSLT Processor.
sourceTree - The input source tree.
sourceNode - The current context node.
mode - The current mode.
Throws:
XSLProcessorException -  
java.net.MalformedURLException -  
java.io.FileNotFoundException -  
java.io.IOException -  
SAXException -  

appendChild

public Node appendChild(Node newChild)
                 throws DOMException
Add a child to the child list.
Overrides:
appendChild in class ElemTemplateElement
Tags copied from class: ElemTemplateElement
Parameters:
newChild -  
Throws:
DOMException -  

Enhydra 3.1 API