Uses of Class
org.apache.xpath.objects.XObject
Packages that use XObject
Package
Description
Implementation of Xalan Extension Mechanism.
Extension elements and functions shipped with Xalan-Java, including EXSLT functions.
Implements the
Templates
interface,
and defines a set of classes that represent an XSLT stylesheet.Implementation of Xalan Trace events, for use by a debugger.
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
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.
Implementation of XPath polymorphic type objects -- this package will grow
as XPath objects are expanded to support XML Schema data types.
Support for XPath operations, such as +, -, string(), etc.
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 XObjectModifier and TypeMethodDescriptionExpressionContext.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 XObjectModifier and TypeMethodDescriptionstatic XObject
ExsltDynamic.evaluate
(ExpressionContext myContext, 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
Extensions.evaluate
(ExpressionContext myContext, String xpathExpr) Returns the result of evaluating the argument as a string containing an XPath expression.static XObject
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 XObjectModifier and TypeMethodDescriptionstatic 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.templatesModifier and TypeClassDescriptionclass
An instance of this class holds unto a variable until it is executed.class
This is the same as XUnresolvedVariable, but it assumes that the context is already set up.Methods in org.apache.xalan.templates that return XObjectModifier and TypeMethodDescriptionFuncDocument.execute
(XPathContext xctxt) Execute the function.FuncFormatNumb.execute
(XPathContext xctxt) Execute the function.FuncKey.execute
(XPathContext xctxt) Execute the function.XUnresolvedVariable.execute
(XPathContext xctxt) For support of literal objects in xpaths.XUnresolvedVariableSimple.execute
(XPathContext xctxt) For support of literal objects in xpaths.ElemVariable.getValue
(TransformerImpl transformer, int sourceNode) Get the XObject representation of the variable.ElemWithParam.getValue
(TransformerImpl transformer, int sourceNode) Get the XObject representation of the variable.Methods in org.apache.xalan.templates with parameters of type XObjectModifier and TypeMethodDescriptionvoid
ElemExsltFunction.execute
(TransformerImpl transformer, XObject[] args) -
Uses of XObject in org.apache.xalan.trace
Fields in org.apache.xalan.trace declared as XObjectModifier and TypeFieldDescriptionfinal XObject
SelectionEvent.m_selection
The result of the selection.Methods in org.apache.xalan.trace with parameters of type XObjectModifier and TypeMethodDescriptionvoid
TraceManager.fireSelectedEndEvent
(int sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection) Fire a selection event.void
TraceManager.fireSelectedEvent
(int sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection) Fire a selection event.Constructors in org.apache.xalan.trace with parameters of type XObjectModifierConstructorDescriptionEndSelectionEvent
(TransformerImpl processor, Node sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection) Create an EndSelectionEvent.SelectionEvent
(TransformerImpl processor, Node sourceNode, ElemTemplateElement styleNode, 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 XObjectModifier and TypeMethodDescriptionVariableStack.elementAt
(int i) Get the element at the given index, regardless of stackframe.Evaluate XPath string to an XObject.CachedXPathAPI.eval
(Node contextNode, String str, PrefixResolver prefixResolver) Evaluate XPath string to an XObject.Evaluate XPath string to an XObject.static XObject
Evaluate XPath string to an XObject.static XObject
XPathAPI.eval
(Node contextNode, String str, PrefixResolver prefixResolver) Evaluate XPath string to an XObject.static XObject
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.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.Expression.execute
(XPathContext xctxt, int currentNode) Execute an expression in the XPath runtime context, and return the result of the expression.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.XPath.execute
(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext) Given an expression and a context, evaluate the XPath and return the result.XPath.execute
(XPathContext xctxt, Node contextNode, PrefixResolver namespaceContext) Given an expression and a context, evaluate the XPath and return the result.VariableStack.getGlobalVariable
(XPathContext xctxt, int index) Get a global variable or parameter from the global stack frame.VariableStack.getGlobalVariable
(XPathContext xctxt, int index, boolean destructiveOK) Get a global variable or parameter from the global stack frame.VariableStack.getLocalVariable
(int index, int frame) Get a local variable or parameter in the current stack frame.VariableStack.getLocalVariable
(XPathContext xctxt, int index) Get a local variable or parameter in the current stack frame.VariableStack.getLocalVariable
(XPathContext xctxt, int index, boolean destructiveOK) Get a local variable or parameter in the current stack frame.final XObject
Arg.getVal()
Get the value for this argument.VariableStack.getVariableOrParam
(XPathContext xctxt, QName qname) Get a variable based on it's qualified name.final XObject
XPathContext.XPathExpressionContext.getVariableOrParam
(QName qname) Get a variable based on it's qualified name.Methods in org.apache.xpath with parameters of type XObjectModifier and TypeMethodDescriptionvoid
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.final void
Set the value of this argument.Constructors in org.apache.xpath with parameters of type XObject -
Uses of XObject in org.apache.xpath.axes
Subclasses of XObject in org.apache.xpath.axesModifier and TypeClassDescriptionclass
This class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.Methods in org.apache.xpath.axes that return XObjectModifier and TypeMethodDescriptionLocPathIterator.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 XObjectModifier and TypeMethodDescriptionFuncBoolean.execute
(XPathContext xctxt) Execute the function.FuncCeiling.execute
(XPathContext xctxt) Execute the function.FuncConcat.execute
(XPathContext xctxt) Execute the function.FuncContains.execute
(XPathContext xctxt) Execute the function.FuncCount.execute
(XPathContext xctxt) Execute the function.FuncCurrent.execute
(XPathContext xctxt) Execute the function.FuncDoclocation.execute
(XPathContext xctxt) Execute the function.FuncExtElementAvailable.execute
(XPathContext xctxt) Execute the function.FuncExtFunction.execute
(XPathContext xctxt) Execute the function.FuncExtFunctionAvailable.execute
(XPathContext xctxt) Execute the function.FuncFalse.execute
(XPathContext xctxt) Execute the function.FuncFloor.execute
(XPathContext xctxt) Execute the function.FuncGenerateId.execute
(XPathContext xctxt) Execute the function.FuncId.execute
(XPathContext xctxt) Execute the function.FuncLang.execute
(XPathContext xctxt) Execute the function.FuncLast.execute
(XPathContext xctxt) Execute the function.FuncLocalPart.execute
(XPathContext xctxt) Execute the function.FuncNamespace.execute
(XPathContext xctxt) Execute the function.FuncNormalizeSpace.execute
(XPathContext xctxt) Execute the function.FuncNot.execute
(XPathContext xctxt) Execute the function.FuncNumber.execute
(XPathContext xctxt) Execute the function.FuncPosition.execute
(XPathContext xctxt) Execute the function.FuncQname.execute
(XPathContext xctxt) Execute the function.FuncRound.execute
(XPathContext xctxt) Execute the function.FuncStartsWith.execute
(XPathContext xctxt) Execute the function.FuncString.execute
(XPathContext xctxt) Execute the function.FuncStringLength.execute
(XPathContext xctxt) Execute the function.FuncSubstring.execute
(XPathContext xctxt) Execute the function.FuncSubstringAfter.execute
(XPathContext xctxt) Execute the function.FuncSubstringBefore.execute
(XPathContext xctxt) Execute the function.FuncSum.execute
(XPathContext xctxt) Execute the function.FuncSystemProperty.execute
(XPathContext xctxt) Execute the function.Function.execute
(XPathContext xctxt) Execute an XPath function object.FuncTranslate.execute
(XPathContext xctxt) Execute the function.FuncTrue.execute
(XPathContext xctxt) Execute the function.FuncUnparsedEntityURI.execute
(XPathContext xctxt) Execute the function. -
Uses of XObject in org.apache.xpath.jaxp
Methods in org.apache.xpath.jaxp that return XObjectModifier and TypeMethodDescriptionJAXPVariableStack.getVariableOrParam
(XPathContext xctxt, QName qname) -
Uses of XObject in org.apache.xpath.objects
Subclasses of XObject in org.apache.xpath.objectsModifier and TypeClassDescriptionclass
This class represents an XPath boolean object, and is capable of converting the boolean to other types, such as a string.class
This class doesn't have any XPathContext, so override whatever to ensure it works OK.class
This class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.class
This class overrides the XNodeSet#object() method to provide the original Node object, NodeList object, or NodeIterator.class
This class represents an XPath null object, and is capable of converting the null to other types, such as a string.class
This class represents an XPath number, and is capable of converting the number to other types, such as a string.class
This class represents an XPath result tree fragment object, and is capable of converting the RTF to other types, such as a string.class
This class makes an select statement act like an result tree fragment.class
This class represents an XPath string object, and is capable of converting the string to other types, such as a number.class
This class will wrap a FastStringBuffer and allow forclass
This class will wrap a FastStringBuffer and allow forMethods in org.apache.xpath.objects that return XObjectModifier and TypeMethodDescriptionstatic XObject
Create the right XObject based on the type of the object passed.static XObject
XObject.create
(Object val, XPathContext xctxt) Create the right XObject based on the type of the object passed.static XObject
Create the right XObject based on the type of the object passed.static XObject
XObjectFactory.create
(Object val, XPathContext xctxt) Create the right XObject based on the type of the object passed.XObject.execute
(XPathContext xctxt) For support of literal objects in xpaths.XRTreeFragSelectWrapper.execute
(XPathContext xctxt) For support of literal objects in xpaths.XNodeSet.getFresh()
Get a fresh copy of the object.XObject.getFresh()
Get a fresh copy of the object.Methods in org.apache.xpath.objects with parameters of type XObjectModifier and TypeMethodDescriptionboolean
Tell if one object is less than the other.boolean
Tell if two objects are functionally equal.boolean
Tell if two objects are functionally equal.boolean
Tell if two objects are functionally equal.boolean
Tell if two objects are functionally equal.boolean
Tell if two objects are functionally equal.boolean
Tell if two objects are functionally equal.boolean
Tell if two objects are functionally equal.boolean
Tell if two objects are functionally equal.boolean
Tell if two objects are functionally equal.boolean
XNodeSet.greaterThan
(XObject obj2) Tell if one object is less than the other.boolean
XObject.greaterThan
(XObject obj2) Tell if one object is greater than the other.boolean
XNodeSet.greaterThanOrEqual
(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
Tell if one object is less than the other.boolean
Tell if one object is less than the other.boolean
XNodeSet.lessThanOrEqual
(XObject obj2) Tell if one object is less than or equal to the other.boolean
XObject.lessThanOrEqual
(XObject obj2) Tell if one object is less than or equal to the other.boolean
Tell if two objects are functionally not equal.boolean
Tell if two objects are functionally not equal. -
Uses of XObject in org.apache.xpath.operations
Methods in org.apache.xpath.operations that return XObjectModifier and TypeMethodDescriptionAnd.execute
(XPathContext xctxt) AND two expressions and return the boolean result.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.Or.execute
(XPathContext xctxt) OR two expressions and return the boolean result.UnaryOperation.execute
(XPathContext xctxt) Execute the operand and apply the unary operation to the result.Variable.execute
(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.Variable.execute
(XPathContext xctxt, boolean destructiveOK) Dereference the variable, and return the reference value.VariableSafeAbsRef.execute
(XPathContext xctxt, boolean destructiveOK) Dereference the variable, and return the reference value.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Deprecated.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.abstract XObject
Apply the operation to two operands, and return the result.Methods in org.apache.xpath.operations with parameters of type XObjectModifier and TypeMethodDescriptionApply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.Deprecated.Apply the operation to two operands, and return the result.Apply the operation to two operands, and return the result.abstract XObject
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 XObjectModifier and TypeMethodDescriptionContextMatchStepPattern.execute
(XPathContext xctxt) Execute this pattern step, including predicates.FunctionPattern.execute
(XPathContext xctxt) Test a node to see if it matches the given node test.FunctionPattern.execute
(XPathContext xctxt, int context) Test a node to see if it matches the given node test.FunctionPattern.execute
(XPathContext xctxt, int context, DTM dtm, int expType) Test a node to see if it matches the given node test.NodeTest.execute
(XPathContext xctxt) Test the current node to see if it matches the given node test.NodeTest.execute
(XPathContext xctxt, int context) Tell what the test score is for the given node.NodeTest.execute
(XPathContext xctxt, int context, DTM dtm, int expType) Tell what the test score is for the given node.StepPattern.execute
(XPathContext xctxt) Execute this pattern step, including predicates.StepPattern.execute
(XPathContext xctxt, int currentNode) Execute this pattern step, including predicates.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.UnionPattern.execute
(XPathContext xctxt) Test a node to see if it matches any of the patterns in the union.ContextMatchStepPattern.executeRelativePathPattern
(XPathContext xctxt, StepPattern prevStep) Execute the match pattern step relative to another step.