|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.impl.CustomResourceSpecifier_impl
public class CustomResourceSpecifier_impl
Implementation of CustomResourceSpecifier
.
Constructor Summary | |
---|---|
CustomResourceSpecifier_impl()
|
Method Summary | |
---|---|
Parameter[] |
getParameters()
Gets parameters that may be read by the custom resource class when it is initialized. |
java.lang.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(java.lang.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. |
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 Detail |
---|
public CustomResourceSpecifier_impl()
Method Detail |
---|
public Parameter[] getParameters()
CustomResourceSpecifier
getParameters
in interface CustomResourceSpecifier
null
.public java.lang.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(java.lang.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |