public class XmiSplitUtilities extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CAS_NULL |
static String |
CAS_SOFA |
static String |
CAS_VIEW |
static List<String> |
primitives
Ranges of features that will erroneously (for our purposes) have the
status of not being primitive.
|
static String |
TYPES_NAMESPACE
The default types namespace that is assumed if not the fully qualified
java name is given for an annotation.
|
| Constructor and Description |
|---|
XmiSplitUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertNSUri(String nameSpace)
Extracts the first part of the fully qualified java name from the
namespace uri.
|
static org.apache.uima.cas.Type |
getFeatureType(org.apache.uima.cas.Type annotationType,
String featureName) |
static String |
getTypeJavaName(StartElement element)
Extracts the fully qualified java name for an element.
|
static boolean |
isAnnotationType(String qualifiedTypename) |
static boolean |
isFSArray(org.apache.uima.cas.Type annotationType)
TODO: Are there any Feature Structures other than FSArray that link
annotations (e.g.
|
static boolean |
isPrimitive(org.apache.uima.cas.Type type)
TODO: See class variable primitives...
|
static boolean |
isPrimitive(org.apache.uima.cas.Type annotationType,
String featureName) |
static boolean |
isReferenceFeature(org.apache.uima.cas.Type type,
String featureName) |
public static final String CAS_NULL
public static final String CAS_VIEW
public static final String CAS_SOFA
public static final String TYPES_NAMESPACE
public static String convertNSUri(String nameSpace)
nameSpace - The namespace uri of the element.public static String getTypeJavaName(StartElement element)
element - The start element.public static boolean isFSArray(org.apache.uima.cas.Type annotationType)
annotationType - public static boolean isPrimitive(org.apache.uima.cas.Type annotationType,
String featureName)
public static boolean isPrimitive(org.apache.uima.cas.Type type)
type - public static org.apache.uima.cas.Type getFeatureType(org.apache.uima.cas.Type annotationType,
String featureName)
public static boolean isReferenceFeature(org.apache.uima.cas.Type type,
String featureName)
public static boolean isAnnotationType(String qualifiedTypename)
Copyright © 2018 JULIE Lab Jena, Germany. All rights reserved.