Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions

org::apache::uima::resource::metadata::TypePriorities Interface Reference

Inheritance diagram for org::apache::uima::resource::metadata::TypePriorities:
Inheritance graph
Collaboration diagram for org::apache::uima::resource::metadata::TypePriorities:
Collaboration graph

List of all members.

Public Member Functions

void addPriorityList (TypePriorityList aPriorityList)
TypePriorityList addPriorityList ()
void buildFromXMLElement (Element aElement, XMLParser aParser) throws InvalidXMLException
void buildFromXMLElement (Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
Object clone ()
boolean equals (Object aObj)
Object getAttributeValue (String aName)
String getDescription ()
Import[] getImports ()
String getName ()
TypePriorityList[] getPriorityLists ()
URL getSourceUrl ()
String getSourceUrlString ()
String getVendor ()
String getVersion ()
boolean isModifiable ()
List< NameClassPairlistAttributes ()
void removePriorityList (TypePriorityList aPriorityList)
void resolveImports (ResourceManager aResourceManager) throws InvalidXMLException
void resolveImports (Collection< String > aAlreadyImportedPriorityListURLs, ResourceManager aResourceManager) throws InvalidXMLException
void resolveImports () throws InvalidXMLException
void setAttributeValue (String aName, Object aValue)
void setDescription (String aDescription)
void setImports (Import[] aImports)
void setName (String aName)
void setPriorityLists (TypePriorityList[] aPriorityLists)
void setSourceUrl (URL aUrl)
void setVendor (String aVendor)
void setVersion (String aVersion)
void toXML (ContentHandler aContentHandler, boolean aWriteDefaultNamespaceAttribute) throws SAXException
void toXML (Writer aWriter) throws SAXException, IOException
void toXML (OutputStream aOutputStream) throws SAXException, IOException
void toXML (ContentHandler aContentHandler) throws SAXException

Detailed Description

A declaration of priorities between CAS Types. Type priority can be a basis for ordering feature structures within an index - see FsIndexDescription.

This object implements MetaDataObject, which implements org.apache.uima.util.XMLizable, so it can be serialized to and deserialized from an XML element.

TypePriorities can declare that they import other TypePriorities. At runtime, these imports will be resolved to create a single logical TypePriorities object.

Note that type priorities imports are not automatically resolved when a TypePriorities object is deserialized from XML. To resolve the imports, call the resolveImports() method. Import resolution is done automatically when a CAS is created using a TypePriorities object.

TypePriorities declarations can optionally be assigned a name, description, vendor, and version. It is recommended that these properties be set on any TypePriorities declaration that is meant to be shared by (imported by) multiple components.

Definition at line 50 of file TypePriorities.java.

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index