org.apache.xalan.templates
Class ElemWhen

java.lang.Object
  |
  +--org.apache.xml.utils.UnImplNode
        |
        +--org.apache.xalan.templates.ElemTemplateElement
              |
              +--org.apache.xalan.templates.ElemWhen

public class ElemWhen
extends ElemTemplateElement

**For advanced use only** Implement xsl:when.

 
 
 

See Also:
XXX in XSLT Specification, Serialized Form

Constructor Summary
ElemWhen()
          Constructor ElemWhen
 
Method Summary
 java.lang.String getNodeName()
          Return the node name.
 XPath getTest()
          Get the "test" attribute.
 int getXSLToken()
          Get an integer representation of the element type.
 void setTest(XPath v)
          Set the "test" attribute.
 
Methods inherited from class org.apache.xalan.templates.ElemTemplateElement
appendChild, canStripWhiteSpace, compareTo, compose, containsExcludeResultPrefix, error, execute, getBaseIdentifier, getChildNodes, getColumnNumber, getDeclaredPrefixes, getDOMBackPointer, getFirstChild, getFirstChildElem, getLastChild, getLength, getLineNumber, getNamespaceForPrefix, getNamespaceForPrefix, getNextSibling, getNextSiblingElem, getNodeType, getOwnerDocument, getParentElem, getParentNode, getPrefixes, getPreviousSibling, getPublicId, getStylesheet, getStylesheetComposed, getStylesheetRoot, getSystemId, getTagName, getUid, getXmlSpace, hasChildNodes, isCompiledTemplate, item, recompose, removeChild, replaceChild, resolvePrefixTables, runtimeInit, setDOMBackPointer, setLocaterInfo, setPrefixes, setPrefixes, setUid, setXmlSpace, shouldStripWhiteSpace
 
Methods inherited from class org.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElemWhen

public ElemWhen()
Constructor ElemWhen
Method Detail

setTest

public void setTest(XPath v)
Set the "test" attribute. Each xsl:when element has a single attribute, test, which specifies an expression.
Parameters:
v - Value to set for the "test" attribute.

getTest

public XPath getTest()
Get the "test" attribute. Each xsl:when element has a single attribute, test, which specifies an expression.
Returns:
Value of the "test" attribute.

getXSLToken

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

getNodeName

public java.lang.String getNodeName()
Return the node name.
Returns:
The node name
Overrides:
getNodeName in class ElemTemplateElement


Copyright � 2000 Apache XML Project. All Rights Reserved.