|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.gee.publication.session.OpaqueRule
public class OpaqueRule
This is again a class of immutables!
| Field Summary | |
|---|---|
protected static Hashtable |
_internedOpaqueRules
|
protected String |
_rule
|
static OpaqueRule |
NONE
|
| Method Summary | |
|---|---|
protected static boolean |
_evaluate(String rule,
OpaqueCLabel[] labels)
|
protected static int |
_findClose(String rule,
int index)
Find the closing ) in rule for the ( at index. |
static boolean |
charIsRuleChar(char ch)
Check whether a character is a rule character (contrary to a label character). |
static OpaqueRule |
create(String rule)
|
boolean |
evaluate(OpaqueCLabel[] labels)
|
static boolean |
isRule(String fragment)
Check whether a string is a rule. |
String |
toString()
Get the String representation of the rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static OpaqueRule NONE
protected String _rule
protected static Hashtable _internedOpaqueRules
| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean evaluate(OpaqueCLabel[] labels)
protected static boolean _evaluate(String rule,
OpaqueCLabel[] labels)
protected static int _findClose(String rule,
int index)
public static OpaqueRule create(String rule)
rule - the original rule stringpublic static boolean isRule(String fragment)
public static boolean charIsRuleChar(char ch)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||