public class TypePriorityList_impl extends MetaDataObject_impl implements TypePriorityList
TypePriorityList
.MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
serialContext
EMPTY_TYPE_PRIORITY_LISTS
Constructor and Description |
---|
TypePriorityList_impl() |
Modifier and Type | Method and Description |
---|---|
void |
addType(String aTypeName)
Adds a type at the end of the priority list.
|
Object |
clone()
Creates a clone of this
MetaDataObject . |
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(String aTypeName)
Removes a type from the priority list.
|
void |
setTypes(String[] aTypeNames)
Sets the type names, in order of their priority.
|
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, writePropertyAsElement
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
public String[] getTypes()
TypePriorityList
getTypes
in interface TypePriorityList
synchronized to prevent concurrent modification exceptions
public void setTypes(String[] aTypeNames)
TypePriorityList
setTypes
in interface TypePriorityList
aTypeNames
- an array type names, in order of their priorityTypePriorityList.setTypes(java.lang.String[])
public void addType(String aTypeName)
TypePriorityList
addType
in interface TypePriorityList
aTypeName
- the type name to addTypePriorityList.addType(java.lang.String)
public void removeType(String aTypeName)
TypePriorityList
removeType
in interface TypePriorityList
aTypeName
- the type name to removeTypePriorityList.removeType(java.lang.String)
public 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
multi-core: could be cloning
while another thread is modifying?
protected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class MetaDataObject_impl
MetaDataObject_impl.getXmlizationInfo()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.