Uses of Class
org.apache.xpath.objects.XObject

Packages that use XObject
org.apache.xpath Implementation of XPath; for the most part, only classes meant for public use are found at this root level of the XPath packages. 
org.apache.xpath.axes Implementation of XPath LocationPath support -- primary classes are LocPathIterator and UnionPathIterator. 
org.apache.xpath.domapi Implements DOM Level 3 XPath API 
org.apache.xpath.functions Implements XPath functions -- each function is derived from Function, FunctionOneArg, Function2Args, etc, with number-of-arguments checking being applied mainly at compile time -- this package only implements XPath functions, XSLT functions are found in the "templates" package. 
org.apache.xpath.jaxp   
org.apache.xpath.objects Implementation of XPath polymorphic type objects -- this package will grow as XPath objects are expanded to support XML Schema data types. 
org.apache.xpath.operations Support for XPath operations, such as +, -, string(), etc. 
org.apache.xpath.patterns Implementation of XPath nodeTest support, and XSLT pattern matching support. 
 

Uses of XObject in org.apache.xpath
 

Fields in org.apache.xpath declared as XObject
(package private)  XObject[] VariableStack._stackFrames
          The stack frame where all variables and params will be kept.
private static XObject[] VariableStack.m_nulls
          NEEDSDOC Field m_nulls
private  XObject Arg.m_val
          Field m_val: Stored XObject value of this argument
 

Methods in org.apache.xpath that return XObject
 XObject VariableStack.elementAt(int i)
          Get the element at the given index, regardless of stackframe.
static XObject XPathAPI.eval(org.w3c.dom.Node contextNode, java.lang.String str)
          Evaluate XPath string to an XObject.
 XObject CachedXPathAPI.eval(org.w3c.dom.Node contextNode, java.lang.String str)
          Evaluate XPath string to an XObject.
static XObject XPathAPI.eval(org.w3c.dom.Node contextNode, java.lang.String str, org.w3c.dom.Node namespaceNode)
          Evaluate XPath string to an XObject.
 XObject CachedXPathAPI.eval(org.w3c.dom.Node contextNode, java.lang.String str, org.w3c.dom.Node namespaceNode)
          Evaluate XPath string to an XObject.
static XObject XPathAPI.eval(org.w3c.dom.Node contextNode, java.lang.String str, PrefixResolver prefixResolver)
          Evaluate XPath string to an XObject.
 XObject CachedXPathAPI.eval(org.w3c.dom.Node contextNode, java.lang.String str, PrefixResolver prefixResolver)
          Evaluate XPath string to an XObject.
abstract  XObject Expression.execute(XPathContext xctxt)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject Expression.execute(XPathContext xctxt, boolean destructiveOK)
          Execute an expression in the XPath runtime context, and return the result of the expression, but tell that a "safe" object doesn't have to be returned.
 XObject Expression.execute(XPathContext xctxt, int currentNode)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject Expression.execute(XPathContext xctxt, int currentNode, DTM dtm, int expType)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject XPath.execute(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)
          Given an expression and a context, evaluate the XPath and return the result.
 XObject XPath.execute(XPathContext xctxt, org.w3c.dom.Node contextNode, PrefixResolver namespaceContext)
          Given an expression and a context, evaluate the XPath and return the result.
 XObject VariableStack.getGlobalVariable(XPathContext xctxt, int index)
          Get a global variable or parameter from the global stack frame.
 XObject VariableStack.getGlobalVariable(XPathContext xctxt, int index, boolean destructiveOK)
          Get a global variable or parameter from the global stack frame.
 XObject VariableStack.getLocalVariable(int index, int frame)
          Get a local variable or parameter in the current stack frame.
 XObject VariableStack.getLocalVariable(XPathContext xctxt, int index)
          Get a local variable or parameter in the current stack frame.
 XObject VariableStack.getLocalVariable(XPathContext xctxt, int index, boolean destructiveOK)
          Get a local variable or parameter in the current stack frame.
 XObject Arg.getVal()
          Get the value for this argument.
 XObject XPathContext.XPathExpressionContext.getVariableOrParam(QName qname)
          Get a variable based on it's qualified name.
 XObject VariableStack.getVariableOrParam(XPathContext xctxt, QName qname)
          Get a variable based on it's qualified name.
 

