public interface TypePriorityList extends MetaDataObject
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
Modifier and Type | Field and Description |
---|---|
static TypePriorityList[] |
EMPTY_TYPE_PRIORITY_LISTS |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
static final TypePriorityList[] EMPTY_TYPE_PRIORITY_LISTS
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 removeCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.