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.
9/2013: toXML and buildFromXMLElement not overridden... Therefore, we override the toXML() method
and the buildFromXMLElement(Element,XMLParser) method.MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.SerializerserialContextEMPTY_EXTERNAL_RESORUCE_DESCRIPTIONS| Constructor and Description |
|---|
ExternalResourceDescription_impl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Retrieves the textual description of the resource.
|
String |
getImplementationName()
Retrieves the name of the Java class to be instantiated from the resource data.
|
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(String aDescription)
Retrieves the textual description of the resource.
|
void |
setImplementationName(String aName)
Sets the name of the Java class to be instantiated from the resource data.
|
void |
setName(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, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlbuildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXMLpublic String getName()
ExternalResourceDescriptiongetName in interface ExternalResourceDescriptionExternalResourceDescription.getName()public ResourceSpecifier getResourceSpecifier()
ExternalResourceDescriptionResourceSpecifier that describes how to create the resource.getResourceSpecifier in interface ExternalResourceDescriptionResourceSpecifier for this external resourceExternalResourceDescription.getResourceSpecifier()public String getImplementationName()
ExternalResourceDescriptionSharedResourceObject as well as the interface specified
by ExternalResourceDependency.getInterfaceName().getImplementationName in interface ExternalResourceDescriptionExternalResourceDescription.getImplementationName()public void setName(String aName)
ExternalResourceDescriptionsetName in interface ExternalResourceDescriptionaName - the name of this resource.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 resourceExternalResourceDescription.setResourceSpecifier(ResourceSpecifier)public void setImplementationName(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 accessExternalResourceDescription.setImplementationName(String)public String getDescription()
ExternalResourceDescriptiongetDescription in interface ExternalResourceDescriptionExternalResourceDescription.getDescription()public void setDescription(String aDescription)
ExternalResourceDescriptionsetDescription in interface ExternalResourceDescriptionaDescription - the textual description of the resource.ExternalResourceDescription.setDescription(java.lang.String)protected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.