You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2007/05/21 23:05:45 UTC
svn commit: r540298 -
/incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java
Author: schor
Date: Mon May 21 14:05:44 2007
New Revision: 540298
URL: http://svn.apache.org/viewvc?view=rev&rev=540298
Log:
[UIMA-409] Undo last update - leave methods public - needed for cross pkg ref
Modified:
incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java
Modified: incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java?view=diff&rev=540298&r1=540297&r2=540298
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java Mon May 21 14:05:44 2007
@@ -29,7 +29,7 @@
import org.apache.uima.cas.impl.LowLevelCAS;
import org.apache.uima.cas.text.AnnotationFS;
-class FSNode extends FSTreeNode {
+public class FSNode extends FSTreeNode {
private static final int maxStringLength = 100;
@@ -331,7 +331,7 @@
return cas.getTypeSystemImpl().getType(cas.getHeapValue((int) this.addr));
}
- boolean isAnnotation() {
+ public boolean isAnnotation() {
CASImpl cas = this.fSTreeModel.getCas();
if (this.nodeClass != STD_FS || this.addr == 0) {
return false;
@@ -344,7 +344,7 @@
return false;
}
- int getStart() {
+ public int getStart() {
CASImpl cas = this.fSTreeModel.getCas();
if (isAnnotation()) {
final FeatureImpl feat1 = (FeatureImpl) cas.getBeginFeature();
@@ -353,7 +353,7 @@
return -1;
}
- int getEnd() {
+ public int getEnd() {
CASImpl cas = this.fSTreeModel.getCas();
if (isAnnotation()) {
final FeatureImpl feat1 = (FeatureImpl) cas.getEndFeature();