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

Packages that use XObject
Package | Description
--- | ---
org.apache.xalan.extensions | Implementation of Xalan Extension Mechanism.
org.apache.xalan.lib | Extension elements and functions shipped with Xalan-Java, including EXSLT functions.
org.apache.xalan.serialize |
org.apache.xalan.templates | Implements the `Templates` interface, and defines a set of classes that represent an XSLT stylesheet.
org.apache.xalan.trace | Implementation of Xalan Trace events, for use by a debugger.
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.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.xalan.extensions

Methods in org.apache.xalan.extensions that return XObject
Modifier and Type | Method and Description
--- | ---
`XObject` | ExpressionContext.`getVariableOrParam(QName qname)` Get a variable based on it's qualified name.

### Uses of XObject in org.apache.xalan.lib

Methods in org.apache.xalan.lib that return XObject
Modifier and Type | Method and Description
--- | ---
`static XObject` | Extensions.`evaluate(ExpressionContext myContext, java.lang.String xpathExpr)` Returns the result of evaluating the argument as a string containing an XPath expression.
`static XObject` | ExsltDynamic.`evaluate(ExpressionContext myContext, java.lang.String xpathExpr)` The dyn:evaluate function evaluates a string as an XPath expression and returns the resulting value, which might be a boolean, number, string, node set, result tree fragment or external object.
`static XObject` | ExsltDatetime.`leapYear(java.lang.String datetimeIn)` The date:leap-year function returns true if the year given in a date is a leap year.

### Uses of XObject in org.apache.xalan.serialize

Methods in org.apache.xalan.serialize with parameters of type XObject
Modifier and Type | Method and Description
--- | ---
`static void` | SerializerUtils.`outputResultTreeFragment(SerializationHandler handler, XObject obj, XPathContext support)` Given a result tree fragment, walk the tree and output it to the SerializationHandler.

### Uses of XObject in org.apache.xalan.templates

Subclasses of XObject in org.apache.xalan.templates
Modifier and Type | Class and Description
--- | ---
`class` | `XUnresolvedVariable` An instance of this class holds unto a variable until it is executed.
`class` | `XUnresolvedVariableSimple` This is the same as XUnresolvedVariable, but it assumes that the context is already set up.

Methods in org.apache.xalan.templates that return XObject
Modifier and Type | Method and Description
--- | ---
`XObject` | XUnresolvedVariableSimple.`execute(XPathContext xctxt)` For support of literal objects in xpaths.
`XObject` | XUnresolvedVariable.`execute(XPathContext xctxt)` For support of literal objects in xpaths.
`XObject` | FuncKey.`execute(XPathContext xctxt)` Execute the function.
`XObject` | FuncFormatNumb.`execute(XPathContext xctxt)` Execute the function.
`XObject` | FuncDocument.`execute(XPathContext xctxt)` Execute the function.
`XObject` | ElemWithParam.`getValue(TransformerImpl transformer, int sourceNode)` Get the XObject representation of the variable.
`XObject` | ElemVariable.`getValue(TransformerImpl transformer, int sourceNode)` Get the XObject representation of the variable.

Methods in org.apache.xalan.templates with parameters of type XObject
Modifier and Type | Method and Description
--- | ---
`void` | ElemExsltFunction.`execute(TransformerImpl transformer, XObject[] args)`

### Uses of XObject in org.apache.xalan.trace

Fields in org.apache.xalan.trace declared as XObject
Modifier and Type | Field and Description
--- | ---
`XObject` | SelectionEvent.`m_selection` The result of the selection.

Methods in org.apache.xalan.trace with parameters of type XObject
Modifier and Type | Method and Description
--- | ---
`void` | TraceManager.`fireSelectedEndEvent(int sourceNode, ElemTemplateElement styleNode, java.lang.String attributeName, XPath xpath, XObject selection)` Fire a selection event.
`void` | TraceManager.`fireSelectedEvent(int sourceNode, ElemTemplateElement styleNode, java.lang.String attributeName, XPath xpath, XObject selection)` Fire a selection event.

Constructors in org.apache.xalan.trace with parameters of type XObject
Constructor and Description
`EndSelectionEvent(TransformerImpl processor, Node sourceNode, ElemTemplateElement styleNode, java.lang.String attributeName, XPath xpath, XObject selection)` Create an EndSelectionEvent.
`SelectionEvent(TransformerImpl processor, Node sourceNode, ElemTemplateElement styleNode, java.lang.String attributeName, XPath xpath, XObject selection)` Create an event originating at the given node of the style tree.

### Uses of XObject in org.apache.xpath

Methods in org.apache.xpath that return XObject
Modifier and Type | Method and Description
--- | ---
`XObject` | VariableStack.`elementAt(int i)` Get the element at the given index, regardless of stackframe.
`static XObject` | XPathAPI.`eval(Node contextNode, java.lang.String str)` Evaluate XPath string to an XObject.
`XObject` | CachedXPathAPI.`eval(Node contextNode, java.lang.String str)` Evaluate XPath string to an XObject.
`static XObject` | XPathAPI.`eval(Node contextNode, java.lang.String str, Node namespaceNode)` Evaluate XPath string to an XObject.
`XObject` | CachedXPathAPI.`eval(Node contextNode, java.lang.String str, Node namespaceNode)` Evaluate XPath string to an XObject.
`static XObject` | XPathAPI.`eval(Node contextNode, java.lang.String str, PrefixResolver prefixResolver)` Evaluate XPath string to an XObject.
`XObject` | CachedXPathAPI.`eval(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, 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
Modifier and Type | Method and Description
--- | ---
`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
Constructor and Description
`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
Modifier and Type | Class and Description
--- | ---
`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
Modifier and Type | Method and Description
--- | ---
`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.functions

Methods in org.apache.xpath.functions that return XObject
Modifier and Type | Method and Description
--- | ---
`XObject` | Function.`execute(XPathContext xctxt)` Execute an XPath function object.
`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` | 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
Modifier and Type | Method and Description
--- | ---
`XObject` | JAXPVariableStack.`getVariableOrParam(XPathContext xctxt, QName qname)`

### Uses of XObject in org.apache.xpath.objects

Subclasses of XObject in org.apache.xpath.objects
Modifier and Type | Class and Description
--- | ---
`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
Modifier and Type | Method and Description
--- | ---
`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
Modifier and Type | Method and Description
--- | ---
`boolean` | XNodeSet.`compare(XObject obj2, org.apache.xpath.objects.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
Modifier and Type | Method and Description
--- | ---
`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
Modifier and Type | Method and Description
--- | ---
`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
Modifier and Type | Method and Description
--- | ---
`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.
`XObject` | ContextMatchStepPattern.`executeRelativePathPattern(XPathContext xctxt, StepPattern prevStep)` Execute the match pattern step relative to another step.