Uses of Class
org.apache.xpath.objects.XObject
| Package | Description |
|---|---|
| org.apache.xalan.extensions | |
| 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.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 Description XObjectExpressionContext. getVariableOrParam(QName qname)Get a variable based on it's qualified name. -
Uses of XObject in org.apache.xalan.serialize
Methods in org.apache.xalan.serialize with parameters of type XObject Modifier and Type Method Description static voidSerializerUtils. 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 Description classXUnresolvedVariableAn instance of this class holds unto a variable until it is executed.classXUnresolvedVariableSimpleThis 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 Description XObjectFuncDocument. execute(XPathContext xctxt)Execute the function.XObjectFuncFormatNumb. execute(XPathContext xctxt)Execute the function.XObjectFuncKey. execute(XPathContext xctxt)Execute the function.XObjectXUnresolvedVariable. execute(XPathContext xctxt)For support of literal objects in xpaths.XObjectXUnresolvedVariableSimple. execute(XPathContext xctxt)For support of literal objects in xpaths.XObjectElemVariable. getValue(TransformerImpl transformer, int sourceNode)Get the XObject representation of the variable.XObjectElemWithParam. 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 Description voidElemExsltFunction. execute(TransformerImpl transformer, XObject[] args) -
Uses of XObject in org.apache.xpath
Methods in org.apache.xpath that return XObject Modifier and Type Method Description XObjectVariableStack. elementAt(int i)Get the element at the given index, regardless of stackframe.XObjectCachedXPathAPI. eval(Node contextNode, String str)Evaluate XPath string to an XObject.XObjectCachedXPathAPI. eval(Node contextNode, String str, PrefixResolver prefixResolver)Evaluate XPath string to an XObject.XObjectCachedXPathAPI. eval(Node contextNode, String str, Node namespaceNode)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str, PrefixResolver prefixResolver)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str, Node namespaceNode)Evaluate XPath string to an XObject.abstract XObjectExpression. execute(XPathContext xctxt)Execute an expression in the XPath runtime context, and return the result of the expression.XObjectExpression. 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.XObjectExpression. execute(XPathContext xctxt, int currentNode)Execute an expression in the XPath runtime context, and return the result of the expression.XObjectExpression. execute(XPathContext xctxt, int currentNode, DTM dtm, int expType)Execute an expression in the XPath runtime context, and return the result of the expression.XObjectXPath. execute(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)Given an expression and a context, evaluate the XPath and return the result.XObjectXPath. execute(XPathContext xctxt, Node contextNode, PrefixResolver namespaceContext)Given an expression and a context, evaluate the XPath and return the result.XObjectVariableStack. getGlobalVariable(XPathContext xctxt, int index)Get a global variable or parameter from the global stack frame.XObjectVariableStack. getGlobalVariable(XPathContext xctxt, int index, boolean destructiveOK)Get a global variable or parameter from the global stack frame.XObjectVariableStack. getLocalVariable(int index, int frame)Get a local variable or parameter in the current stack frame.XObjectVariableStack. getLocalVariable(XPathContext xctxt, int index)Get a local variable or parameter in the current stack frame.XObjectVariableStack. getLocalVariable(XPathContext xctxt, int index, boolean destructiveOK)Get a local variable or parameter in the current stack frame.XObjectArg. getVal()Get the value for this argument.XObjectVariableStack. getVariableOrParam(XPathContext xctxt, QName qname)Get a variable based on it's qualified name.XObjectXPathContext.XPathExpressionContext. getVariableOrParam(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 Description voidVariableStack. setGlobalVariable(int index, XObject val)Set a global variable or parameter in the global stack frame.voidVariableStack. setLocalVariable(int index, XObject val)Set a local variable or parameter in the current stack frame.voidVariableStack. setLocalVariable(int index, XObject val, int stackFrame)Set a local variable or parameter in the specified stack frame.voidArg. setVal(XObject val)Set the value of this argument. -
Uses of XObject in org.apache.xpath.axes
Subclasses of XObject in org.apache.xpath.axes Modifier and Type Class Description classNodeSequenceThis 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 Description XObjectLocPathIterator. 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 Description XObjectFuncBoolean. execute(XPathContext xctxt)Execute the function.XObjectFuncCeiling. execute(XPathContext xctxt)Execute the function.XObjectFuncConcat. execute(XPathContext xctxt)Execute the function.XObjectFuncContains. execute(XPathContext xctxt)Execute the function.XObjectFuncCount. execute(XPathContext xctxt)Execute the function.XObjectFuncCurrent. execute(XPathContext xctxt)Execute the function.XObjectFuncDoclocation. execute(XPathContext xctxt)Execute the function.XObjectFuncExtElementAvailable. execute(XPathContext xctxt)Execute the function.XObjectFuncExtFunction. execute(XPathContext xctxt)Execute the function.XObjectFuncExtFunctionAvailable. execute(XPathContext xctxt)Execute the function.XObjectFuncFalse. execute(XPathContext xctxt)Execute the function.XObjectFuncFloor. execute(XPathContext xctxt)Execute the function.XObjectFuncGenerateId. execute(XPathContext xctxt)Execute the function.XObjectFuncId. execute(XPathContext xctxt)Execute the function.XObjectFuncLang. execute(XPathContext xctxt)Execute the function.XObjectFuncLast. execute(XPathContext xctxt)Execute the function.XObjectFuncLocalPart. execute(XPathContext xctxt)Execute the function.XObjectFuncNamespace. execute(XPathContext xctxt)Execute the function.XObjectFuncNormalizeSpace. execute(XPathContext xctxt)Execute the function.XObjectFuncNot. execute(XPathContext xctxt)Execute the function.XObjectFuncNumber. execute(XPathContext xctxt)Execute the function.XObjectFuncPosition. execute(XPathContext xctxt)Execute the function.XObjectFuncQname. execute(XPathContext xctxt)Execute the function.XObjectFuncRound. execute(XPathContext xctxt)Execute the function.XObjectFuncStartsWith. execute(XPathContext xctxt)Execute the function.XObjectFuncString. execute(XPathContext xctxt)Execute the function.XObjectFuncStringLength. execute(XPathContext xctxt)Execute the function.XObjectFuncSubstring. execute(XPathContext xctxt)Execute the function.XObjectFuncSubstringAfter. execute(XPathContext xctxt)Execute the function.XObjectFuncSubstringBefore. execute(XPathContext xctxt)Execute the function.XObjectFuncSum. execute(XPathContext xctxt)Execute the function.XObjectFuncSystemProperty. execute(XPathContext xctxt)Execute the function.XObjectFunction. execute(XPathContext xctxt)Execute an XPath function object.XObjectFuncTranslate. execute(XPathContext xctxt)Execute the function.XObjectFuncTrue. execute(XPathContext xctxt)Execute the function.XObjectFuncUnparsedEntityURI. 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 Description XObjectJAXPVariableStack. 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 Description classXBooleanThis class represents an XPath boolean object, and is capable of converting the boolean to other types, such as a string.classXBooleanStaticThis class doesn't have any XPathContext, so override whatever to ensure it works OK.classXNodeSetThis class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.classXNodeSetForDOMThis class overrides the XNodeSet#object() method to provide the original Node object, NodeList object, or NodeIterator.classXNullThis class represents an XPath null object, and is capable of converting the null to other types, such as a string.classXNumberThis class represents an XPath number, and is capable of converting the number to other types, such as a string.classXRTreeFragThis class represents an XPath result tree fragment object, and is capable of converting the RTF to other types, such as a string.classXRTreeFragSelectWrapperThis class makes an select statement act like an result tree fragment.classXStringThis class represents an XPath string object, and is capable of converting the string to other types, such as a number.classXStringForCharsThis class will wrap a FastStringBuffer and allow forclassXStringForFSBThis class will wrap a FastStringBuffer and allow forMethods in org.apache.xpath.objects that return XObject Modifier and Type Method Description static XObjectXObject. create(Object val)Create the right XObject based on the type of the object passed.static XObjectXObject. create(Object val, XPathContext xctxt)Create the right XObject based on the type of the object passed.static XObjectXObjectFactory. create(Object val)Create the right XObject based on the type of the object passed.static XObjectXObjectFactory. create(Object val, XPathContext xctxt)Create the right XObject based on the type of the object passed.XObjectXObject. execute(XPathContext xctxt)For support of literal objects in xpaths.XObjectXRTreeFragSelectWrapper. execute(XPathContext xctxt)For support of literal objects in xpaths.XObjectXNodeSet. getFresh()Get a fresh copy of the object.XObjectXObject. getFresh()Get a fresh copy of the object.Methods in org.apache.xpath.objects with parameters of type XObject Modifier and Type Method Description booleanXNodeSet. compare(XObject obj2, org.apache.xpath.objects.Comparator comparator)Tell if one object is less than the other.booleanXBoolean. equals(XObject obj2)Tell if two objects are functionally equal.booleanXBooleanStatic. equals(XObject obj2)Tell if two objects are functionally equal.booleanXNodeSet. equals(XObject obj2)Tell if two objects are functionally equal.booleanXNull. equals(XObject obj2)Tell if two objects are functionally equal.booleanXNumber. equals(XObject obj2)Tell if two objects are functionally equal.booleanXObject. equals(XObject obj2)Tell if two objects are functionally equal.booleanXRTreeFrag. equals(XObject obj2)Tell if two objects are functionally equal.booleanXString. equals(XObject obj2)Tell if two objects are functionally equal.booleanXStringForFSB. equals(XObject obj2)Tell if two objects are functionally equal.booleanXNodeSet. greaterThan(XObject obj2)Tell if one object is less than the other.booleanXObject. greaterThan(XObject obj2)Tell if one object is greater than the other.booleanXNodeSet. greaterThanOrEqual(XObject obj2)Tell if one object is less than the other.booleanXObject. greaterThanOrEqual(XObject obj2)Tell if one object is greater than or equal to the other.booleanXNodeSet. lessThan(XObject obj2)Tell if one object is less than the other.booleanXObject. lessThan(XObject obj2)Tell if one object is less than the other.booleanXNodeSet. lessThanOrEqual(XObject obj2)Tell if one object is less than or equal to the other.booleanXObject. lessThanOrEqual(XObject obj2)Tell if one object is less than or equal to the other.booleanXNodeSet. notEquals(XObject obj2)Tell if two objects are functionally not equal.booleanXObject. 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 Description XObjectAnd. execute(XPathContext xctxt)AND two expressions and return the boolean result.XObjectOperation. 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.XObjectOr. execute(XPathContext xctxt)OR two expressions and return the boolean result.XObjectUnaryOperation. execute(XPathContext xctxt)Execute the operand and apply the unary operation to the result.XObjectVariable. execute(XPathContext xctxt)Execute an expression in the XPath runtime context, and return the result of the expression.XObjectVariable. execute(XPathContext xctxt, boolean destructiveOK)Dereference the variable, and return the reference value.XObjectVariableSafeAbsRef. execute(XPathContext xctxt, boolean destructiveOK)Dereference the variable, and return the reference value.XObjectBool. operate(XObject right)Apply the operation to two operands, and return the result.XObjectDiv. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectEquals. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectGt. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectGte. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectLt. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectLte. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectMinus. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectMod. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectMult. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectNeg. operate(XObject right)Apply the operation to two operands, and return the result.XObjectNotEquals. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectNumber. operate(XObject right)Apply the operation to two operands, and return the result.XObjectOperation. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectPlus. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectQuo. operate(XObject left, XObject right)Deprecated.Apply the operation to two operands, and return the result.XObjectString. operate(XObject right)Apply the operation to two operands, and return the result.abstract XObjectUnaryOperation. operate(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 Description XObjectBool. operate(XObject right)Apply the operation to two operands, and return the result.XObjectDiv. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectEquals. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectGt. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectGte. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectLt. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectLte. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectMinus. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectMod. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectMult. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectNeg. operate(XObject right)Apply the operation to two operands, and return the result.XObjectNotEquals. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectNumber. operate(XObject right)Apply the operation to two operands, and return the result.XObjectOperation. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectPlus. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectQuo. operate(XObject left, XObject right)Deprecated.Apply the operation to two operands, and return the result.XObjectString. operate(XObject right)Apply the operation to two operands, and return the result.abstract XObjectUnaryOperation. operate(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 Description XObjectContextMatchStepPattern. execute(XPathContext xctxt)Execute this pattern step, including predicates.XObjectFunctionPattern. execute(XPathContext xctxt)Test a node to see if it matches the given node test.XObjectFunctionPattern. execute(XPathContext xctxt, int context)Test a node to see if it matches the given node test.XObjectFunctionPattern. execute(XPathContext xctxt, int context, DTM dtm, int expType)Test a node to see if it matches the given node test.XObjectNodeTest. execute(XPathContext xctxt)Test the current node to see if it matches the given node test.XObjectNodeTest. execute(XPathContext xctxt, int context)Tell what the test score is for the given node.XObjectNodeTest. execute(XPathContext xctxt, int context, DTM dtm, int expType)Tell what the test score is for the given node.XObjectStepPattern. execute(XPathContext xctxt)Execute this pattern step, including predicates.XObjectStepPattern. execute(XPathContext xctxt, int currentNode)Execute this pattern step, including predicates.XObjectStepPattern. execute(XPathContext xctxt, int currentNode, DTM dtm, int expType)Execute an expression in the XPath runtime context, and return the result of the expression.XObjectUnionPattern. execute(XPathContext xctxt)Test a node to see if it matches any of the patterns in the union.XObjectContextMatchStepPattern. executeRelativePathPattern(XPathContext xctxt, StepPattern prevStep)Execute the match pattern step relative to another step.protected XObjectStepPattern. executeRelativePathPattern(XPathContext xctxt, DTM dtm, int currentNode)Execute the match pattern step relative to another step.