Package org.apache.uima.resource.impl
Class CustomResourceSpecifier_impl
java.lang.Object
org.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.impl.CustomResourceSpecifier_impl
- All Implemented Interfaces:
Serializable,Cloneable,CustomResourceSpecifier,MetaDataObject,ResourceSpecifier,XMLizable
public class CustomResourceSpecifier_impl
extends MetaDataObject_impl
implements CustomResourceSpecifier
Implementation of
CustomResourceSpecifier.- 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 TypeMethodDescriptionGets parameters that may be read by the custom resource class when it is initialized.Retrieves the name of the Java class that will be instantiated when one of theUIMAFramework.produceXXX(ResourceSpecifier,...)methods is called with this resource specifier.protected XmlizationInfoTo be implemented by subclasses to return information describing how to represent this object in XML.voidsetParameters(Parameter[] aParameters) Sets parameters that may be read by the custom resource class when it is initialized.voidsetResourceClassName(String aResourceClassName) Setss the name of the Java class that will be instantiated when one of theUIMAFramework.produceXXX(ResourceSpecifier,...)methods is called with this resource specifier.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
-
CustomResourceSpecifier_impl
public CustomResourceSpecifier_impl()
-
-
Method Details
-
getParameters
Description copied from interface:CustomResourceSpecifierGets parameters that may be read by the custom resource class when it is initialized.- Specified by:
getParametersin interfaceCustomResourceSpecifier- Returns:
- an array of parameters. This will never return
null.
-
getResourceClassName
Description copied from interface:CustomResourceSpecifierRetrieves the name of the Java class that will be instantiated when one of theUIMAFramework.produceXXX(ResourceSpecifier,...)methods is called with this resource specifier.- Specified by:
getResourceClassNamein interfaceCustomResourceSpecifier- Returns:
- a fully-qualified Java class name. The named class should implement
Resource.
-
setParameters
Description copied from interface:CustomResourceSpecifierSets parameters that may be read by the custom resource class when it is initialized.- Specified by:
setParametersin interfaceCustomResourceSpecifier- Parameters:
aParameters- the Parameters to set.
-
setResourceClassName
Description copied from interface:CustomResourceSpecifierSetss the name of the Java class that will be instantiated when one of theUIMAFramework.produceXXX(ResourceSpecifier,...)methods is called with this resource specifier.- Specified by:
setResourceClassNamein interfaceCustomResourceSpecifier- Parameters:
aResourceClassName- a fully-qualified Java class name. The named class should implementResource.
-
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
-