|
||||||||||
| 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.impl.ExternalResourceDescription_impl
public class ExternalResourceDescription_impl
Reference implementation of AnalysisEngineDescription. Note that this class has a
slightly nonstandard XML representation because the "key" property is represented in XML by an
attribute rather than a child element. Therefore, we override the #toXML() method and the
MetaDataObject_impl.buildFromXMLElement(Element,XMLParser) method.
| Constructor Summary | |
|---|---|
ExternalResourceDescription_impl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Retrieves the textual description of the resource. |
java.lang.String |
getImplementationName()
Retrieves the name of the Java class to be instantiated from the resource data. |
java.lang.String |
getName()
Retrieves the name by which the resource is identified. |
ResourceSpecifier |
getResourceSpecifier()
Retrieves the ResourceSpecifier that describes how to create the resource. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
void |
setDescription(java.lang.String aDescription)
Retrieves the textual description of the resource. |
void |
setImplementationName(java.lang.String aName)
Sets the name of the Java class to be instantiated from the resource data. |
void |
setName(java.lang.String aName)
Sets the name by which the resource is identified. |
void |
setResourceSpecifier(ResourceSpecifier aSpecifier)
Sets the ResourceSpecifier that describes how to create the resource. |
| 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 ExternalResourceDescription_impl()
| Method Detail |
|---|
public java.lang.String getName()
ExternalResourceDescription
getName in interface ExternalResourceDescriptionorg.apache.uima.analysis_engine.ExternalResourceDescription#getName()public ResourceSpecifier getResourceSpecifier()
ExternalResourceDescriptionResourceSpecifier that describes how to create the resource.
getResourceSpecifier in interface ExternalResourceDescriptionResourceSpecifier for this external resourceorg.apache.uima.analysis_engine.ExternalResourceDescription#getResourceSpecifier()public java.lang.String getImplementationName()
ExternalResourceDescriptionSharedResourceObject as well as the interface specified
by ExternalResourceDependency.getInterfaceName().
getImplementationName in interface ExternalResourceDescriptionorg.apache.uima.analysis_engine.ExternalResourceDescription#getImplementationName()public void setName(java.lang.String aName)
ExternalResourceDescription
setName in interface ExternalResourceDescriptionaName - the name of this resource.org.apache.uima.analysis_engine.ExternalResourceDescription#setName(String)public void setResourceSpecifier(ResourceSpecifier aSpecifier)
ExternalResourceDescriptionResourceSpecifier that describes how to create the resource.
setResourceSpecifier in interface ExternalResourceDescriptionaSpecifier - the ResourceSpecifier for this external resourceorg.apache.uima.analysis_engine.ExternalResourceDescription#setResourceSpecifier(ResourceSpecifier)public void setImplementationName(java.lang.String aName)
ExternalResourceDescriptionSharedResourceObject as well as the interface specified by
ExternalResourceDependency.getInterfaceName().
setImplementationName in interface ExternalResourceDescriptionaName - the name of the Java class implementing the resource accessorg.apache.uima.analysis_engine.ExternalResourceDescription#setImpelmentationName(String)public java.lang.String getDescription()
ExternalResourceDescription
getDescription in interface ExternalResourceDescriptionorg.apache.uima.analysis_engine.ExternalResourceDescription#getDescription()public void setDescription(java.lang.String aDescription)
ExternalResourceDescription
setDescription in interface ExternalResourceDescriptionaDescription - the textual description of the resource.org.apache.uima.analysis_engine.ExternalResourceDescription#setDescription(java.lang.String)protected 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 | |||||||||