Class CpeComponentDescriptorImpl
- java.lang.Object
-
- org.apache.uima.resource.metadata.impl.MetaDataObject_impl
-
- org.apache.uima.collection.impl.metadata.cpe.CpeComponentDescriptorImpl
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,CpeComponentDescriptor,MetaDataObject,XMLizable
public class CpeComponentDescriptorImpl extends MetaDataObject_impl implements CpeComponentDescriptor
The Class CpeComponentDescriptorImpl.- 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 ImportmImportThe m import.private CpeIncludemIncludeThe m include.private static longserialVersionUIDThe Constant serialVersionUID.private static XmlizationInfoXMLIZATION_INFOThe Constant XMLIZATION_INFO.-
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
-
Constructor Summary
Constructors Constructor Description CpeComponentDescriptorImpl()Instantiates a new cpe component descriptor impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URLfindAbsoluteUrl(ResourceManager aResourceManager)Find absolute url.ImportgetImport()Gets the Import object that declares where the component descriptor is located.CpeIncludegetInclude()Returns component's descriptor file pathprotected XmlizationInfogetXmlizationInfo()To be implemented by subclasses to return information describing how to represent this object in XML.voidsetImport(Import aImport)Sets the Import object that declares where the component descriptor is located.voidsetInclude(CpeInclude aInclude)Sets component's descriptor file path-
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
The Constant serialVersionUID.- See Also:
- Constant Field Values
-
mInclude
private CpeInclude mInclude
The m include.
-
mImport
private Import mImport
The m import.
-
XMLIZATION_INFO
private static final XmlizationInfo XMLIZATION_INFO
The Constant XMLIZATION_INFO.
-
-
Method Detail
-
setInclude
public void setInclude(CpeInclude aInclude)
Description copied from interface:CpeComponentDescriptorSets component's descriptor file path- Specified by:
setIncludein interfaceCpeComponentDescriptor- Parameters:
aInclude- -CpeIncludecontaining file path
-
getInclude
public CpeInclude getInclude()
Description copied from interface:CpeComponentDescriptorReturns component's descriptor file path- Specified by:
getIncludein interfaceCpeComponentDescriptor- Returns:
CpeInclude
-
getImport
public Import getImport()
Description copied from interface:CpeComponentDescriptorGets the Import object that declares where the component descriptor is located. Import objects support locating the component descriptor either using a path that's relative to the CPE descriptor's location ("import by location") or using the classpath/datapath ("import by name").- Specified by:
getImportin interfaceCpeComponentDescriptor- Returns:
- the import, null if none
-
setImport
public void setImport(Import aImport)
Description copied from interface:CpeComponentDescriptorSets the Import object that declares where the component descriptor is located. Import objects support locating the component descriptor either using a path that's relative to the CPE descriptor's location ("import by location") or using the classpath/datapath ("import by name").- Specified by:
setImportin interfaceCpeComponentDescriptor- Parameters:
aImport- the import, null if none
-
findAbsoluteUrl
public java.net.URL findAbsoluteUrl(ResourceManager aResourceManager) throws ResourceConfigurationException
Find absolute url.- Specified by:
findAbsoluteUrlin interfaceCpeComponentDescriptor- Parameters:
aResourceManager- the a resource manager- Returns:
- the url
- Throws:
ResourceConfigurationException- the resource configuration exception- See Also:
CpeComponentDescriptor.findAbsoluteUrl(ResourceManager)
-
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
-
-