|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.cas.impl.TypeSystemUtils
public abstract class TypeSystemUtils
Class comment for TypeSystemUtils.java goes here.
| Nested Class Summary | |
|---|---|
static class |
TypeSystemUtils.PathValid
|
| Constructor Summary | |
|---|---|
TypeSystemUtils()
|
|
| Method Summary | |
|---|---|
static int |
classifyType(Type type)
Classify types into FS type, array type etc. |
static boolean |
isIdentifier(java.lang.String s)
|
static TypeSystemUtils.PathValid |
isPathValid(Type type,
java.util.List<java.lang.String> path)
Checks if a feature path is valid for a given type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeSystemUtils()
| Method Detail |
|---|
public static boolean isIdentifier(java.lang.String s)
public static final TypeSystemUtils.PathValid isPathValid(Type type,
java.util.List<java.lang.String> path)
We distinguish three cases:
PathValid.NEVER: there is no object of type on which
path can ever be defined.PathValid.ALWAYS: if all intermediate objects are non-null, this
path will always be defined on any object of type. PathValid.POSSIBLE: some objects of type will havepath
defined, while others may not.
type - The type.path - The path to check.
ALWAYS, POSSIBLE, or
NEVER.public static final int classifyType(Type type)
LowLevelCAS.TYPE_CLASS* constants, as well as the documentation for
LowLevelCAS.ll_getTypeClass(int).
type - The type to classify.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||