Methods in org.apache.xpath with parameters of type XObject
 void VariableStack.setGlobalVariable(int index, XObject val)
          Set a global variable or parameter in the global stack frame.
 void VariableStack.setLocalVariable(int index, XObject val)
          Set a local variable or parameter in the current stack frame.
 void VariableStack.setLocalVariable(int index, XObject val, int stackFrame)
          Set a local variable or parameter in the specified stack frame.
 void Arg.setVal(XObject val)
          Set the value of this argument.
 

Constructors in org.apache.xpath with parameters of type XObject
Arg(QName qname, XObject val)
          Construct a parameter argument which has an XObject value.
Arg(QName qname, XObject val, boolean isFromWithParam)
          Construct a parameter argument.
 

Uses of XObject in org.apache.xpath.axes
 

Subclasses of XObject in org.apache.xpath.axes
 class NodeSequence
          This class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.
 

Methods in org.apache.xpath.axes that return XObject
 XObject LocPathIterator.execute(XPathContext xctxt)
          Execute this iterator, meaning create a clone that can store state, and initialize it for fast execution from the current runtime state.
 

Uses of XObject in org.apache.xpath.domapi
 

Fields in org.apache.xpath.domapi declared as XObject
private  XObject XPathResultImpl.m_resultObj
          The wrapped XObject
 

Methods in org.apache.xpath.domapi with parameters of type XObject
private  short XPathResultImpl.getTypeFromXObject(XObject object)
          Given an XObject, determine the corresponding DOM XPath type
 

Constructors in org.apache.xpath.domapi with parameters of type XObject
XPathResultImpl(short type, XObject result, org.w3c.dom.Node contextNode, XPath xpath)
          Constructor for XPathResultImpl.
 

Uses of XObject in org.apache.xpath.functions
 

Methods in org.apache.xpath.functions that return XObject
 XObject FuncUnparsedEntityURI.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncTrue.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncTranslate.execute(XPathContext xctxt)
          Execute the function.
 XObject Function.execute(XPathContext xctxt)
          Execute an XPath function object.
 XObject FuncSystemProperty.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSum.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstringBefore.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstringAfter.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstring.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncStringLength.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncString.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncStartsWith.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncRound.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncQname.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncPosition.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNumber.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNot.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNormalizeSpace.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNamespace.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncLocalPart.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncLast.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncLang.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncId.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncGenerateId.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncFloor.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncFalse.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtFunctionAvailable.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtFunction.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtElementAvailable.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncDoclocation.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCurrent.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCount.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncContains.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncConcat.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCeiling.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncBoolean.execute(XPathContext xctxt)
          Execute the function.
 

Uses of XObject in org.apache.xpath.jaxp
 

Methods in org.apache.xpath.jaxp that return XObject
private  XObject XPathExpressionImpl.eval(java.lang.Object contextItem)
           
private  XObject XPathImpl.eval(java.lang.String expression, java.lang.Object contextItem)
           
 XObject JAXPVariableStack.getVariableOrParam(XPathContext xctxt, QName qname)
           
 

Methods in org.apache.xpath.jaxp with parameters of type XObject
private  java.lang.Object XPathImpl.getResultAsType(XObject resultObject, javax.xml.namespace.QName returnType)
           
private  java.lang.Object XPathExpressionImpl.getResultAsType(XObject resultObject, javax.xml.namespace.QName returnType)
           
 

Uses of XObject in org.apache.xpath.objects
 

