Class TypePriorityList_impl
java.lang.Object
org.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.metadata.impl.TypePriorityList_impl
- All Implemented Interfaces:
Serializable,Cloneable,MetaDataObject,TypePriorityList,XMLizable
Reference implementation of
TypePriorityList.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer -
Field Summary
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContextFields inherited from interface org.apache.uima.resource.metadata.TypePriorityList
EMPTY_TYPE_PRIORITY_LISTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a type at the end of the priority list.clone()Creates a clone of thisMetaDataObject.String[]getTypes()Gets the type names, in order of their priority.protected XmlizationInfoTo be implemented by subclasses to return information describing how to represent this object in XML.voidremoveType(String aTypeName) Removes a type from the priority list.voidSets the type names, in order of their priority.Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
buildFromXMLElement, buildFromXMLElement, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlMethods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
Constructor Details
-
TypePriorityList_impl
public TypePriorityList_impl()
-
-
Method Details
-
getTypes
Description copied from interface:TypePriorityListGets the type names, in order of their priority.- Specified by:
getTypesin interfaceTypePriorityList- Returns:
- an array of type names, in order of their priority
- See Also:
-
setTypes
Description copied from interface:TypePriorityListSets the type names, in order of their priority.- Specified by:
setTypesin interfaceTypePriorityList- Parameters:
aTypeNames- an array type names, in order of their priority- See Also:
-
addType
Description copied from interface:TypePriorityListAdds a type at the end of the priority list.- Specified by:
addTypein interfaceTypePriorityList- Parameters:
aTypeName- the type name to add- See Also:
-
removeType
Description copied from interface:TypePriorityListRemoves a type from the priority list.- Specified by:
removeTypein interfaceTypePriorityList- Parameters:
aTypeName- the type name to remove- See Also:
-
clone
Description copied from interface:MetaDataObjectCreates a clone of thisMetaDataObject. This performs a "deep" copy by cloning all attribute values that are also MetaDataObjects.- Specified by:
clonein interfaceMetaDataObject- Overrides:
clonein classMetaDataObject_impl- Returns:
- a clone of this
MetaDataObject - See Also:
-
getXmlizationInfo
Description copied from class:MetaDataObject_implTo be implemented by subclasses to return information describing how to represent this object in XML.- Specified by:
getXmlizationInfoin classMetaDataObject_impl- Returns:
- information defining this object's XML representation
- See Also:
-