ipipan.spejd.ruleparser
Class Requirement

java.lang.Object
  extended by ipipan.spejd.ruleparser.Requirement

public class Requirement
extends java.lang.Object

Representation of a single requirement, like case~"acc|gen" or base~~woda/i.


Field Summary
static int CASE_INS
           
static int FORALL
           
static int NEGATED
           
static int PARTIAL
           
 
Constructor Summary
Requirement(int attrId, java.lang.String val, int flags)
           
 
Method Summary
 boolean forall()
           
static java.lang.String safeRegexp(java.lang.String regexp)
           
 java.lang.String toRegexp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEGATED

public static final int NEGATED
See Also:
Constant Field Values

FORALL

public static final int FORALL
See Also:
Constant Field Values

CASE_INS

public static final int CASE_INS
See Also:
Constant Field Values

PARTIAL

public static final int PARTIAL
See Also:
Constant Field Values
Constructor Detail

Requirement

public Requirement(int attrId,
                   java.lang.String val,
                   int flags)
Method Detail

safeRegexp

public static java.lang.String safeRegexp(java.lang.String regexp)

forall

public boolean forall()

toRegexp

public java.lang.String toRegexp()