Package org.apache.uima.resource.impl

Examples of org.apache.uima.resource.impl.ExternalResourceDependency_impl


  private ExternalResourceDependency addNewExternalResourceDependency(
          AddExternalResourceDependencyDialog dialog) {
    ExternalResourceDependency[] xrds = getExternalResourceDependencies();

    ExternalResourceDependency xrd = new ExternalResourceDependency_impl();
    alterExistingExternalResourceDependency(xrd, dialog);

    if (null == xrds)
      editor.getAeDescription().setExternalResourceDependencies(
              new ExternalResourceDependency[] { xrd });
View Full Code Here


  private ExternalResourceDependency addNewExternalResourceDependency(
          AddExternalResourceDependencyDialog dialog) {
    ExternalResourceDependency[] xrds = getExternalResourceDependencies();

    ExternalResourceDependency xrd = new ExternalResourceDependency_impl();
    alterExistingExternalResourceDependency(xrd, dialog);

    if (null == xrds)
      editor.getAeDescription().setExternalResourceDependencies(
              new ExternalResourceDependency[] { xrd });
View Full Code Here

   * @param aOptional
   *          determines whether the dependency is optional
   */
  public static ExternalResourceDependency createExternalResourceDependency(final String aKey,
          final Class<?> aInterface, final boolean aOptional, String aDescription) {
    ExternalResourceDependency dep = new ExternalResourceDependency_impl();
    dep.setInterfaceName(aInterface.getName());
    dep.setKey(aKey);
    dep.setOptional(aOptional);
    dep.setDescription(aDescription);
    return dep;
  }
View Full Code Here

   *          a description of the resource
   * @return the external resource dependency
   */
  public static ExternalResourceDependency createExternalResourceDependency(final String aKey,
          final Class<?> aInterface, final boolean aOptional, String aDescription) {
    ExternalResourceDependency dep = new ExternalResourceDependency_impl();
    dep.setInterfaceName(aInterface.getName());
    dep.setKey(aKey);
    dep.setOptional(aOptional);
    dep.setDescription(aDescription);
    return dep;
  }
View Full Code Here

TOP

Related Classes of org.apache.uima.resource.impl.ExternalResourceDependency_impl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.