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.operators |
Package operators
|
Modifier and Type | Method and Description |
---|---|
static Type |
Type.getLeastCommonType(int mType1,
int mType2) |
static Type |
Type.getLeastCommonType(Type mType1,
Type mType2)
Returns the least common base type of the given types.
|
Type |
Type.getPrimitiveBaseType()
Return the next base type of the current type that is a primitive one.
|
static Type |
Type.getType(int paramKey)
Getting the type for the key
|
static Type |
Type.getType(String paramRepr)
Getting type for string
|
static Type |
Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Type.castsTo(Type mTargetType)
Defines if the current type is castable to the targetType.
|
boolean |
Type.derivesFrom(Type mExpectedType)
Tests whether a type is derived by restriction from a certain type.
|
static Type |
Type.getLeastCommonType(Type mType1,
Type mType2)
Returns the least common base type of the given types.
|
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.
|
Constructor and Description |
---|
AtomicValue(Number pValue,
Type pType)
Constructor.
|
AtomicValue(String pValue,
Type pType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Type |
SingleType.getAtomic()
Gets the atomic type.
|
Modifier and Type | Method and Description |
---|---|
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 |
NodeComp.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 |
---|---|
abstract boolean |
CompKind.compare(String mOperand1,
String mOperand2,
Type mType)
Compares the two input values.
|
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.
|
Copyright © 2013. All Rights Reserved.