org.apache.uima.resource.impl
Class ConfigurableDataResourceSpecifier_impl

java.lang.Object
  extended by org.apache.uima.resource.metadata.impl.MetaDataObject_impl
      extended by org.apache.uima.resource.impl.ConfigurableDataResourceSpecifier_impl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ConfigurableDataResourceSpecifier, MetaDataObject, ResourceSpecifier, XMLizable

public class ConfigurableDataResourceSpecifier_impl
extends MetaDataObject_impl
implements ConfigurableDataResourceSpecifier

Reference implementation of FileResourceSpecifier.

See Also:
Serialized Form

Constructor Summary
ConfigurableDataResourceSpecifier_impl()
          Creates a new ConfigurableDataResourceSpecifier_impl.
 
Method Summary
 ResourceMetaData getMetaData()
          Gets the metadata for this resource, which includes descriptive information as well as configuration settings.
 java.lang.String getUrl()
          Retrieves the URL of the data.
protected  XmlizationInfo getXmlizationInfo()
          To be implemented by subclasses to return information describing how to represent this object in XML.
 void setMetaData(ResourceMetaData aMetaData)
          Sets the metadata for this resource.
 void setUrl(java.lang.String aUrl)
          Sets the URL of the data.
 
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
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
 
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

ConfigurableDataResourceSpecifier_impl

public ConfigurableDataResourceSpecifier_impl()
Creates a new ConfigurableDataResourceSpecifier_impl.

Method Detail

getUrl

public java.lang.String getUrl()
Description copied from interface: ConfigurableDataResourceSpecifier
Retrieves the URL of the data.

Specified by:
getUrl in interface ConfigurableDataResourceSpecifier
Returns:
a URL string
See Also:
ConfigurableDataResourceSpecifier.getUrl()

setUrl

public void setUrl(java.lang.String aUrl)
Description copied from interface: ConfigurableDataResourceSpecifier
Sets the URL of the data.

Specified by:
setUrl in interface ConfigurableDataResourceSpecifier
Parameters:
aUrl - a URL string
See Also:
org.apache.uima.resource.ConfigurableDataResourceSpecifier#getUrl(String)

getMetaData

public ResourceMetaData getMetaData()
Description copied from interface: ConfigurableDataResourceSpecifier
Gets the metadata for this resource, which includes descriptive information as well as configuration settings.

Specified by:
getMetaData in interface ConfigurableDataResourceSpecifier
Returns:
the metadata for this resource

setMetaData

public void setMetaData(ResourceMetaData aMetaData)
Description copied from interface: ConfigurableDataResourceSpecifier
Sets the metadata for this resource.

Specified by:
setMetaData in interface ConfigurableDataResourceSpecifier
Parameters:
aMetaData - metadata to assign

getXmlizationInfo

protected XmlizationInfo getXmlizationInfo()
Description copied from class: MetaDataObject_impl
To be implemented by subclasses to return information describing how to represent this object in XML.

Specified by:
getXmlizationInfo in class MetaDataObject_impl
Returns:
information defining this object's XML representation


Copyright © 2011. All Rights Reserved.