|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.metadata.impl.FsIndexCollection_impl
public class FsIndexCollection_impl
| Constructor Summary | |
|---|---|
FsIndexCollection_impl()
|
|
| Method Summary | |
|---|---|
void |
addFsIndex(FsIndexDescription aFsIndexDescription)
Adds an FS Index description to this collection. |
java.lang.String |
getDescription()
Gets the description of this FS Index Collection. |
FsIndexDescription[] |
getFsIndexes()
Retrieves the FS Index descriptions that are part of this collection. |
Import[] |
getImports()
Gets the imports declared by this FS Index Collection. |
java.lang.String |
getName()
Gets the name of this FS Index Collection. |
java.lang.String |
getVendor()
Gets the vendor of this FS Index Collection. |
java.lang.String |
getVersion()
Gets the version number of this FS Index Collection. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
void |
removeFsIndex(FsIndexDescription aFsIndexDescription)
Removes an FS Index description from this collection. |
void |
resolveImports()
Resolves any import declarations in this FS Index Collection, adding the imported FsIndexDescriptions directly onto this FsIndexCollection's fsIndexes
list. |
void |
resolveImports(java.util.Collection<java.lang.String> aAlreadyImportedFsIndexURLs,
ResourceManager aResourceManager)
Resolves any import declarations in this FS Index Collection, adding the imported FsIndexDescriptions directly onto this FsIndexCollection's fsIndexes
list. |
void |
resolveImports(ResourceManager aResourceManager)
Resolves any import declarations in this FS Index Collection, adding the imported FsIndexDescriptions directly onto this FsIndexCollection's fsIndexes
list. |
void |
setDescription(java.lang.String aDescription)
Sets the description of this FS Index Collection. |
void |
setFsIndexes(FsIndexDescription[] aFSIndexes)
Retrieves the FS Index descriptions that are part of this collection. |
void |
setImports(Import[] aImports)
Sets the imports declared by this FS Index Collection. |
void |
setName(java.lang.String aName)
Sets the name of this FS Index Collection. |
void |
setVendor(java.lang.String aVendor)
Sets the vendor of this FS Index Collection. |
void |
setVersion(java.lang.String aVersion)
Sets the version number of this FS Index Collection. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
|---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
| Methods inherited from interface org.apache.uima.util.XMLizable |
|---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
| Constructor Detail |
|---|
public FsIndexCollection_impl()
| Method Detail |
|---|
public java.lang.String getName()
FsIndexCollection
getName in interface FsIndexCollectionorg.apache.uima.resource.ResourceMetaData#getName()public void setName(java.lang.String aName)
FsIndexCollection
setName in interface FsIndexCollectionaName - the name of this FS Index Collectionorg.apache.uima.resource.ResourceMetaData#setName(String)public java.lang.String getVersion()
FsIndexCollection
getVersion in interface FsIndexCollectionorg.apache.uima.resource.ResourceMetaData#getVersion()public void setVersion(java.lang.String aVersion)
FsIndexCollection
setVersion in interface FsIndexCollectionaVersion - the version number of this FS Index Collection, as a Stringorg.apache.uima.resource.ResourceMetaData#setVersion(String)public java.lang.String getDescription()
FsIndexCollection
getDescription in interface FsIndexCollectionorg.apache.uima.resource.ResourceMetaData#getDescription()public void setDescription(java.lang.String aDescription)
FsIndexCollection
setDescription in interface FsIndexCollectionaDescription - the description of this FS Index Collectionorg.apache.uima.resource.ResourceMetaData#setDescription(String)public java.lang.String getVendor()
FsIndexCollection
getVendor in interface FsIndexCollectionorg.apache.uima.resource.ResourceMetaData#getVendor()public void setVendor(java.lang.String aVendor)
FsIndexCollection
setVendor in interface FsIndexCollectionaVendor - the vendor of this FS Index Collection, as a String, null if none has been specified.org.apache.uima.resource.ResourceMetaData#setVendor(String)public Import[] getImports()
FsIndexCollection
getImports in interface FsIndexCollectionpublic void setImports(Import[] aImports)
FsIndexCollection
setImports in interface FsIndexCollectionaImports - an array of imports declared by this FS Index Collection.public FsIndexDescription[] getFsIndexes()
FsIndexCollectionCAS.
getFsIndexes in interface FsIndexCollectionpublic void setFsIndexes(FsIndexDescription[] aFSIndexes)
FsIndexCollectionCAS.
setFsIndexes in interface FsIndexCollectionaFSIndexes - a description of the FS Indexes that comprise this FS Index Collectionpublic void addFsIndex(FsIndexDescription aFsIndexDescription)
FsIndexCollection
addFsIndex in interface FsIndexCollectionaFsIndexDescription - the FS Index description to addpublic void removeFsIndex(FsIndexDescription aFsIndexDescription)
FsIndexCollection
removeFsIndex in interface FsIndexCollectionaFsIndexDescription - the FS Index description to remove (must be == with an FsIndexDescription in this
collection, or this method will do nothing).
public void resolveImports()
throws InvalidXMLException
FsIndexCollectionfsIndexes
list. The import elements are then deleted, so this results in a structure that is equivalent
to the imported elements having been defined locally.
resolveImports in interface FsIndexCollectionInvalidXMLException - if either the import target does not exist or is invalid
public void resolveImports(ResourceManager aResourceManager)
throws InvalidXMLException
FsIndexCollectionfsIndexes
list. The import elements are then deleted, so this results in a structure that is equivalent
to the imported elements having been defined locally.
resolveImports in interface FsIndexCollectionaResourceManager - the Resource Manager used to locate FS Index Collections imported by name. For
example, the path in which to locate these FS Index Collections can be set via the
ResourceManager.setDataPath(String) method.
InvalidXMLException - if either the import target does not exist or is invalid
public void resolveImports(java.util.Collection<java.lang.String> aAlreadyImportedFsIndexURLs,
ResourceManager aResourceManager)
throws InvalidXMLException
FsIndexCollectionfsIndexes
list. The import elements are then deleted, so this results in a structure that is equivalent
to the imported elements having been defined locally.
This version is used internally to resolve nested imports.
resolveImports in interface FsIndexCollectionaAlreadyImportedFsIndexURLs - URLs of already imported FS Index Collections, so we don't import them again.aResourceManager - the Resource Manager used to locate FS Index Collections imported by name. For
example, the path in which to locate these FS Index Collections can be set via the
ResourceManager.setDataPath(String) method.
InvalidXMLException - if either the import target does not exist or is invalidprotected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo in class MetaDataObject_impl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||