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, writePropertyAsElement
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
public java.lang.String getName()
ExternalResourceDescription
getName
in interface ExternalResourceDescription
org.apache.uima.analysis_engine.ExternalResourceDescription#getName()
public ResourceSpecifier getResourceSpecifier()
ExternalResourceDescription
ResourceSpecifier
that describes how to create the resource.getResourceSpecifier
in interface ExternalResourceDescription
ResourceSpecifier
for this external resourceorg.apache.uima.analysis_engine.ExternalResourceDescription#getResourceSpecifier()
public java.lang.String getImplementationName()
ExternalResourceDescription
SharedResourceObject
as well as the interface specified
by ExternalResourceDependency.getInterfaceName()
.getImplementationName
in interface ExternalResourceDescription
org.apache.uima.analysis_engine.ExternalResourceDescription#getImplementationName()
public void setName(java.lang.String aName)
ExternalResourceDescription
setName
in interface ExternalResourceDescription
aName
- the name of this resource.org.apache.uima.analysis_engine.ExternalResourceDescription#setName(String)
public void setResourceSpecifier(ResourceSpecifier aSpecifier)
ExternalResourceDescription
ResourceSpecifier
that describes how to create the resource.setResourceSpecifier
in interface ExternalResourceDescription
aSpecifier
- the ResourceSpecifier
for this external resourceorg.apache.uima.analysis_engine.ExternalResourceDescription#setResourceSpecifier(ResourceSpecifier)
public void setImplementationName(java.lang.String aName)
ExternalResourceDescription
SharedResourceObject
as well as the interface specified by
ExternalResourceDependency.getInterfaceName()
.setImplementationName
in interface ExternalResourceDescription
aName
- 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 ExternalResourceDescription
org.apache.uima.analysis_engine.ExternalResourceDescription#getDescription()
public void setDescription(java.lang.String aDescription)
ExternalResourceDescription
setDescription
in interface ExternalResourceDescription
aDescription
- 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
Copyright © 2013. All Rights Reserved.