You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by pk...@apache.org on 2012/02/13 18:45:05 UTC

svn commit: r1243619 [20/25] - in /uima/sandbox/trunk/TextMarker: uimaj-ep-textmarker-addons/ uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/addons/ uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/explain/apply/...

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugEvaluatedCondition.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugEvaluatedCondition.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugEvaluatedCondition.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugEvaluatedCondition.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,124 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.FSArray;
+import org.apache.uima.jcas.cas.TOP;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * XML source: D:/work/workspace-uima3/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/engine/BasicTypeSystem.xml
+ * @generated */
+public class DebugEvaluatedCondition extends TOP {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(DebugEvaluatedCondition.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected DebugEvaluatedCondition() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public DebugEvaluatedCondition(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public DebugEvaluatedCondition(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: element
+
+  /** getter for element - gets 
+   * @generated */
+  public String getElement() {
+    if (DebugEvaluatedCondition_Type.featOkTst && ((DebugEvaluatedCondition_Type)jcasType).casFeat_element == null)
+      jcasType.jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((DebugEvaluatedCondition_Type)jcasType).casFeatCode_element);}
+    
+  /** setter for element - sets  
+   * @generated */
+  public void setElement(String v) {
+    if (DebugEvaluatedCondition_Type.featOkTst && ((DebugEvaluatedCondition_Type)jcasType).casFeat_element == null)
+      jcasType.jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    jcasType.ll_cas.ll_setStringValue(addr, ((DebugEvaluatedCondition_Type)jcasType).casFeatCode_element, v);}    
+   
+    
+  //*--------------*
+  //* Feature: value
+
+  /** getter for value - gets 
+   * @generated */
+  public boolean getValue() {
+    if (DebugEvaluatedCondition_Type.featOkTst && ((DebugEvaluatedCondition_Type)jcasType).casFeat_value == null)
+      jcasType.jcas.throwFeatMissing("value", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    return jcasType.ll_cas.ll_getBooleanValue(addr, ((DebugEvaluatedCondition_Type)jcasType).casFeatCode_value);}
+    
+  /** setter for value - sets  
+   * @generated */
+  public void setValue(boolean v) {
+    if (DebugEvaluatedCondition_Type.featOkTst && ((DebugEvaluatedCondition_Type)jcasType).casFeat_value == null)
+      jcasType.jcas.throwFeatMissing("value", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    jcasType.ll_cas.ll_setBooleanValue(addr, ((DebugEvaluatedCondition_Type)jcasType).casFeatCode_value, v);}    
+   
+    
+  //*--------------*
+  //* Feature: conditions
+
+  /** getter for conditions - gets 
+   * @generated */
+  public FSArray getConditions() {
+    if (DebugEvaluatedCondition_Type.featOkTst && ((DebugEvaluatedCondition_Type)jcasType).casFeat_conditions == null)
+      jcasType.jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((DebugEvaluatedCondition_Type)jcasType).casFeatCode_conditions)));}
+    
+  /** setter for conditions - sets  
+   * @generated */
+  public void setConditions(FSArray v) {
+    if (DebugEvaluatedCondition_Type.featOkTst && ((DebugEvaluatedCondition_Type)jcasType).casFeat_conditions == null)
+      jcasType.jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    jcasType.ll_cas.ll_setRefValue(addr, ((DebugEvaluatedCondition_Type)jcasType).casFeatCode_conditions, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for conditions - gets an indexed value - 
+   * @generated */
+  public DebugEvaluatedCondition getConditions(int i) {
+    if (DebugEvaluatedCondition_Type.featOkTst && ((DebugEvaluatedCondition_Type)jcasType).casFeat_conditions == null)
+      jcasType.jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugEvaluatedCondition_Type)jcasType).casFeatCode_conditions), i);
+    return (DebugEvaluatedCondition)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugEvaluatedCondition_Type)jcasType).casFeatCode_conditions), i)));}
+
+  /** indexed setter for conditions - sets an indexed value - 
+   * @generated */
+  public void setConditions(int i, DebugEvaluatedCondition v) { 
+    if (DebugEvaluatedCondition_Type.featOkTst && ((DebugEvaluatedCondition_Type)jcasType).casFeat_conditions == null)
+      jcasType.jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugEvaluatedCondition_Type)jcasType).casFeatCode_conditions), i);
+    jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugEvaluatedCondition_Type)jcasType).casFeatCode_conditions), i, jcasType.ll_cas.ll_getFSRef(v));}
+  }
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugEvaluatedCondition_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugEvaluatedCondition_Type.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugEvaluatedCondition_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugEvaluatedCondition_Type.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,142 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * @generated */
+public class DebugEvaluatedCondition_Type extends TOP_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (DebugEvaluatedCondition_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = DebugEvaluatedCondition_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new DebugEvaluatedCondition(addr, DebugEvaluatedCondition_Type.this);
+  			   DebugEvaluatedCondition_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new DebugEvaluatedCondition(addr, DebugEvaluatedCondition_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = DebugEvaluatedCondition.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+ 
+  /** @generated */
+  final Feature casFeat_element;
+  /** @generated */
+  final int     casFeatCode_element;
+  /** @generated */ 
+  public String getElement(int addr) {
+        if (featOkTst && casFeat_element == null)
+      jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_element);
+  }
+  /** @generated */    
+  public void setElement(int addr, String v) {
+        if (featOkTst && casFeat_element == null)
+      jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    ll_cas.ll_setStringValue(addr, casFeatCode_element, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_value;
+  /** @generated */
+  final int     casFeatCode_value;
+  /** @generated */ 
+  public boolean getValue(int addr) {
+        if (featOkTst && casFeat_value == null)
+      jcas.throwFeatMissing("value", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    return ll_cas.ll_getBooleanValue(addr, casFeatCode_value);
+  }
+  /** @generated */    
+  public void setValue(int addr, boolean v) {
+        if (featOkTst && casFeat_value == null)
+      jcas.throwFeatMissing("value", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    ll_cas.ll_setBooleanValue(addr, casFeatCode_value, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_conditions;
+  /** @generated */
+  final int     casFeatCode_conditions;
+  /** @generated */ 
+  public int getConditions(int addr) {
+        if (featOkTst && casFeat_conditions == null)
+      jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_conditions);
+  }
+  /** @generated */    
+  public void setConditions(int addr, int v) {
+        if (featOkTst && casFeat_conditions == null)
+      jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    ll_cas.ll_setRefValue(addr, casFeatCode_conditions, v);}
+    
+   /** @generated */
+  public int getConditions(int addr, int i) {
+        if (featOkTst && casFeat_conditions == null)
+      jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    if (lowLevelTypeChecks)
+      return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i);
+  return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i);
+  }
+   
+  /** @generated */ 
+  public void setConditions(int addr, int i, int v) {
+        if (featOkTst && casFeat_conditions == null)
+      jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugEvaluatedCondition");
+    if (lowLevelTypeChecks)
+      ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i, v, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i);
+    ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i, v);
+  }
+ 
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public DebugEvaluatedCondition_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_element = jcas.getRequiredFeatureDE(casType, "element", "uima.cas.String", featOkTst);
+    casFeatCode_element  = (null == casFeat_element) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_element).getCode();
+
+ 
+    casFeat_value = jcas.getRequiredFeatureDE(casType, "value", "uima.cas.Boolean", featOkTst);
+    casFeatCode_value  = (null == casFeat_value) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_value).getCode();
+
+ 
+    casFeat_conditions = jcas.getRequiredFeatureDE(casType, "conditions", "uima.cas.FSArray", featOkTst);
+    casFeatCode_conditions  = (null == casFeat_conditions) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_conditions).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugFailedRuleMatch.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugFailedRuleMatch.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugFailedRuleMatch.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugFailedRuleMatch.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,61 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * XML source: D:/work/workspace-uima3/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/engine/BasicTypeSystem.xml
+ * @generated */
+public class DebugFailedRuleMatch extends DebugRuleMatch {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(DebugFailedRuleMatch.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected DebugFailedRuleMatch() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public DebugFailedRuleMatch(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public DebugFailedRuleMatch(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** @generated */  
+  public DebugFailedRuleMatch(JCas jcas, int begin, int end) {
+    super(jcas);
+    setBegin(begin);
+    setEnd(end);
+    readObject();
+  }   
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+}
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugFailedRuleMatch_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugFailedRuleMatch_Type.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugFailedRuleMatch_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugFailedRuleMatch_Type.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,54 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * @generated */
+public class DebugFailedRuleMatch_Type extends DebugRuleMatch_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (DebugFailedRuleMatch_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = DebugFailedRuleMatch_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new DebugFailedRuleMatch(addr, DebugFailedRuleMatch_Type.this);
+  			   DebugFailedRuleMatch_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new DebugFailedRuleMatch(addr, DebugFailedRuleMatch_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = DebugFailedRuleMatch.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.DebugFailedRuleMatch");
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public DebugFailedRuleMatch_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugMatchedRuleMatch.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugMatchedRuleMatch.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugMatchedRuleMatch.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugMatchedRuleMatch.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,61 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * XML source: D:/work/workspace-uima3/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/engine/BasicTypeSystem.xml
+ * @generated */
+public class DebugMatchedRuleMatch extends DebugRuleMatch {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(DebugMatchedRuleMatch.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected DebugMatchedRuleMatch() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public DebugMatchedRuleMatch(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public DebugMatchedRuleMatch(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** @generated */  
+  public DebugMatchedRuleMatch(JCas jcas, int begin, int end) {
+    super(jcas);
+    setBegin(begin);
+    setEnd(end);
+    readObject();
+  }   
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+}
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugMatchedRuleMatch_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugMatchedRuleMatch_Type.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugMatchedRuleMatch_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugMatchedRuleMatch_Type.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,54 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * @generated */
+public class DebugMatchedRuleMatch_Type extends DebugRuleMatch_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (DebugMatchedRuleMatch_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = DebugMatchedRuleMatch_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new DebugMatchedRuleMatch(addr, DebugMatchedRuleMatch_Type.this);
+  			   DebugMatchedRuleMatch_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new DebugMatchedRuleMatch(addr, DebugMatchedRuleMatch_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = DebugMatchedRuleMatch.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.DebugMatchedRuleMatch");
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public DebugMatchedRuleMatch_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleApply.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleApply.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleApply.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleApply.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,131 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.FSArray;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * XML source: D:/work/workspace-uima3/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/engine/BasicTypeSystem.xml
+ * @generated */
+public class DebugRuleApply extends DebugScriptApply {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(DebugRuleApply.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected DebugRuleApply() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public DebugRuleApply(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public DebugRuleApply(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** @generated */  
+  public DebugRuleApply(JCas jcas, int begin, int end) {
+    super(jcas);
+    setBegin(begin);
+    setEnd(end);
+    readObject();
+  }   
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: applied
+
+  /** getter for applied - gets 
+   * @generated */
+  public int getApplied() {
+    if (DebugRuleApply_Type.featOkTst && ((DebugRuleApply_Type)jcasType).casFeat_applied == null)
+      jcasType.jcas.throwFeatMissing("applied", "org.apache.uima.textmarker.type.DebugRuleApply");
+    return jcasType.ll_cas.ll_getIntValue(addr, ((DebugRuleApply_Type)jcasType).casFeatCode_applied);}
+    
+  /** setter for applied - sets  
+   * @generated */
+  public void setApplied(int v) {
+    if (DebugRuleApply_Type.featOkTst && ((DebugRuleApply_Type)jcasType).casFeat_applied == null)
+      jcasType.jcas.throwFeatMissing("applied", "org.apache.uima.textmarker.type.DebugRuleApply");
+    jcasType.ll_cas.ll_setIntValue(addr, ((DebugRuleApply_Type)jcasType).casFeatCode_applied, v);}    
+   
+    
+  //*--------------*
+  //* Feature: tried
+
+  /** getter for tried - gets 
+   * @generated */
+  public int getTried() {
+    if (DebugRuleApply_Type.featOkTst && ((DebugRuleApply_Type)jcasType).casFeat_tried == null)
+      jcasType.jcas.throwFeatMissing("tried", "org.apache.uima.textmarker.type.DebugRuleApply");
+    return jcasType.ll_cas.ll_getIntValue(addr, ((DebugRuleApply_Type)jcasType).casFeatCode_tried);}
+    
+  /** setter for tried - sets  
+   * @generated */
+  public void setTried(int v) {
+    if (DebugRuleApply_Type.featOkTst && ((DebugRuleApply_Type)jcasType).casFeat_tried == null)
+      jcasType.jcas.throwFeatMissing("tried", "org.apache.uima.textmarker.type.DebugRuleApply");
+    jcasType.ll_cas.ll_setIntValue(addr, ((DebugRuleApply_Type)jcasType).casFeatCode_tried, v);}    
+   
+    
+  //*--------------*
+  //* Feature: rules
+
+  /** getter for rules - gets 
+   * @generated */
+  public FSArray getRules() {
+    if (DebugRuleApply_Type.featOkTst && ((DebugRuleApply_Type)jcasType).casFeat_rules == null)
+      jcasType.jcas.throwFeatMissing("rules", "org.apache.uima.textmarker.type.DebugRuleApply");
+    return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleApply_Type)jcasType).casFeatCode_rules)));}
+    
+  /** setter for rules - sets  
+   * @generated */
+  public void setRules(FSArray v) {
+    if (DebugRuleApply_Type.featOkTst && ((DebugRuleApply_Type)jcasType).casFeat_rules == null)
+      jcasType.jcas.throwFeatMissing("rules", "org.apache.uima.textmarker.type.DebugRuleApply");
+    jcasType.ll_cas.ll_setRefValue(addr, ((DebugRuleApply_Type)jcasType).casFeatCode_rules, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for rules - gets an indexed value - 
+   * @generated */
+  public DebugRuleMatch getRules(int i) {
+    if (DebugRuleApply_Type.featOkTst && ((DebugRuleApply_Type)jcasType).casFeat_rules == null)
+      jcasType.jcas.throwFeatMissing("rules", "org.apache.uima.textmarker.type.DebugRuleApply");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleApply_Type)jcasType).casFeatCode_rules), i);
+    return (DebugRuleMatch)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleApply_Type)jcasType).casFeatCode_rules), i)));}
+
+  /** indexed setter for rules - sets an indexed value - 
+   * @generated */
+  public void setRules(int i, DebugRuleMatch v) { 
+    if (DebugRuleApply_Type.featOkTst && ((DebugRuleApply_Type)jcasType).casFeat_rules == null)
+      jcasType.jcas.throwFeatMissing("rules", "org.apache.uima.textmarker.type.DebugRuleApply");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleApply_Type)jcasType).casFeatCode_rules), i);
+    jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleApply_Type)jcasType).casFeatCode_rules), i, jcasType.ll_cas.ll_getFSRef(v));}
+  }
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleApply_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleApply_Type.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleApply_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleApply_Type.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,141 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * @generated */
+public class DebugRuleApply_Type extends DebugScriptApply_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (DebugRuleApply_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = DebugRuleApply_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new DebugRuleApply(addr, DebugRuleApply_Type.this);
+  			   DebugRuleApply_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new DebugRuleApply(addr, DebugRuleApply_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = DebugRuleApply.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.DebugRuleApply");
+ 
+  /** @generated */
+  final Feature casFeat_applied;
+  /** @generated */
+  final int     casFeatCode_applied;
+  /** @generated */ 
+  public int getApplied(int addr) {
+        if (featOkTst && casFeat_applied == null)
+      jcas.throwFeatMissing("applied", "org.apache.uima.textmarker.type.DebugRuleApply");
+    return ll_cas.ll_getIntValue(addr, casFeatCode_applied);
+  }
+  /** @generated */    
+  public void setApplied(int addr, int v) {
+        if (featOkTst && casFeat_applied == null)
+      jcas.throwFeatMissing("applied", "org.apache.uima.textmarker.type.DebugRuleApply");
+    ll_cas.ll_setIntValue(addr, casFeatCode_applied, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_tried;
+  /** @generated */
+  final int     casFeatCode_tried;
+  /** @generated */ 
+  public int getTried(int addr) {
+        if (featOkTst && casFeat_tried == null)
+      jcas.throwFeatMissing("tried", "org.apache.uima.textmarker.type.DebugRuleApply");
+    return ll_cas.ll_getIntValue(addr, casFeatCode_tried);
+  }
+  /** @generated */    
+  public void setTried(int addr, int v) {
+        if (featOkTst && casFeat_tried == null)
+      jcas.throwFeatMissing("tried", "org.apache.uima.textmarker.type.DebugRuleApply");
+    ll_cas.ll_setIntValue(addr, casFeatCode_tried, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_rules;
+  /** @generated */
+  final int     casFeatCode_rules;
+  /** @generated */ 
+  public int getRules(int addr) {
+        if (featOkTst && casFeat_rules == null)
+      jcas.throwFeatMissing("rules", "org.apache.uima.textmarker.type.DebugRuleApply");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_rules);
+  }
+  /** @generated */    
+  public void setRules(int addr, int v) {
+        if (featOkTst && casFeat_rules == null)
+      jcas.throwFeatMissing("rules", "org.apache.uima.textmarker.type.DebugRuleApply");
+    ll_cas.ll_setRefValue(addr, casFeatCode_rules, v);}
+    
+   /** @generated */
+  public int getRules(int addr, int i) {
+        if (featOkTst && casFeat_rules == null)
+      jcas.throwFeatMissing("rules", "org.apache.uima.textmarker.type.DebugRuleApply");
+    if (lowLevelTypeChecks)
+      return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_rules), i, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_rules), i);
+  return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_rules), i);
+  }
+   
+  /** @generated */ 
+  public void setRules(int addr, int i, int v) {
+        if (featOkTst && casFeat_rules == null)
+      jcas.throwFeatMissing("rules", "org.apache.uima.textmarker.type.DebugRuleApply");
+    if (lowLevelTypeChecks)
+      ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_rules), i, v, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_rules), i);
+    ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_rules), i, v);
+  }
+ 
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public DebugRuleApply_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_applied = jcas.getRequiredFeatureDE(casType, "applied", "uima.cas.Integer", featOkTst);
+    casFeatCode_applied  = (null == casFeat_applied) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_applied).getCode();
+
+ 
+    casFeat_tried = jcas.getRequiredFeatureDE(casType, "tried", "uima.cas.Integer", featOkTst);
+    casFeatCode_tried  = (null == casFeat_tried) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_tried).getCode();
+
+ 
+    casFeat_rules = jcas.getRequiredFeatureDE(casType, "rules", "uima.cas.FSArray", featOkTst);
+    casFeatCode_rules  = (null == casFeat_rules) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_rules).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatch.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatch.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatch.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatch.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,147 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.FSArray;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * XML source: D:/work/workspace-uima3/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/engine/BasicTypeSystem.xml
+ * @generated */
+public class DebugRuleElementMatch extends ProfiledAnnotation {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(DebugRuleElementMatch.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected DebugRuleElementMatch() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public DebugRuleElementMatch(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public DebugRuleElementMatch(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** @generated */  
+  public DebugRuleElementMatch(JCas jcas, int begin, int end) {
+    super(jcas);
+    setBegin(begin);
+    setEnd(end);
+    readObject();
+  }   
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: baseCondition
+
+  /** getter for baseCondition - gets 
+   * @generated */
+  public DebugEvaluatedCondition getBaseCondition() {
+    if (DebugRuleElementMatch_Type.featOkTst && ((DebugRuleElementMatch_Type)jcasType).casFeat_baseCondition == null)
+      jcasType.jcas.throwFeatMissing("baseCondition", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    return (DebugEvaluatedCondition)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_baseCondition)));}
+    
+  /** setter for baseCondition - sets  
+   * @generated */
+  public void setBaseCondition(DebugEvaluatedCondition v) {
+    if (DebugRuleElementMatch_Type.featOkTst && ((DebugRuleElementMatch_Type)jcasType).casFeat_baseCondition == null)
+      jcasType.jcas.throwFeatMissing("baseCondition", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    jcasType.ll_cas.ll_setRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_baseCondition, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: conditions
+
+  /** getter for conditions - gets 
+   * @generated */
+  public FSArray getConditions() {
+    if (DebugRuleElementMatch_Type.featOkTst && ((DebugRuleElementMatch_Type)jcasType).casFeat_conditions == null)
+      jcasType.jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_conditions)));}
+    
+  /** setter for conditions - sets  
+   * @generated */
+  public void setConditions(FSArray v) {
+    if (DebugRuleElementMatch_Type.featOkTst && ((DebugRuleElementMatch_Type)jcasType).casFeat_conditions == null)
+      jcasType.jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    jcasType.ll_cas.ll_setRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_conditions, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for conditions - gets an indexed value - 
+   * @generated */
+  public DebugEvaluatedCondition getConditions(int i) {
+    if (DebugRuleElementMatch_Type.featOkTst && ((DebugRuleElementMatch_Type)jcasType).casFeat_conditions == null)
+      jcasType.jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_conditions), i);
+    return (DebugEvaluatedCondition)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_conditions), i)));}
+
+  /** indexed setter for conditions - sets an indexed value - 
+   * @generated */
+  public void setConditions(int i, DebugEvaluatedCondition v) { 
+    if (DebugRuleElementMatch_Type.featOkTst && ((DebugRuleElementMatch_Type)jcasType).casFeat_conditions == null)
+      jcasType.jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_conditions), i);
+    jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_conditions), i, jcasType.ll_cas.ll_getFSRef(v));}
+   
+    
+  //*--------------*
+  //* Feature: elements
+
+  /** getter for elements - gets 
+   * @generated */
+  public FSArray getElements() {
+    if (DebugRuleElementMatch_Type.featOkTst && ((DebugRuleElementMatch_Type)jcasType).casFeat_elements == null)
+      jcasType.jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_elements)));}
+    
+  /** setter for elements - sets  
+   * @generated */
+  public void setElements(FSArray v) {
+    if (DebugRuleElementMatch_Type.featOkTst && ((DebugRuleElementMatch_Type)jcasType).casFeat_elements == null)
+      jcasType.jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    jcasType.ll_cas.ll_setRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_elements, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for elements - gets an indexed value - 
+   * @generated */
+  public DebugRuleElementMatches getElements(int i) {
+    if (DebugRuleElementMatch_Type.featOkTst && ((DebugRuleElementMatch_Type)jcasType).casFeat_elements == null)
+      jcasType.jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_elements), i);
+    return (DebugRuleElementMatches)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_elements), i)));}
+
+  /** indexed setter for elements - sets an indexed value - 
+   * @generated */
+  public void setElements(int i, DebugRuleElementMatches v) { 
+    if (DebugRuleElementMatch_Type.featOkTst && ((DebugRuleElementMatch_Type)jcasType).casFeat_elements == null)
+      jcasType.jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_elements), i);
+    jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatch_Type)jcasType).casFeatCode_elements), i, jcasType.ll_cas.ll_getFSRef(v));}
+  }
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatch_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatch_Type.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatch_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatch_Type.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,160 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * @generated */
+public class DebugRuleElementMatch_Type extends ProfiledAnnotation_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (DebugRuleElementMatch_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = DebugRuleElementMatch_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new DebugRuleElementMatch(addr, DebugRuleElementMatch_Type.this);
+  			   DebugRuleElementMatch_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new DebugRuleElementMatch(addr, DebugRuleElementMatch_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = DebugRuleElementMatch.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.DebugRuleElementMatch");
+ 
+  /** @generated */
+  final Feature casFeat_baseCondition;
+  /** @generated */
+  final int     casFeatCode_baseCondition;
+  /** @generated */ 
+  public int getBaseCondition(int addr) {
+        if (featOkTst && casFeat_baseCondition == null)
+      jcas.throwFeatMissing("baseCondition", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_baseCondition);
+  }
+  /** @generated */    
+  public void setBaseCondition(int addr, int v) {
+        if (featOkTst && casFeat_baseCondition == null)
+      jcas.throwFeatMissing("baseCondition", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    ll_cas.ll_setRefValue(addr, casFeatCode_baseCondition, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_conditions;
+  /** @generated */
+  final int     casFeatCode_conditions;
+  /** @generated */ 
+  public int getConditions(int addr) {
+        if (featOkTst && casFeat_conditions == null)
+      jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_conditions);
+  }
+  /** @generated */    
+  public void setConditions(int addr, int v) {
+        if (featOkTst && casFeat_conditions == null)
+      jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    ll_cas.ll_setRefValue(addr, casFeatCode_conditions, v);}
+    
+   /** @generated */
+  public int getConditions(int addr, int i) {
+        if (featOkTst && casFeat_conditions == null)
+      jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    if (lowLevelTypeChecks)
+      return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i);
+  return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i);
+  }
+   
+  /** @generated */ 
+  public void setConditions(int addr, int i, int v) {
+        if (featOkTst && casFeat_conditions == null)
+      jcas.throwFeatMissing("conditions", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    if (lowLevelTypeChecks)
+      ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i, v, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i);
+    ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_conditions), i, v);
+  }
+ 
+ 
+  /** @generated */
+  final Feature casFeat_elements;
+  /** @generated */
+  final int     casFeatCode_elements;
+  /** @generated */ 
+  public int getElements(int addr) {
+        if (featOkTst && casFeat_elements == null)
+      jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_elements);
+  }
+  /** @generated */    
+  public void setElements(int addr, int v) {
+        if (featOkTst && casFeat_elements == null)
+      jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    ll_cas.ll_setRefValue(addr, casFeatCode_elements, v);}
+    
+   /** @generated */
+  public int getElements(int addr, int i) {
+        if (featOkTst && casFeat_elements == null)
+      jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    if (lowLevelTypeChecks)
+      return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i);
+  return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i);
+  }
+   
+  /** @generated */ 
+  public void setElements(int addr, int i, int v) {
+        if (featOkTst && casFeat_elements == null)
+      jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleElementMatch");
+    if (lowLevelTypeChecks)
+      ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i, v, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i);
+    ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i, v);
+  }
+ 
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public DebugRuleElementMatch_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_baseCondition = jcas.getRequiredFeatureDE(casType, "baseCondition", "org.apache.uima.textmarker.type.DebugEvaluatedCondition", featOkTst);
+    casFeatCode_baseCondition  = (null == casFeat_baseCondition) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_baseCondition).getCode();
+
+ 
+    casFeat_conditions = jcas.getRequiredFeatureDE(casType, "conditions", "uima.cas.FSArray", featOkTst);
+    casFeatCode_conditions  = (null == casFeat_conditions) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_conditions).getCode();
+
+ 
+    casFeat_elements = jcas.getRequiredFeatureDE(casType, "elements", "uima.cas.FSArray", featOkTst);
+    casFeatCode_elements  = (null == casFeat_elements) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_elements).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatches.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatches.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatches.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatches.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,124 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.FSArray;
+import org.apache.uima.jcas.cas.TOP;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * XML source: D:/work/workspace-uima3/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/engine/BasicTypeSystem.xml
+ * @generated */
+public class DebugRuleElementMatches extends TOP {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(DebugRuleElementMatches.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected DebugRuleElementMatches() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public DebugRuleElementMatches(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public DebugRuleElementMatches(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: matches
+
+  /** getter for matches - gets 
+   * @generated */
+  public FSArray getMatches() {
+    if (DebugRuleElementMatches_Type.featOkTst && ((DebugRuleElementMatches_Type)jcasType).casFeat_matches == null)
+      jcasType.jcas.throwFeatMissing("matches", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatches_Type)jcasType).casFeatCode_matches)));}
+    
+  /** setter for matches - sets  
+   * @generated */
+  public void setMatches(FSArray v) {
+    if (DebugRuleElementMatches_Type.featOkTst && ((DebugRuleElementMatches_Type)jcasType).casFeat_matches == null)
+      jcasType.jcas.throwFeatMissing("matches", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    jcasType.ll_cas.ll_setRefValue(addr, ((DebugRuleElementMatches_Type)jcasType).casFeatCode_matches, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for matches - gets an indexed value - 
+   * @generated */
+  public DebugRuleElementMatch getMatches(int i) {
+    if (DebugRuleElementMatches_Type.featOkTst && ((DebugRuleElementMatches_Type)jcasType).casFeat_matches == null)
+      jcasType.jcas.throwFeatMissing("matches", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatches_Type)jcasType).casFeatCode_matches), i);
+    return (DebugRuleElementMatch)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatches_Type)jcasType).casFeatCode_matches), i)));}
+
+  /** indexed setter for matches - sets an indexed value - 
+   * @generated */
+  public void setMatches(int i, DebugRuleElementMatch v) { 
+    if (DebugRuleElementMatches_Type.featOkTst && ((DebugRuleElementMatches_Type)jcasType).casFeat_matches == null)
+      jcasType.jcas.throwFeatMissing("matches", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatches_Type)jcasType).casFeatCode_matches), i);
+    jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleElementMatches_Type)jcasType).casFeatCode_matches), i, jcasType.ll_cas.ll_getFSRef(v));}
+   
+    
+  //*--------------*
+  //* Feature: element
+
+  /** getter for element - gets 
+   * @generated */
+  public String getElement() {
+    if (DebugRuleElementMatches_Type.featOkTst && ((DebugRuleElementMatches_Type)jcasType).casFeat_element == null)
+      jcasType.jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((DebugRuleElementMatches_Type)jcasType).casFeatCode_element);}
+    
+  /** setter for element - sets  
+   * @generated */
+  public void setElement(String v) {
+    if (DebugRuleElementMatches_Type.featOkTst && ((DebugRuleElementMatches_Type)jcasType).casFeat_element == null)
+      jcasType.jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    jcasType.ll_cas.ll_setStringValue(addr, ((DebugRuleElementMatches_Type)jcasType).casFeatCode_element, v);}    
+   
+    
+  //*--------------*
+  //* Feature: ruleAnchor
+
+  /** getter for ruleAnchor - gets 
+   * @generated */
+  public boolean getRuleAnchor() {
+    if (DebugRuleElementMatches_Type.featOkTst && ((DebugRuleElementMatches_Type)jcasType).casFeat_ruleAnchor == null)
+      jcasType.jcas.throwFeatMissing("ruleAnchor", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    return jcasType.ll_cas.ll_getBooleanValue(addr, ((DebugRuleElementMatches_Type)jcasType).casFeatCode_ruleAnchor);}
+    
+  /** setter for ruleAnchor - sets  
+   * @generated */
+  public void setRuleAnchor(boolean v) {
+    if (DebugRuleElementMatches_Type.featOkTst && ((DebugRuleElementMatches_Type)jcasType).casFeat_ruleAnchor == null)
+      jcasType.jcas.throwFeatMissing("ruleAnchor", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    jcasType.ll_cas.ll_setBooleanValue(addr, ((DebugRuleElementMatches_Type)jcasType).casFeatCode_ruleAnchor, v);}    
+  }
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatches_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatches_Type.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatches_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleElementMatches_Type.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,142 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * @generated */
+public class DebugRuleElementMatches_Type extends TOP_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (DebugRuleElementMatches_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = DebugRuleElementMatches_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new DebugRuleElementMatches(addr, DebugRuleElementMatches_Type.this);
+  			   DebugRuleElementMatches_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new DebugRuleElementMatches(addr, DebugRuleElementMatches_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = DebugRuleElementMatches.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.DebugRuleElementMatches");
+ 
+  /** @generated */
+  final Feature casFeat_matches;
+  /** @generated */
+  final int     casFeatCode_matches;
+  /** @generated */ 
+  public int getMatches(int addr) {
+        if (featOkTst && casFeat_matches == null)
+      jcas.throwFeatMissing("matches", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_matches);
+  }
+  /** @generated */    
+  public void setMatches(int addr, int v) {
+        if (featOkTst && casFeat_matches == null)
+      jcas.throwFeatMissing("matches", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    ll_cas.ll_setRefValue(addr, casFeatCode_matches, v);}
+    
+   /** @generated */
+  public int getMatches(int addr, int i) {
+        if (featOkTst && casFeat_matches == null)
+      jcas.throwFeatMissing("matches", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    if (lowLevelTypeChecks)
+      return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_matches), i, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_matches), i);
+  return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_matches), i);
+  }
+   
+  /** @generated */ 
+  public void setMatches(int addr, int i, int v) {
+        if (featOkTst && casFeat_matches == null)
+      jcas.throwFeatMissing("matches", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    if (lowLevelTypeChecks)
+      ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_matches), i, v, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_matches), i);
+    ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_matches), i, v);
+  }
+ 
+ 
+  /** @generated */
+  final Feature casFeat_element;
+  /** @generated */
+  final int     casFeatCode_element;
+  /** @generated */ 
+  public String getElement(int addr) {
+        if (featOkTst && casFeat_element == null)
+      jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_element);
+  }
+  /** @generated */    
+  public void setElement(int addr, String v) {
+        if (featOkTst && casFeat_element == null)
+      jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    ll_cas.ll_setStringValue(addr, casFeatCode_element, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_ruleAnchor;
+  /** @generated */
+  final int     casFeatCode_ruleAnchor;
+  /** @generated */ 
+  public boolean getRuleAnchor(int addr) {
+        if (featOkTst && casFeat_ruleAnchor == null)
+      jcas.throwFeatMissing("ruleAnchor", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    return ll_cas.ll_getBooleanValue(addr, casFeatCode_ruleAnchor);
+  }
+  /** @generated */    
+  public void setRuleAnchor(int addr, boolean v) {
+        if (featOkTst && casFeat_ruleAnchor == null)
+      jcas.throwFeatMissing("ruleAnchor", "org.apache.uima.textmarker.type.DebugRuleElementMatches");
+    ll_cas.ll_setBooleanValue(addr, casFeatCode_ruleAnchor, v);}
+    
+  
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public DebugRuleElementMatches_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_matches = jcas.getRequiredFeatureDE(casType, "matches", "uima.cas.FSArray", featOkTst);
+    casFeatCode_matches  = (null == casFeat_matches) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_matches).getCode();
+
+ 
+    casFeat_element = jcas.getRequiredFeatureDE(casType, "element", "uima.cas.String", featOkTst);
+    casFeatCode_element  = (null == casFeat_element) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_element).getCode();
+
+ 
+    casFeat_ruleAnchor = jcas.getRequiredFeatureDE(casType, "ruleAnchor", "uima.cas.Boolean", featOkTst);
+    casFeatCode_ruleAnchor  = (null == casFeat_ruleAnchor) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ruleAnchor).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleMatch.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleMatch.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleMatch.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleMatch.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,147 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.FSArray;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * XML source: D:/work/workspace-uima3/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/engine/BasicTypeSystem.xml
+ * @generated */
+public class DebugRuleMatch extends ProfiledAnnotation {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(DebugRuleMatch.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected DebugRuleMatch() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public DebugRuleMatch(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public DebugRuleMatch(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** @generated */  
+  public DebugRuleMatch(JCas jcas, int begin, int end) {
+    super(jcas);
+    setBegin(begin);
+    setEnd(end);
+    readObject();
+  }   
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: elements
+
+  /** getter for elements - gets 
+   * @generated */
+  public FSArray getElements() {
+    if (DebugRuleMatch_Type.featOkTst && ((DebugRuleMatch_Type)jcasType).casFeat_elements == null)
+      jcasType.jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_elements)));}
+    
+  /** setter for elements - sets  
+   * @generated */
+  public void setElements(FSArray v) {
+    if (DebugRuleMatch_Type.featOkTst && ((DebugRuleMatch_Type)jcasType).casFeat_elements == null)
+      jcasType.jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    jcasType.ll_cas.ll_setRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_elements, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for elements - gets an indexed value - 
+   * @generated */
+  public DebugRuleElementMatches getElements(int i) {
+    if (DebugRuleMatch_Type.featOkTst && ((DebugRuleMatch_Type)jcasType).casFeat_elements == null)
+      jcasType.jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_elements), i);
+    return (DebugRuleElementMatches)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_elements), i)));}
+
+  /** indexed setter for elements - sets an indexed value - 
+   * @generated */
+  public void setElements(int i, DebugRuleElementMatches v) { 
+    if (DebugRuleMatch_Type.featOkTst && ((DebugRuleMatch_Type)jcasType).casFeat_elements == null)
+      jcasType.jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_elements), i);
+    jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_elements), i, jcasType.ll_cas.ll_getFSRef(v));}
+   
+    
+  //*--------------*
+  //* Feature: matched
+
+  /** getter for matched - gets 
+   * @generated */
+  public boolean getMatched() {
+    if (DebugRuleMatch_Type.featOkTst && ((DebugRuleMatch_Type)jcasType).casFeat_matched == null)
+      jcasType.jcas.throwFeatMissing("matched", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    return jcasType.ll_cas.ll_getBooleanValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_matched);}
+    
+  /** setter for matched - sets  
+   * @generated */
+  public void setMatched(boolean v) {
+    if (DebugRuleMatch_Type.featOkTst && ((DebugRuleMatch_Type)jcasType).casFeat_matched == null)
+      jcasType.jcas.throwFeatMissing("matched", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    jcasType.ll_cas.ll_setBooleanValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_matched, v);}    
+   
+    
+  //*--------------*
+  //* Feature: delegates
+
+  /** getter for delegates - gets 
+   * @generated */
+  public FSArray getDelegates() {
+    if (DebugRuleMatch_Type.featOkTst && ((DebugRuleMatch_Type)jcasType).casFeat_delegates == null)
+      jcasType.jcas.throwFeatMissing("delegates", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_delegates)));}
+    
+  /** setter for delegates - sets  
+   * @generated */
+  public void setDelegates(FSArray v) {
+    if (DebugRuleMatch_Type.featOkTst && ((DebugRuleMatch_Type)jcasType).casFeat_delegates == null)
+      jcasType.jcas.throwFeatMissing("delegates", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    jcasType.ll_cas.ll_setRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_delegates, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for delegates - gets an indexed value - 
+   * @generated */
+  public DebugScriptApply getDelegates(int i) {
+    if (DebugRuleMatch_Type.featOkTst && ((DebugRuleMatch_Type)jcasType).casFeat_delegates == null)
+      jcasType.jcas.throwFeatMissing("delegates", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_delegates), i);
+    return (DebugScriptApply)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_delegates), i)));}
+
+  /** indexed setter for delegates - sets an indexed value - 
+   * @generated */
+  public void setDelegates(int i, DebugScriptApply v) { 
+    if (DebugRuleMatch_Type.featOkTst && ((DebugRuleMatch_Type)jcasType).casFeat_delegates == null)
+      jcasType.jcas.throwFeatMissing("delegates", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_delegates), i);
+    jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((DebugRuleMatch_Type)jcasType).casFeatCode_delegates), i, jcasType.ll_cas.ll_getFSRef(v));}
+  }
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleMatch_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleMatch_Type.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleMatch_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugRuleMatch_Type.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,160 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * @generated */
+public class DebugRuleMatch_Type extends ProfiledAnnotation_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (DebugRuleMatch_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = DebugRuleMatch_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new DebugRuleMatch(addr, DebugRuleMatch_Type.this);
+  			   DebugRuleMatch_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new DebugRuleMatch(addr, DebugRuleMatch_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = DebugRuleMatch.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.DebugRuleMatch");
+ 
+  /** @generated */
+  final Feature casFeat_elements;
+  /** @generated */
+  final int     casFeatCode_elements;
+  /** @generated */ 
+  public int getElements(int addr) {
+        if (featOkTst && casFeat_elements == null)
+      jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_elements);
+  }
+  /** @generated */    
+  public void setElements(int addr, int v) {
+        if (featOkTst && casFeat_elements == null)
+      jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    ll_cas.ll_setRefValue(addr, casFeatCode_elements, v);}
+    
+   /** @generated */
+  public int getElements(int addr, int i) {
+        if (featOkTst && casFeat_elements == null)
+      jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    if (lowLevelTypeChecks)
+      return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i);
+  return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i);
+  }
+   
+  /** @generated */ 
+  public void setElements(int addr, int i, int v) {
+        if (featOkTst && casFeat_elements == null)
+      jcas.throwFeatMissing("elements", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    if (lowLevelTypeChecks)
+      ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i, v, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i);
+    ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_elements), i, v);
+  }
+ 
+ 
+  /** @generated */
+  final Feature casFeat_matched;
+  /** @generated */
+  final int     casFeatCode_matched;
+  /** @generated */ 
+  public boolean getMatched(int addr) {
+        if (featOkTst && casFeat_matched == null)
+      jcas.throwFeatMissing("matched", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    return ll_cas.ll_getBooleanValue(addr, casFeatCode_matched);
+  }
+  /** @generated */    
+  public void setMatched(int addr, boolean v) {
+        if (featOkTst && casFeat_matched == null)
+      jcas.throwFeatMissing("matched", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    ll_cas.ll_setBooleanValue(addr, casFeatCode_matched, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_delegates;
+  /** @generated */
+  final int     casFeatCode_delegates;
+  /** @generated */ 
+  public int getDelegates(int addr) {
+        if (featOkTst && casFeat_delegates == null)
+      jcas.throwFeatMissing("delegates", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_delegates);
+  }
+  /** @generated */    
+  public void setDelegates(int addr, int v) {
+        if (featOkTst && casFeat_delegates == null)
+      jcas.throwFeatMissing("delegates", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    ll_cas.ll_setRefValue(addr, casFeatCode_delegates, v);}
+    
+   /** @generated */
+  public int getDelegates(int addr, int i) {
+        if (featOkTst && casFeat_delegates == null)
+      jcas.throwFeatMissing("delegates", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    if (lowLevelTypeChecks)
+      return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_delegates), i, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_delegates), i);
+  return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_delegates), i);
+  }
+   
+  /** @generated */ 
+  public void setDelegates(int addr, int i, int v) {
+        if (featOkTst && casFeat_delegates == null)
+      jcas.throwFeatMissing("delegates", "org.apache.uima.textmarker.type.DebugRuleMatch");
+    if (lowLevelTypeChecks)
+      ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_delegates), i, v, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_delegates), i);
+    ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_delegates), i, v);
+  }
+ 
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public DebugRuleMatch_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_elements = jcas.getRequiredFeatureDE(casType, "elements", "uima.cas.FSArray", featOkTst);
+    casFeatCode_elements  = (null == casFeat_elements) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_elements).getCode();
+
+ 
+    casFeat_matched = jcas.getRequiredFeatureDE(casType, "matched", "uima.cas.Boolean", featOkTst);
+    casFeatCode_matched  = (null == casFeat_matched) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_matched).getCode();
+
+ 
+    casFeat_delegates = jcas.getRequiredFeatureDE(casType, "delegates", "uima.cas.FSArray", featOkTst);
+    casFeatCode_delegates  = (null == casFeat_delegates) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_delegates).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugScriptApply.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugScriptApply.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugScriptApply.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugScriptApply.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,79 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * XML source: D:/work/workspace-uima3/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/engine/BasicTypeSystem.xml
+ * @generated */
+public class DebugScriptApply extends ProfiledAnnotation {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(DebugScriptApply.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected DebugScriptApply() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public DebugScriptApply(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public DebugScriptApply(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** @generated */  
+  public DebugScriptApply(JCas jcas, int begin, int end) {
+    super(jcas);
+    setBegin(begin);
+    setEnd(end);
+    readObject();
+  }   
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: element
+
+  /** getter for element - gets 
+   * @generated */
+  public String getElement() {
+    if (DebugScriptApply_Type.featOkTst && ((DebugScriptApply_Type)jcasType).casFeat_element == null)
+      jcasType.jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugScriptApply");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((DebugScriptApply_Type)jcasType).casFeatCode_element);}
+    
+  /** setter for element - sets  
+   * @generated */
+  public void setElement(String v) {
+    if (DebugScriptApply_Type.featOkTst && ((DebugScriptApply_Type)jcasType).casFeat_element == null)
+      jcasType.jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugScriptApply");
+    jcasType.ll_cas.ll_setStringValue(addr, ((DebugScriptApply_Type)jcasType).casFeatCode_element, v);}    
+  }
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugScriptApply_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugScriptApply_Type.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugScriptApply_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/DebugScriptApply_Type.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,78 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * @generated */
+public class DebugScriptApply_Type extends ProfiledAnnotation_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (DebugScriptApply_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = DebugScriptApply_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new DebugScriptApply(addr, DebugScriptApply_Type.this);
+  			   DebugScriptApply_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new DebugScriptApply(addr, DebugScriptApply_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = DebugScriptApply.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.DebugScriptApply");
+ 
+  /** @generated */
+  final Feature casFeat_element;
+  /** @generated */
+  final int     casFeatCode_element;
+  /** @generated */ 
+  public String getElement(int addr) {
+        if (featOkTst && casFeat_element == null)
+      jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugScriptApply");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_element);
+  }
+  /** @generated */    
+  public void setElement(int addr, String v) {
+        if (featOkTst && casFeat_element == null)
+      jcas.throwFeatMissing("element", "org.apache.uima.textmarker.type.DebugScriptApply");
+    ll_cas.ll_setStringValue(addr, casFeatCode_element, v);}
+    
+  
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public DebugScriptApply_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_element = jcas.getRequiredFeatureDE(casType, "element", "uima.cas.String", featOkTst);
+    casFeatCode_element  = (null == casFeat_element) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_element).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/Document.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/Document.java?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/Document.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker/src/main/java/org/apache/uima/textmarker/type/Document.java Mon Feb 13 17:44:52 2012
@@ -0,0 +1,61 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+import org.apache.uima.jcas.tcas.DocumentAnnotation;
+
+
+/** 
+ * Updated by JCasGen Wed Jan 11 14:42:26 CET 2012
+ * XML source: D:/work/workspace-uima3/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/engine/BasicTypeSystem.xml
+ * @generated */
+public class Document extends DocumentAnnotation {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(Document.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected Document() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public Document(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public Document(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** @generated */  
+  public Document(JCas jcas, int begin, int end) {
+    super(jcas);
+    setBegin(begin);
+    setEnd(end);
+    readObject();
+  }   
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+}
+
+    
\ No newline at end of file