org.apache.uima.cas
Interface Marker


public interface Marker

An object obtained from the CAS that is used to query when FSs were created or modified with respect to the marker.


Method Summary
 boolean isModified(FeatureStructure fs)
          Returns true if a FeatureStructure that existed prior to the mark represented by this Markere is modified.
 boolean isNew(FeatureStructure fs)
          Returns true if a FeatureStructure was created after the mark represented by this Marker object.
 boolean isValid()
          Return true if the Marker is still valid.
 

Method Detail

isNew

boolean isNew(FeatureStructure fs)
Returns true if a FeatureStructure was created after the mark represented by this Marker object.

Parameters:
fs -
Returns:

isModified

boolean isModified(FeatureStructure fs)
Returns true if a FeatureStructure that existed prior to the mark represented by this Markere is modified.

Parameters:
fs -
Returns:
boolean

isValid

boolean isValid()
Return true if the Marker is still valid. A Marker becomes invalid when the CAS from which it was obtained is reset.

Returns:


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.