Package org.apache.uima.resource.impl
Class ConfigurableDataResourceSpecifier_impl
- java.lang.Object
-
- org.apache.uima.resource.metadata.impl.MetaDataObject_impl
-
- 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 ofFileResourceSpecifier.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceMetaDatamMetaDataResource metadata.private java.lang.StringmUrlURL of the data.private static longserialVersionUIDprivate static XmlizationInfoXMLIZATION_INFO-
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
-
Constructor Summary
Constructors Constructor Description ConfigurableDataResourceSpecifier_impl()Creates a newConfigurableDataResourceSpecifier_impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceMetaDatagetMetaData()Gets the metadata for this resource, which includes descriptive information as well as configuration settings.java.lang.StringgetUrl()Retrieves the URL of the data.protected XmlizationInfogetXmlizationInfo()To be implemented by subclasses to return information describing how to represent this object in XML.voidsetMetaData(ResourceMetaData aMetaData)Sets the metadata for this resource.voidsetUrl(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, 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, 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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
mUrl
private java.lang.String mUrl
URL of the data.
-
mMetaData
private ResourceMetaData mMetaData
Resource metadata.
-
XMLIZATION_INFO
private static final XmlizationInfo XMLIZATION_INFO
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
Description copied from interface:ConfigurableDataResourceSpecifierRetrieves the URL of the data.- Specified by:
getUrlin interfaceConfigurableDataResourceSpecifier- Returns:
- a URL string
- See Also:
ConfigurableDataResourceSpecifier.getUrl()
-
setUrl
public void setUrl(java.lang.String aUrl)
Description copied from interface:ConfigurableDataResourceSpecifierSets the URL of the data.- Specified by:
setUrlin interfaceConfigurableDataResourceSpecifier- Parameters:
aUrl- a URL string- See Also:
ConfigurableDataResourceSpecifier.setUrl(String)
-
getMetaData
public ResourceMetaData getMetaData()
Description copied from interface:ConfigurableDataResourceSpecifierGets the metadata for this resource, which includes descriptive information as well as configuration settings.- Specified by:
getMetaDatain interfaceConfigurableDataResourceSpecifier- Returns:
- the metadata for this resource
-
setMetaData
public void setMetaData(ResourceMetaData aMetaData)
Description copied from interface:ConfigurableDataResourceSpecifierSets the metadata for this resource.- Specified by:
setMetaDatain interfaceConfigurableDataResourceSpecifier- Parameters:
aMetaData- metadata to assign
-
getXmlizationInfo
protected XmlizationInfo getXmlizationInfo()
Description copied from class:MetaDataObject_implTo be implemented by subclasses to return information describing how to represent this object in XML.- Specified by:
getXmlizationInfoin classMetaDataObject_impl- Returns:
- information defining this object's XML representation
-
-