org.apache.xalan.xslt
Class ElemExtensionCall
java.lang.Object
|
+--org.apache.xalan.xslt.UnImplNode
|
+--org.apache.xalan.xslt.ElemTemplateElement
|
+--org.apache.xalan.xslt.ElemUse
|
+--org.apache.xalan.xslt.ElemLiteralResult
|
+--org.apache.xalan.xslt.ElemExtensionCall
- public class ElemExtensionCall
- extends ElemLiteralResult
Implement an extension element.
- See Also:
- Serialized Form
Method Summary |
boolean |
elementIsAvailable()
Tell if this extension element is available for execution. |
void |
execute(XSLTEngineImpl processor,
Node sourceTree,
Node sourceNode,
QName mode)
Execute a Literal Result Element. |
java.lang.String |
getAttribute(java.lang.String name)
Return the raw value of the attribute. |
java.lang.String |
getAttribute(java.lang.String name,
Node sourceNode,
XSLTEngineImpl processor)
Return the value of the attribute interpreted as an Attribute
Value Template (in other words, you can use curly expressions
such as href="http://{website}". |
AttributeList |
getAttributeList()
Return the Attributes |
int |
getXSLToken()
Get an integer representation of the element type. |
Methods inherited from class org.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 org.apache.xalan.xslt.UnImplNode |
cloneNode,
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 |
getXSLToken
public int getXSLToken()
- Description copied from class: ElemTemplateElement
- Get an integer representation of the element type.
- Overrides:
- getXSLToken in class ElemLiteralResult
- Tags copied from class: ElemTemplateElement
- Returns:
- An integer representation of the element, defined in the
Constants class.
- See Also:
Constants.java
elementIsAvailable
public boolean elementIsAvailable()
- Tell if this extension element is available for execution.
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: ElemLiteralResult
- Execute a Literal Result Element.
- Overrides:
- execute in class ElemLiteralResult
- 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 -
getAttributeList
public AttributeList getAttributeList()
- Return the Attributes
getAttribute
public java.lang.String getAttribute(java.lang.String name)
- Return the raw value of the attribute.
- Overrides:
- getAttribute in class UnImplNode
- Tags copied from interface: Element
- Parameters:
name
- The name of the attribute to retrieve.- Returns:
- The
Attr
value as a string, or the empty string if
that attribute does not have a specified or default value.
getAttribute
public java.lang.String getAttribute(java.lang.String name,
Node sourceNode,
XSLTEngineImpl processor)
throws SAXException
- Return the value of the attribute interpreted as an Attribute
Value Template (in other words, you can use curly expressions
such as href="http://{website}".