|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.metadata.impl.TypePriorityList_impl
public class TypePriorityList_impl
Reference implementation of TypePriorityList
.
Constructor Summary | |
---|---|
TypePriorityList_impl()
|
Method Summary | |
---|---|
void |
addType(java.lang.String aTypeName)
Adds a type at the end of the priority list. |
java.lang.Object |
clone()
Creates a clone of this MetaDataObject . |
java.lang.String[] |
getTypes()
Gets the type names, in order of their priority. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
void |
removeType(java.lang.String aTypeName)
Removes a type from the priority list. |
void |
setTypes(java.lang.String[] aTypeNames)
Sets the type names, in order of their priority. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Constructor Detail |
---|
public TypePriorityList_impl()
Method Detail |
---|
public java.lang.String[] getTypes()
TypePriorityList
getTypes
in interface TypePriorityList
org.apache.uima.analysis_engine.metadata.TypePriorityList#getTypes()
public void setTypes(java.lang.String[] aTypeNames)
TypePriorityList
setTypes
in interface TypePriorityList
aTypeNames
- an array type names, in order of their priorityorg.apache.uima.analysis_engine.metadata.TypePriorityList#setTypes(java.lang.String[])
public void addType(java.lang.String aTypeName)
TypePriorityList
addType
in interface TypePriorityList
aTypeName
- the type name to addorg.apache.uima.analysis_engine.metadata.TypePriorityList#addType(java.lang.String)
public void removeType(java.lang.String aTypeName)
TypePriorityList
removeType
in interface TypePriorityList
aTypeName
- the type name to removeorg.apache.uima.analysis_engine.metadata.TypePriorityList#removeType(java.lang.String)
public java.lang.Object clone()
MetaDataObject
MetaDataObject
. This performs a "deep" copy by cloning
all attribute values that are also MetaDataObjects.
clone
in interface MetaDataObject
clone
in class MetaDataObject_impl
MetaDataObject
org.apache.uima.resource.MetaDataObject#clone()
protected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class MetaDataObject_impl
org.apache.uima.resource.impl.MetaDataObject_impl#getXmlizationInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |