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
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets 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 XmlizationInfoTo be implemented by subclasses to return information describing how to represent this object in XML.voidsetParameters(Parameter... parameters) Deprecated.voidsetPearParameters(NameValuePair... pearParameters) Sets pearParameters that may be read by the pear resource class when it is initialized.voidsetPearPath(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, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlMethods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
Constructor Details
-
PearSpecifier_impl
public PearSpecifier_impl()Creates a newPearSpecifier_impl.
-
-
Method Details
-
getParameters
Deprecated.Description copied from interface:PearSpecifierGets legacy string-valued parameters that may be read by the pear resource class when it is initialized. These parameters are represented as follows in the PEAR specifier XML:<parameters> <parameter name="param1" value="val1"/> </parameters>- Specified by:
getParametersin interfacePearSpecifier- Returns:
- an array of parameters. This will never return
null.
-
getPearParameters
Description copied from interface:PearSpecifierGets parameters that may be read by the pear resource class when it is initialized. These parameters are represented as follows in the PEAR specifier XML:<pearParameters> <nameValuePair> <name>param1</name> <value><string>val1</string></value> </nameValuePair> </pearParameters>- Specified by:
getPearParametersin interfacePearSpecifier- Returns:
- an array of pearParameters. This will never return
null.
-
setParameters
Deprecated.Description copied from interface:PearSpecifierSets legacy string-valued parameters that may be read by the pear resource class when it is initialized.- Specified by:
setParametersin interfacePearSpecifier- Parameters:
parameters- the Parameters to set.- See Also:
-
setPearParameters
Description copied from interface:PearSpecifierSets pearParameters that may be read by the pear resource class when it is initialized.- Specified by:
setPearParametersin interfacePearSpecifier- Parameters:
pearParameters- the pearParameters to set.- See Also:
-
getPearPath
Description copied from interface:PearSpecifierRetrieves the PEAR path at which the pear Resource is located.- Specified by:
getPearPathin interfacePearSpecifier- Returns:
- a string
-
setPearPath
Description copied from interface:PearSpecifierSets the PEAR path at which a Resource is located.- Specified by:
setPearPathin interfacePearSpecifier- Parameters:
aPearPath- a pear path string
-
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
-