Package | Description |
---|---|
org.treetank.node |
Node Page Layer for Treetank
|
org.treetank.service.xml.xpath |
Package xpath
|
org.treetank.service.xml.xpath.comparators |
Package comparators
|
org.treetank.service.xml.xpath.expr |
Package Expr
|
org.treetank.service.xml.xpath.functions |
Package functions
|
org.treetank.service.xml.xpath.functions.sequences |
Package functions on sequences.
|
org.treetank.service.xml.xpath.operators |
Package operators
|
org.treetank.service.xml.xpath.parser |
Modifier and Type | Method and Description |
---|---|
Type |
Type.getPrimitiveBaseType()
Return the next base type of the current type that is a primitive one.
|
boolean |
Type.isCastableTo(Type mTargetType,
String mValue)
Determines, whether a value of the current type can be casted to the
input type, as defined in XML Schema 1.1-1 Spec.
|
Modifier and Type | Method and Description |
---|---|
TTXPathException |
EXPathError.getEncapsulatedException()
Getting the specific exception for a type.
|
Modifier and Type | Method and Description |
---|---|
void |
PipelineBuilder.addFunction(INodeReadTrx mTransaction,
String mFuncName,
int mNum)
Adds a function to the pipeline.
|
Constructor and Description |
---|
SingleType(String atomic,
boolean mIntero)
Constructor.
|
XPathAxis(INodeReadTrx rtx,
String mQuery)
Constructor initializing internal state.
|
Modifier and Type | Method and Description |
---|---|
protected AtomicValue[] |
ValueComp.atomize(AbsAxis mOperand)
Atomizes an operand according to the rules specified in the XPath
specification.
|
protected AtomicValue[] |
NodeComp.atomize(AbsAxis mOperand)
Atomizes an operand according to the rules specified in the XPath
specification.
|
protected abstract AtomicValue[] |
AbsComparator.atomize(AbsAxis paramOperand)
Atomizes an operand according to the rules specified in the XPath
specification.
|
protected boolean |
ValueComp.compare(AtomicValue[] mOperand1,
AtomicValue[] mOperand2)
Performs the comparison of two atomic values.
|
protected boolean |
NodeComp.compare(AtomicValue[] mOperand1,
AtomicValue[] mOperand2)
Performs the comparison of two atomic values.
|
protected boolean |
GeneralComp.compare(AtomicValue[] mOperand1,
AtomicValue[] mOperand2)
Performs the comparison of two atomic values.
|
protected abstract boolean |
AbsComparator.compare(AtomicValue[] paramOperandOne,
AtomicValue[] paramOperandTwo)
Performs the comparison of two atomic values.
|
abstract boolean |
CompKind.compare(String mOperand1,
String mOperand2,
Type mType)
Compares the two input values.
|
protected Type |
ValueComp.getType(int mKey1,
int mKey2)
Returns the common comparable type of the two operands, or an error, if
the two operands don't have a common type on which a comparison is
allowed according to the XPath 2.0 specification.
|
protected Type |
GeneralComp.getType(int mKey1,
int mKey2)
Returns the common comparable type of the two operands, or an error, if
the two operands don't have a common type on which a comparison is
allowed according to the XPath 2.0 specification.
|
protected abstract Type |
AbsComparator.getType(int mKey1,
int mKey2)
Returns the common comparable type of the two operands, or an error, if
the two operands don't have a common type on which a comparison is
allowed according to the XPath 2.0 specification.
|
Modifier and Type | Method and Description |
---|---|
AtomicValue |
OrExpr.evaluate()
Performs the expression dependent evaluation of the expression.
|
AtomicValue |
CastableExpr.evaluate()
Performs the expression dependent evaluation of the expression.
|
AtomicValue |
AndExpr.evaluate()
Performs the expression dependent evaluation of the expression.
|
abstract AtomicValue |
AbsExpression.evaluate()
Performs the expression dependent evaluation of the expression.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
FNNot.computeResult()
Computes the result value of the function.
|
protected abstract byte[] |
AbsFunction.computeResult()
Computes the result value of the function.
|
static boolean |
Function.ebv(AbsAxis axis,
INodeReadTrx pRtx) |
AtomicValue |
AbsFunction.evaluate()
Performs the expression dependent evaluation of the expression.
|
void |
AbsFunction.varifyParam(int mNumber)
Checks if the number of input arguments of this function is a valid
according to the function specification in XQuery 1.0 and XPath 2.0
Functions and Operators.
|
Constructor and Description |
---|
AbsFunction(INodeReadTrx rtx,
List<AbsAxis> args,
int min,
int max,
int returnType)
Constructor.
|
FNNot(INodeReadTrx rtx,
List<AbsAxis> args,
int min,
int max,
int returnType)
Constructor.
|
FNPosition(INodeReadTrx rtx,
List<AbsAxis> args,
int min,
int max,
int returnType)
Constructor.
|
FNString(INodeReadTrx rtx,
List<AbsAxis> args,
int min,
int max,
int returnType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
FNBoolean.computeResult()
Computes the result value of the function.
|
Constructor and Description |
---|
FNBoolean(INodeReadTrx rtx,
List<AbsAxis> args,
int min,
int max,
int returnType)
Constructor.
|
FNCount(INodeReadTrx rtx,
List<AbsAxis> args,
int min,
int max,
int returnType)
Constructor.
|
FNSum(INodeReadTrx rtx,
List<AbsAxis> args,
int min,
int max,
int returnType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Type |
SubOpAxis.getReturnType(int mOp1,
int mOp2)
Checks if the types of the operands are a valid combination for the
operation and if so returns the corresponding result type.
|
protected Type |
MulOpAxis.getReturnType(int mOp1,
int mOp2)
Checks if the types of the operands are a valid combination for the
operation and if so returns the corresponding result type.
|
protected Type |
ModOpAxis.getReturnType(int mOp1,
int mOp2)
Checks if the types of the operands are a valid combination for the
operation and if so returns the corresponding result type.
|
protected Type |
IDivOpAxis.getReturnType(int mOp1,
int mOp2)
Checks if the types of the operands are a valid combination for the
operation and if so returns the corresponding result type.
|
protected Type |
DivOpAxis.getReturnType(int mOp1,
int mOp2)
Checks if the types of the operands are a valid combination for the
operation and if so returns the corresponding result type.
|
protected Type |
AddOpAxis.getReturnType(int mOp1,
int mOp2)
Checks if the types of the operands are a valid combination for the
operation and if so returns the corresponding result type.
|
protected abstract Type |
AbsObAxis.getReturnType(int mOp1,
int mOp2)
Checks if the types of the operands are a valid combination for the
operation and if so returns the corresponding result type.
|
AtomicValue |
SubOpAxis.operate(AtomicValue mOperand1,
AtomicValue mOperand2)
Performs the operation on the two input operands.
|
AtomicValue |
MulOpAxis.operate(AtomicValue mOperand1,
AtomicValue mOperand2)
Performs the operation on the two input operands.
|
AtomicValue |
ModOpAxis.operate(AtomicValue mOperand1,
AtomicValue mOperand2)
Performs the operation on the two input operands.
|
AtomicValue |
IDivOpAxis.operate(AtomicValue mOperand1,
AtomicValue mOperand2)
Performs the operation on the two input operands.
|
AtomicValue |
DivOpAxis.operate(AtomicValue mOperand1,
AtomicValue mOperand2)
Performs the operation on the two input operands.
|
AtomicValue |
AddOpAxis.operate(AtomicValue mOperand1,
AtomicValue mOperand2)
Performs the operation on the two input operands.
|
protected abstract AtomicValue |
AbsObAxis.operate(AtomicValue mOperand1,
AtomicValue mOperand2)
Performs the operation on the two input operands.
|
Modifier and Type | Method and Description |
---|---|
void |
XPathParser.parseQuery()
Starts parsing the query.
|
Copyright © 2013. All Rights Reserved.