Class CpeComponentDescriptorImpl
java.lang.Object
org.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.collection.impl.metadata.cpe.CpeComponentDescriptorImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,CpeComponentDescriptor
,MetaDataObject
,XMLizable
public class CpeComponentDescriptorImpl
extends MetaDataObject_impl
implements CpeComponentDescriptor
The Class CpeComponentDescriptorImpl.
- See Also:
-
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 inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
Constructor Summary
ConstructorDescriptionInstantiates a new cpe component descriptor impl. -
Method Summary
Modifier and TypeMethodDescriptionfindAbsoluteUrl
(ResourceManager aResourceManager) Find absolute url.Gets the Import object that declares where the component descriptor is located.Returns component's descriptor file pathprotected XmlizationInfo
To be implemented by subclasses to return information describing how to represent this object in XML.void
Sets the Import object that declares where the component descriptor is located.void
setInclude
(CpeInclude aInclude) Sets component's descriptor file pathMethods 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
-
Constructor Details
-
CpeComponentDescriptorImpl
public CpeComponentDescriptorImpl()Instantiates a new cpe component descriptor impl.
-
-
Method Details
-
setInclude
Description copied from interface:CpeComponentDescriptor
Sets component's descriptor file path- Specified by:
setInclude
in interfaceCpeComponentDescriptor
- Parameters:
aInclude
- -CpeInclude
containing file path
-
getInclude
Description copied from interface:CpeComponentDescriptor
Returns component's descriptor file path- Specified by:
getInclude
in interfaceCpeComponentDescriptor
- Returns:
CpeInclude
-
getImport
Description copied from interface:CpeComponentDescriptor
Gets 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:
getImport
in interfaceCpeComponentDescriptor
- Returns:
- the import, null if none
-
setImport
Description copied from interface:CpeComponentDescriptor
Sets 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:
setImport
in interfaceCpeComponentDescriptor
- Parameters:
aImport
- the import, null if none
-
findAbsoluteUrl
Find absolute url.- Specified by:
findAbsoluteUrl
in interfaceCpeComponentDescriptor
- Parameters:
aResourceManager
- the a resource manager- Returns:
- the url
- Throws:
ResourceConfigurationException
- the resource configuration exception- See Also:
-
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 classMetaDataObject_impl
- Returns:
- information defining this object's XML representation
-