org.apache.uima.cas
Interface ConstraintParser


Deprecated. The Constraint Parser is not supported in externally released versions of UIMA

public interface ConstraintParser

A parser for feature structure constraint expressions.


Method Summary
 FSMatchConstraint parse(String s)
          Deprecated. Parse a string representing a feature structure match constraint.
 FSMatchConstraint parse(String s, String src, int line, int col)
          Deprecated. Parse a string representing a feature structure match constraint.
 

Method Detail

parse

FSMatchConstraint parse(String s)
                        throws IOException,
                               ParsingException
Deprecated. 
Parse a string representing a feature structure match constraint.

Parameters:
s - The input string.
Returns:
The corresponding match constraint.
Throws:
IOException - If there is a problem with the input string.
ParsingException - If the input string is not a well-formed string representation of a match constraint.

parse

FSMatchConstraint parse(String s,
                        String src,
                        int line,
                        int col)
                        throws IOException,
                               ParsingException
Deprecated. 
Parse a string representing a feature structure match constraint.

Parameters:
s - The input string.
src - For better error messages: an input source, such as a file name (can be null).
line - For better error messages: a line offset.
col - For better error messages: a column offset.
Returns:
The corresponding match constraint.
Throws:
IOException - If there is a problem with the input string.
ParsingException - If the input string is not a well-formed string representation of a match constraint.


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