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:
  • Constructor Details

    • CustomResourceSpecifier_impl

      public CustomResourceSpecifier_impl()
  • Method Details

    • getParameters

      public Parameter[] getParameters()
      Description copied from interface: CustomResourceSpecifier
      Gets parameters that may be read by the custom resource class when it is initialized.
      Specified by:
      getParameters in interface CustomResourceSpecifier
      Returns:
      an array of parameters. This will never return null.
    • getResourceClassName

      public String getResourceClassName()
      Description copied from interface: CustomResourceSpecifier
      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.
      Specified by:
      getResourceClassName in interface CustomResourceSpecifier
      Returns:
      a fully-qualified Java class name. The named class should implement Resource.
    • setParameters

      public void setParameters(Parameter[] aParameters)
      Description copied from interface: CustomResourceSpecifier
      Sets parameters that may be read by the custom resource class when it is initialized.
      Specified by:
      setParameters in interface CustomResourceSpecifier
      Parameters:
      aParameters - the Parameters to set.
    • setResourceClassName

      public void setResourceClassName(String aResourceClassName)
      Description copied from interface: CustomResourceSpecifier
      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.
      Specified by:
      setResourceClassName in interface CustomResourceSpecifier
      Parameters:
      aResourceClassName - a fully-qualified Java class name. The named class should implement Resource.
    • getXmlizationInfo

      protected XmlizationInfo 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 class MetaDataObject_impl
      Returns:
      information defining this object's XML representation