Package org.apache.uima.resource.impl
Class PearSpecifier_impl
java.lang.Object
org.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.impl.PearSpecifier_impl
- All Implemented Interfaces:
Serializable
,Cloneable
,MetaDataObject
,PearSpecifier
,ResourceServiceSpecifier
,ResourceSpecifier
,XMLizable
Reference implementation of
PearSpecifier
.- 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
FieldsModifier and TypeFieldDescriptionprivate Parameter[]
private String
PEAR path setting(package private) static final long
private static final XmlizationInfo
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets parameters that may be read by the pear resource class when it is initialized.Retrieves the PEAR path at which the pear Resource is located.protected XmlizationInfo
To be implemented by subclasses to return information describing how to represent this object in XML.void
setParameters
(Parameter[] parameters) Sets parameters that may be read by the pear resource class when it is initialized.void
setPearPath
(String aPearPath) Sets the PEAR path at which a Resource is located.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, 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 Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
mPearPath
PEAR path setting -
mParameters
-
XMLIZATION_INFO
-
-
Constructor Details
-
PearSpecifier_impl
public PearSpecifier_impl()Creates a newPearSpecifier_impl
.
-
-
Method Details
-
getParameters
Description copied from interface:PearSpecifier
Gets parameters that may be read by the pear resource class when it is initialized.- Specified by:
getParameters
in interfacePearSpecifier
- Returns:
- Returns the Parameters.
-
setParameters
Description copied from interface:PearSpecifier
Sets parameters that may be read by the pear resource class when it is initialized.- Specified by:
setParameters
in interfacePearSpecifier
- Parameters:
parameters
- The Parameters to set.
-
getPearPath
Description copied from interface:PearSpecifier
Retrieves the PEAR path at which the pear Resource is located.- Specified by:
getPearPath
in interfacePearSpecifier
- Returns:
- a string
-
setPearPath
Description copied from interface:PearSpecifier
Sets the PEAR path at which a Resource is located.- Specified by:
setPearPath
in interfacePearSpecifier
- Parameters:
aPearPath
- a pear path string
-
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
-