org.apache.xalan.templates

Class XUnresolvedVariableSimple

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.
Constructor Summary
XUnresolvedVariableSimple(ElemVariable obj)
Method Summary
XObjectexecute(XPathContext xctxt)
For support of literal objects in xpaths.
intgetType()
Tell what kind of class this is.
StringgetTypeString()
Given a request type, return the equivalent string.

Constructor Detail

XUnresolvedVariableSimple

public XUnresolvedVariableSimple(ElemVariable obj)

Method Detail

execute

public XObject execute(XPathContext xctxt)
For support of literal objects in xpaths.

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.

Returns: CLASS_UNRESOLVEDVARIABLE

getTypeString

public String getTypeString()
Given a request type, return the equivalent string. For diagnostic purposes.

Returns: An informational string.

Copyright B) 2005 Apache XML Project. All Rights Reserved.