public class ExternalResourceDescription_impl extends MetaDataObject_impl implements ExternalResourceDescription
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 and Description |
|---|
ExternalResourceDescription_impl() |
| Modifier and Type | Method and Description |
|---|---|
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. |
buildFromXMLElement, buildFromXMLElement, clone, equals, getAttributeClass, getAttributeValue, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, setAttributeValue, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlbuildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXMLpublic java.lang.String getName()
ExternalResourceDescriptiongetName 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)
ExternalResourceDescriptionsetName 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()
ExternalResourceDescriptiongetDescription in interface ExternalResourceDescriptionorg.apache.uima.analysis_engine.ExternalResourceDescription#getDescription()public void setDescription(java.lang.String aDescription)
ExternalResourceDescriptionsetDescription in interface ExternalResourceDescriptionaDescription - the textual description of the resource.org.apache.uima.analysis_engine.ExternalResourceDescription#setDescription(java.lang.String)protected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implCopyright © 2013. All Rights Reserved.