|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypePriorityList
Declares a relative priority between CAS types. This object contains a single list of types. One
or more TypePriorityList
objects can be grouped together to define a complete
TypePriorities
declaration for a type system.
This object implements MetaDataObject
, which implements
XMLizable
, so it can be serialized to and deserialized from an XML
element.
TypePriorities
Method Summary | |
---|---|
void |
addType(String aTypeName)
Adds a type at the end of the priority list. |
String[] |
getTypes()
Gets the type names, in order of their priority. |
void |
removeType(String aTypeName)
Removes a type from the priority list. |
void |
setTypes(String[] aTypeNames)
Sets the type names, in order of their priority. |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Method Detail |
---|
String[] getTypes()
void setTypes(String[] aTypeNames)
aTypeNames
- an array type names, in order of their priorityvoid addType(String aTypeName)
aTypeName
- the type name to addvoid removeType(String aTypeName)
aTypeName
- the type name to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |