Class RsType
- java.lang.Object
-
- org.apache.uima.analysis_engine.impl.RsType
-
public class RsType extends java.lang.ObjectHolds types and/or features with language specs These are expected to be sparse with respect to the complete type system
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<Feature>EMPTY_FEATURE_LIST(package private) RsFeatsfeatures(package private) booleanisAllFeatures(package private) booleanisSpecified(package private) RsLangslanguagesAllFeat(package private) RsLangslanguagesNotAllFeat(package private) java.lang.StringtypeName
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) booleanallFeaturesHaveSameLangs()(package private) java.util.List<Feature>getAllAppropriateFeatures(TypeSystem ts)returns the Features for a type in a result spec(package private) RsFeatgetFeat(java.lang.String shortFeatName)(package private) booleanhasAllFeaturesExplicitly(TypeSystem ts)(package private) booleansubsumesLanguageInFeat(java.lang.String shortFeatName, java.lang.String lang)
-
-
-
Field Detail
-
EMPTY_FEATURE_LIST
public static final java.util.List<Feature> EMPTY_FEATURE_LIST
-
typeName
final java.lang.String typeName
-
isAllFeatures
boolean isAllFeatures
-
isSpecified
boolean isSpecified
-
languagesAllFeat
RsLangs languagesAllFeat
-
languagesNotAllFeat
RsLangs languagesNotAllFeat
-
features
RsFeats features
-
-
Constructor Detail
-
RsType
RsType(java.lang.String name)
-
RsType
RsType(RsType original)
-
-
Method Detail
-
subsumesLanguageInFeat
boolean subsumesLanguageInFeat(java.lang.String shortFeatName, java.lang.String lang)- Parameters:
shortFeatName-lang-- Returns:
- true if lang subsumed by langs of the feature or of the type with all-feats specified
-
getFeat
RsFeat getFeat(java.lang.String shortFeatName)
-
getAllAppropriateFeatures
java.util.List<Feature> getAllAppropriateFeatures(TypeSystem ts)
returns the Features for a type in a result spec- Parameters:
ts- The type system, may be null- Returns:
- list of features for a type in a result spec
-
hasAllFeaturesExplicitly
boolean hasAllFeaturesExplicitly(TypeSystem ts)
-
allFeaturesHaveSameLangs
boolean allFeaturesHaveSameLangs()
-
-