Subclasses of XObject in org.apache.xpath.objects
 class XBoolean
          This class represents an XPath boolean object, and is capable of converting the boolean to other types, such as a string.
 class XBooleanStatic
          This class doesn't have any XPathContext, so override whatever to ensure it works OK.
 class XNodeSet
          This class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.
 class XNodeSetForDOM
          This class overrides the XNodeSet#object() method to provide the original Node object, NodeList object, or NodeIterator.
 class XNull
          This class represents an XPath null object, and is capable of converting the null to other types, such as a string.
 class XNumber
          This class represents an XPath number, and is capable of converting the number to other types, such as a string.
 class XRTreeFrag
          This class represents an XPath result tree fragment object, and is capable of converting the RTF to other types, such as a string.
 class XRTreeFragSelectWrapper
          This class makes an select statement act like an result tree fragment.
 class XString
          This class represents an XPath string object, and is capable of converting the string to other types, such as a number.
 class XStringForChars
          This class will wrap a FastStringBuffer and allow for
 class XStringForFSB
          This class will wrap a FastStringBuffer and allow for
 

Methods in org.apache.xpath.objects that return XObject
static XObject XObjectFactory.create(java.lang.Object val)
          Create the right XObject based on the type of the object passed.
static XObject XObject.create(java.lang.Object val)
          Create the right XObject based on the type of the object passed.
static XObject XObjectFactory.create(java.lang.Object val, XPathContext xctxt)
          Create the right XObject based on the type of the object passed.
static XObject XObject.create(java.lang.Object val, XPathContext xctxt)
          Create the right XObject based on the type of the object passed.
 XObject XRTreeFragSelectWrapper.execute(XPathContext xctxt)
          For support of literal objects in xpaths.
 XObject XObject.execute(XPathContext xctxt)
          For support of literal objects in xpaths.
 XObject XObject.getFresh()
          Get a fresh copy of the object.
 XObject XNodeSet.getFresh()
          Get a fresh copy of the object.
 

Methods in org.apache.xpath.objects with parameters of type XObject
 boolean XNodeSet.compare(XObject obj2, Comparator comparator)
          Tell if one object is less than the other.
 boolean XStringForFSB.equals(XObject obj2)
          Tell if two objects are functionally equal.
 boolean XString.equals(XObject obj2)
          Tell if two objects are functionally equal.
 boolean XRTreeFrag.equals(XObject obj2)
          Tell if two objects are functionally equal.
 boolean XObject.equals(XObject obj2)
          Tell if two objects are functionally equal.
 boolean XNumber.equals(XObject obj2)
          Tell if two objects are functionally equal.
 boolean XNull.equals(XObject obj2)
          Tell if two objects are functionally equal.
 boolean XNodeSet.equals(XObject obj2)
          Tell if two objects are functionally equal.
 boolean XBooleanStatic.equals(XObject obj2)
          Tell if two objects are functionally equal.
 boolean XBoolean.equals(XObject obj2)
          Tell if two objects are functionally equal.
 boolean XObject.greaterThan(XObject obj2)
          Tell if one object is greater than the other.
 boolean XNodeSet.greaterThan(XObject obj2)
          Tell if one object is less than the other.
 boolean XObject.greaterThanOrEqual(XObject obj2)
          Tell if one object is greater than or equal to the other.
 boolean XNodeSet.greaterThanOrEqual(XObject obj2)
          Tell if one object is less than the other.
 boolean XObject.lessThan(XObject obj2)
          Tell if one object is less than the other.
 boolean XNodeSet.lessThan(XObject obj2)
          Tell if one object is less than the other.
 boolean XObject.lessThanOrEqual(XObject obj2)
          Tell if one object is less than or equal to the other.
 boolean XNodeSet.lessThanOrEqual(XObject obj2)
          Tell if one object is less than or equal to the other.
 boolean XObject.notEquals(XObject obj2)
          Tell if two objects are functionally not equal.
 boolean XNodeSet.notEquals(XObject obj2)
          Tell if two objects are functionally not equal.
 

Uses of XObject in org.apache.xpath.operations
 

