org.apache.uima.annotator.regex.impl
Class RuleException_impl

java.lang.Object
  extended by org.apache.uima.annotator.regex.impl.RuleException_impl
All Implemented Interfaces:
RuleException

public class RuleException_impl
extends java.lang.Object
implements RuleException


Constructor Summary
RuleException_impl(java.lang.String matchType, java.lang.String patternStr)
           
 
Method Summary
 org.apache.uima.cas.Type getType()
          Get the Type of this exception
 void initialize()
           
 boolean matchPattern(org.apache.uima.cas.text.AnnotationFS annot)
          match the rule exception pattern against the covered text of the given annotation
 java.lang.String toString()
           
 void typeInit(org.apache.uima.cas.TypeSystem ts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleException_impl

public RuleException_impl(java.lang.String matchType,
                          java.lang.String patternStr)
Parameters:
matchType -
patternStr -
Method Detail

matchPattern

public boolean matchPattern(org.apache.uima.cas.text.AnnotationFS annot)
Description copied from interface: RuleException
match the rule exception pattern against the covered text of the given annotation

Specified by:
matchPattern in interface RuleException
Parameters:
annot - - current annotation that should be used to match
Returns:
returns true if a match was found

getType

public org.apache.uima.cas.Type getType()
Description copied from interface: RuleException
Get the Type of this exception

Specified by:
getType in interface RuleException
Returns:
returns the UIMA type object.

typeInit

public void typeInit(org.apache.uima.cas.TypeSystem ts)
              throws org.apache.uima.resource.ResourceInitializationException
Throws:
org.apache.uima.resource.ResourceInitializationException

initialize

public void initialize()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.