Class XUnresolvedVariableSimple

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.xml.transform.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:
    Serialized Form
    • Constructor Detail

      • XUnresolvedVariableSimple

        public XUnresolvedVariableSimple​(ElemVariable obj)
    • Method Detail

      • 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 java.lang.String getTypeString()
        Given a request type, return the equivalent string. For diagnostic purposes.
        Overrides:
        getTypeString in class XObject
        Returns:
        An informational string.