org.apache.uima.resource.impl
Class FileResourceSpecifier_impl

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

public class FileResourceSpecifier_impl
extends MetaDataObject_impl
implements FileResourceSpecifier

Reference implementation of FileResourceSpecifier.

See Also:
Serialized Form

Constructor Summary
FileResourceSpecifier_impl()
          Creates a new FileResourceSpecifier_impl.
 
Method Summary
 java.lang.String getFileUrl()
          Retrieves the URL of the file.
 java.lang.String getLocalCache()
          Gets the file name for the local cache of a remote resource file.
protected  XmlizationInfo getXmlizationInfo()
          To be implemented by subclasses to return information describing how to represent this object in XML.
 void setFileUrl(java.lang.String aUrl)
          Sets the URL of the file.
 void setLocalCache(java.lang.String aFileName)
          Sets the file name for the local cache of a remote resource file.
 
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

FileResourceSpecifier_impl

public FileResourceSpecifier_impl()
Creates a new FileResourceSpecifier_impl.

Method Detail

getFileUrl

public java.lang.String getFileUrl()
Description copied from interface: FileResourceSpecifier
Retrieves the URL of the file.

Specified by:
getFileUrl in interface FileResourceSpecifier
Returns:
a URL string
See Also:
FileResourceSpecifier.getFileUrl()

setFileUrl

public void setFileUrl(java.lang.String aUrl)
Description copied from interface: FileResourceSpecifier
Sets the URL of the file.

Specified by:
setFileUrl in interface FileResourceSpecifier
Parameters:
aUrl - a URL string
See Also:
org.apache.uima.resource.FileResourceSpecifier#getFileUrl(String)

getLocalCache

public java.lang.String getLocalCache()
Description copied from interface: FileResourceSpecifier
Gets the file name for the local cache of a remote resource file. This is optional.

Specified by:
getLocalCache in interface FileResourceSpecifier
Returns:
the file name of the local cache, null if none.
See Also:
FileResourceSpecifier.getLocalCache()

setLocalCache

public void setLocalCache(java.lang.String aFileName)
Description copied from interface: FileResourceSpecifier
Sets the file name for the local cache of a remote resource file. This is optional.

Specified by:
setLocalCache in interface FileResourceSpecifier
Parameters:
aFileName - file name of the local cache, null if none.
See Also:
FileResourceSpecifier.setLocalCache(String)

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 © 2013. All Rights Reserved.