Class XUnresolvedVariableSimple

java.lang.Object
org.apache.xpath.Expression
org.apache.xpath.objects.XObject
org.apache.xalan.templates.XUnresolvedVariableSimple
All Implemented Interfaces:
Serializable, Cloneable, SourceLocator, ExpressionNode, 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:
  • Constructor Details

    • XUnresolvedVariableSimple

      public XUnresolvedVariableSimple(ElemVariable obj)
  • Method Details

    • execute

      public XObject execute(XPathContext xctxt) throws TransformerException
      For support of literal objects in xpaths.
      Overrides:
      execute in class XObject
      Parameters:
      xctxt - The XPath execution context.
      Returns:
      This object.
      Throws:
      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.