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

Public Member Functions

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

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

List of all members.

Public Member Functions

TypeDescription addType (String aTypeName, String aDescription, String aSupertypeName)
void buildFromXMLElement (Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
void buildFromXMLElement (Element aElement, XMLParser aParser) throws InvalidXMLException
Object clone ()
boolean equals (Object aObj)
Object getAttributeValue (String aName)
String getDescription ()
Import[] getImports ()
String getName ()
URL getSourceUrl ()
String getSourceUrlString ()
TypeDescription getType (String aTypeName)
TypeDescription[] getTypes ()
String getVendor ()
String getVersion ()
boolean isModifiable ()
List< NameClassPairlistAttributes ()
void resolveImports (ResourceManager aResourceManager) throws InvalidXMLException
void resolveImports (Collection< String > aAlreadyImportedTypeSystemURLs, 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 setSourceUrl (URL aUrl)
void setTypes (TypeDescription[] aTypes)
void setVendor (String aVendor)
void setVersion (String aVersion)
void toXML (Writer aWriter) throws SAXException, IOException
void toXML (OutputStream aOutputStream) throws SAXException, IOException
void toXML (ContentHandler aContentHandler) throws SAXException
void toXML (ContentHandler aContentHandler, boolean aWriteDefaultNamespaceAttribute) throws SAXException

Detailed Description

Description of a CAS TypeSystem. This implements MetaDataObject, which implements org.apache.uima.util.XMLizable, so it can be serialized to and deserialized from an XML element.

Type systems can declare that they import other type systems. At runtime, these imports will be resolved to create a single logical type system.

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

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

Definition at line 47 of file TypeSystemDescription.java.

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

Generated by  Doxygen 1.6.0   Back to index