Examples of ll_getStringSet()


Examples of org.apache.uima.cas.impl.LowLevelTypeSystem.ll_getStringSet()

   
    if (ts.getType(CAS.TYPE_NAME_STRING).equals(type) ||
            ts.subsumes(ts.getType(CAS.TYPE_NAME_STRING), type)) {
      LowLevelTypeSystem lts = ts.getLowLevelTypeSystem();
      final int typeCode = lts.ll_getCodeForType(type);
      String[] strings = lts.ll_getStringSet(typeCode);
     
      return strings.length > 0;
    }
    else {
      return false;
View Full Code Here

Examples of org.apache.uima.cas.impl.LowLevelTypeSystem.ll_getStringSet()

    }
   
    LowLevelTypeSystem lts = ts.getLowLevelTypeSystem();
    final int typeCode = lts.ll_getCodeForType(type);
   
    return lts.ll_getStringSet(typeCode);
  }
 
}
View Full Code Here

Examples of org.apache.uima.cas.impl.LowLevelTypeSystem.ll_getStringSet()

   
    if (ts.getType(CAS.TYPE_NAME_STRING).equals(type) ||
            ts.subsumes(ts.getType(CAS.TYPE_NAME_STRING), type)) {
      LowLevelTypeSystem lts = ts.getLowLevelTypeSystem();
      final int typeCode = lts.ll_getCodeForType(type);
      String[] strings = lts.ll_getStringSet(typeCode);
     
      return strings.length > 0;
    }
    else {
      return false;
View Full Code Here

Examples of org.apache.uima.cas.impl.LowLevelTypeSystem.ll_getStringSet()

    }
   
    LowLevelTypeSystem lts = ts.getLowLevelTypeSystem();
    final int typeCode = lts.ll_getCodeForType(type);
   
    return lts.ll_getStringSet(typeCode);
  }
 
}
View Full Code Here

Examples of org.apache.uima.cas.impl.LowLevelTypeSystem.ll_getStringSet()

   * @return array of allowed values for <code>aType</code> TODO - this should be a method on
   *         Type.
   */
  public static String[] getAllowedValuesForType(Type aType, TypeSystem aTypeSystem) {
    LowLevelTypeSystem lts = aTypeSystem.getLowLevelTypeSystem();
    return lts.ll_getStringSet(lts.ll_getCodeForType(aType));
  }

}
View Full Code Here

Examples of org.apache.uima.cas.impl.LowLevelTypeSystem.ll_getStringSet()

   * @return array of allowed values for <code>aType</code> TODO - this should be a method on
   *         Type.
   */
  public static String[] getAllowedValuesForType(Type aType, TypeSystem aTypeSystem) {
    LowLevelTypeSystem lts = aTypeSystem.getLowLevelTypeSystem();
    return lts.ll_getStringSet(lts.ll_getCodeForType(aType));
  }

}
View Full Code Here

Examples of org.apache.uima.cas.impl.LowLevelTypeSystem.ll_getStringSet()

   * @return array of allowed values for <code>aType</code> TODO - this should be a method on
   *         Type.
   */
  public static String[] getAllowedValuesForType(Type aType, TypeSystem aTypeSystem) {
    LowLevelTypeSystem lts = aTypeSystem.getLowLevelTypeSystem();
    return lts.ll_getStringSet(lts.ll_getCodeForType(aType));
  }

}
View Full Code Here

Examples of org.apache.uima.cas.impl.LowLevelTypeSystem.ll_getStringSet()

   * @return array of allowed values for <code>aType</code> TODO - this should be a method on
   *         Type.
   */
  public static String[] getAllowedValuesForType(Type aType, TypeSystem aTypeSystem) {
    LowLevelTypeSystem lts = aTypeSystem.getLowLevelTypeSystem();
    return lts.ll_getStringSet(lts.ll_getCodeForType(aType));
  }

}
View Full Code Here

Examples of org.apache.uima.cas.impl.LowLevelTypeSystem.ll_getStringSet()

   * @return array of allowed values for <code>aType</code> TODO - this should be a method on
   *         Type.
   */
  public static String[] getAllowedValuesForType(Type aType, TypeSystem aTypeSystem) {
    LowLevelTypeSystem lts = aTypeSystem.getLowLevelTypeSystem();
    return lts.ll_getStringSet(lts.ll_getCodeForType(aType));
  }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.