org.apache.uima.resource.metadata.impl
public class TypePriorityList_impl extends MetaDataObject_impl implements TypePriorityList
TypePriorityList
.Constructor and Description |
---|
TypePriorityList_impl() |
Modifier and Type | Method and Description |
---|---|
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.
|
buildFromXMLElement, buildFromXMLElement, equals, getAttributeClass, getAttributeValue, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, setAttributeValue, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElement
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
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()
Copyright © 2014. All Rights Reserved.