Methods in org.apache.xpath.operations that return XObject
 XObject Variable.execute(XPathContext xctxt)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject UnaryOperation.execute(XPathContext xctxt)
          Execute the operand and apply the unary operation to the result.
 XObject Or.execute(XPathContext xctxt)
          OR two expressions and return the boolean result.
 XObject Operation.execute(XPathContext xctxt)
          Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class.
 XObject And.execute(XPathContext xctxt)
          AND two expressions and return the boolean result.
 XObject VariableSafeAbsRef.execute(XPathContext xctxt, boolean destructiveOK)
          Dereference the variable, and return the reference value.
 XObject Variable.execute(XPathContext xctxt, boolean destructiveOK)
          Dereference the variable, and return the reference value.
abstract  XObject UnaryOperation.operate(XObject right)
          Apply the operation to two operands, and return the result.
 XObject String.operate(XObject right)
          Apply the operation to two operands, and return the result.
 XObject Number.operate(XObject right)
          Apply the operation to two operands, and return the result.
 XObject Neg.operate(XObject right)
          Apply the operation to two operands, and return the result.
 XObject Bool.operate(XObject right)
          Apply the operation to two operands, and return the result.
 XObject Quo.operate(XObject left, XObject right)
          Deprecated. Apply the operation to two operands, and return the result.
 XObject Plus.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Operation.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject NotEquals.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Mult.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Mod.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Minus.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Lte.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Lt.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Gte.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Gt.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Equals.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Div.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 

Methods in org.apache.xpath.operations with parameters of type XObject
abstract  XObject UnaryOperation.operate(XObject right)
          Apply the operation to two operands, and return the result.
 XObject String.operate(XObject right)
          Apply the operation to two operands, and return the result.
 XObject Number.operate(XObject right)
          Apply the operation to two operands, and return the result.
 XObject Neg.operate(XObject right)
          Apply the operation to two operands, and return the result.
 XObject Bool.operate(XObject right)
          Apply the operation to two operands, and return the result.
 XObject Quo.operate(XObject left, XObject right)
          Deprecated. Apply the operation to two operands, and return the result.
 XObject Plus.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Operation.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject NotEquals.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Mult.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Mod.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Minus.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Lte.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Lt.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Gte.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Gt.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Equals.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 XObject Div.operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 

Uses of XObject in org.apache.xpath.patterns
 

Methods in org.apache.xpath.patterns that return XObject
 XObject UnionPattern.execute(XPathContext xctxt)
          Test a node to see if it matches any of the patterns in the union.
 XObject StepPattern.execute(XPathContext xctxt)
          Execute this pattern step, including predicates.
 XObject NodeTest.execute(XPathContext xctxt)
          Test the current node to see if it matches the given node test.
 XObject FunctionPattern.execute(XPathContext xctxt)
          Test a node to see if it matches the given node test.
 XObject ContextMatchStepPattern.execute(XPathContext xctxt)
          Execute this pattern step, including predicates.
 XObject StepPattern.execute(XPathContext xctxt, int currentNode)
          Execute this pattern step, including predicates.
 XObject NodeTest.execute(XPathContext xctxt, int context)
          Tell what the test score is for the given node.
 XObject FunctionPattern.execute(XPathContext xctxt, int context)
          Test a node to see if it matches the given node test.
 XObject StepPattern.execute(XPathContext xctxt, int currentNode, DTM dtm, int expType)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject NodeTest.execute(XPathContext xctxt, int context, DTM dtm, int expType)
          Tell what the test score is for the given node.
 XObject FunctionPattern.execute(XPathContext xctxt, int context, DTM dtm, int expType)
          Test a node to see if it matches the given node test.
protected  XObject StepPattern.executeRelativePathPattern(XPathContext xctxt, DTM dtm, int currentNode)
          Execute the match pattern step relative to another step.
 XObject ContextMatchStepPattern.executeRelativePathPattern(XPathContext xctxt, StepPattern prevStep)
          Execute the match pattern step relative to another step.