org.apache.xalan.templates
Class XUnresolvedVariableSimple
java.lang.Object
org.apache.xpath.Expression
org.apache.xpath.objects.XObject
org.apache.xalan.templates.XUnresolvedVariableSimple
- All Implemented Interfaces:
- Cloneable, ExpressionNode, Serializable, javax.xml.transform.SourceLocator, XPathVisitable
- public class XUnresolvedVariableSimple
- extends XObject
This is the same as XUnresolvedVariable, but it assumes that the
context is already set up. For use with psuedo variables.
Also, it holds an Expression object, instead of an ElemVariable.
It must only hold static context, since a single copy will be
held in the template.
- See Also:
- Serialized Form
Fields inherited from class org.apache.xpath.Expression |
|
Methods inherited from class org.apache.xpath.objects.XObject |
allowDetachToRelease, appendToFsb, bool, boolWithSideEffects, callVisitors, castToType, create, create, deepEquals, destruct, detach, dispatchCharactersEvents, equals, error, error, fixupVariables, getFresh, greaterThan, greaterThanOrEqual, iter, lessThan, lessThanOrEqual, mutableNodeset, nodelist, nodeset, notEquals, num, numWithSideEffects, object, reset, rtf, rtf, rtree, rtree, str, toString, xstr |
Methods inherited from class org.apache.xpath.Expression |
asIterator, asIteratorRaw, asNode, assertion, bool, canTraverseOutsideSubtree, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, num, warn, xstr |
XUnresolvedVariableSimple
public XUnresolvedVariableSimple(ElemVariable obj)
execute
public XObject execute(XPathContext xctxt)
throws javax.xml.transform.TransformerException
- For support of literal objects in xpaths.
- Overrides:
execute
in class XObject
- Parameters:
xctxt
- The XPath execution context.
- Returns:
- This object.
- Throws:
javax.xml.transform.TransformerException
getType
public int getType()
- Tell what kind of class this is.
- Overrides:
getType
in class XObject
- Returns:
- CLASS_UNRESOLVEDVARIABLE
getTypeString
public String getTypeString()
- Given a request type, return the equivalent string.
For diagnostic purposes.
- Overrides:
getTypeString
in class XObject
- Returns:
- An informational string.