Examples of PathValid


Examples of org.apache.uima.cas.impl.TypeSystemUtils.PathValid

      // the path is still ever valid so we have to evaluate the path on the
      // fly.
      if (this.ll_featurePathElements != null) {

         // check if featurePath is still always valid
         PathValid pathValid = TypeSystemUtils.isPathValid(
               this.featurePathBaseType, this.featurePathElementNames);
         if (PathValid.ALWAYS == pathValid) {
            LowLevelTypeSystem llTypeSystem = ((TypeImpl) this.featurePathBaseType)
                  .getTypeSystem().getLowLevelTypeSystem();
            this.ll_featurePathElements.add(llTypeSystem
View Full Code Here

Examples of org.apache.uima.cas.impl.TypeSystemUtils.PathValid

         this.featurePathBaseType = featurePathType;
         this.featurePathBaseTypeCode = llTypeSystem
               .ll_getCodeForType(featurePathType);

         // validate featurePath for given type
         PathValid pathValid = TypeSystemUtils.isPathValid(featurePathType,
               this.featurePathElementNames);
         if (PathValid.NEVER == pathValid) {
            // invalid featurePath - throw an configuration exception
            throw new CASException(MESSAGE_DIGEST,
                  "ERROR_VALIDATE_FEATURE_PATH", new Object[] {
View Full Code Here

Examples of org.apache.uima.cas.impl.TypeSystemUtils.PathValid

    * @throws DictionaryAnnotatorProcessException
    */
   public void typeSystemInit(Type featurePathType)
         throws DictionaryAnnotatorProcessException {
      // validate featurePath for given type
      PathValid pathValid = TypeSystemUtils.isPathValid(featurePathType,
            this.featurePathElementNames);
      if (PathValid.NEVER == pathValid) {
         // invalid featurePath - throw an configuration exception
         throw new DictionaryAnnotatorProcessException(
               "dictionary_annotator_error_validating_feature_path",
View Full Code Here

Examples of org.apache.uima.cas.impl.TypeSystemUtils.PathValid

            String token = tokenizer.nextToken();
            this.featurePathElementNames.add(token);
         }

         // validate featurePath for given type
         PathValid pathValid = TypeSystemUtils.isPathValid(type,
               this.featurePathElementNames);
         if (PathValid.NEVER == pathValid) {
            // invalid featurePath - throw an configuration exception
            throw new RegexAnnotatorConfigException(
                  "regex_annotator_error_validating_feature_path",
View Full Code Here

Examples of org.apache.uima.cas.impl.TypeSystemUtils.PathValid

      // the path is still ever valid so we have to evaluate the path on the
      // fly.
      if (this.ll_featurePathElements != null) {

         // check if featurePath is still always valid
         PathValid pathValid = TypeSystemUtils.isPathValid(
               this.featurePathBaseType, this.featurePathElementNames);
         if (PathValid.ALWAYS == pathValid) {
            LowLevelTypeSystem llTypeSystem = ((TypeImpl) this.featurePathBaseType)
                  .getTypeSystem().getLowLevelTypeSystem();
            this.ll_featurePathElements.add(llTypeSystem
View Full Code Here

Examples of org.apache.uima.cas.impl.TypeSystemUtils.PathValid

         this.featurePathBaseType = featurePathType;
         this.featurePathBaseTypeCode = llTypeSystem
               .ll_getCodeForType(featurePathType);

         // validate featurePath for given type
         PathValid pathValid = TypeSystemUtils.isPathValid(featurePathType,
               this.featurePathElementNames);
         if (PathValid.NEVER == pathValid) {
            // invalid featurePath - throw an configuration exception
            throw new CASException(MESSAGE_DIGEST,
                  "ERROR_VALIDATE_FEATURE_PATH", new Object[] {
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.