public class CustomResourceSpecifier_impl extends MetaDataObject_impl implements CustomResourceSpecifier
CustomResourceSpecifier
.MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
serialContext
Constructor and Description |
---|
CustomResourceSpecifier_impl() |
Modifier and Type | Method and Description |
---|---|
Parameter[] |
getParameters()
Gets parameters that may be read by the custom resource class when it is initialized.
|
String |
getResourceClassName()
Retrieves the name of the Java class that will be instantiated when
one of the
UIMAFramework.produceXXX(ResourceSpecifier,...) methods is called
with this resource specifier. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object
in XML.
|
void |
setParameters(Parameter[] aParameters)
Sets parameters that may be read by the custom resource class when it is initialized.
|
void |
setResourceClassName(String aResourceClassName)
Setss the name of the Java class that will be instantiated when
one of the
UIMAFramework.produceXXX(ResourceSpecifier,...) methods is called
with this resource specifier. |
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
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
public Parameter[] getParameters()
CustomResourceSpecifier
getParameters
in interface CustomResourceSpecifier
null
.public String getResourceClassName()
CustomResourceSpecifier
UIMAFramework.produceXXX(ResourceSpecifier,...)
methods is called
with this resource specifier.getResourceClassName
in interface CustomResourceSpecifier
Resource
.public void setParameters(Parameter[] aParameters)
CustomResourceSpecifier
setParameters
in interface CustomResourceSpecifier
aParameters
- the Parameters to set.public void setResourceClassName(String aResourceClassName)
CustomResourceSpecifier
UIMAFramework.produceXXX(ResourceSpecifier,...)
methods is called
with this resource specifier.setResourceClassName
in interface CustomResourceSpecifier
aResourceClassName
- a fully-qualified Java class name. The named class should implement Resource
.protected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class MetaDataObject_impl
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.