|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.document.schema.impl.tools.TextValueGetter
public final class TextValueGetter
Returns possible pure text values (no elements inbetween), that given expression can accept.
Field Summary | |
---|---|
static IValueRule |
ANY_STRING
Acceptor, that accepts any string. |
static IValueRule |
EMPTY_STRING
Acceptor, that accepts nothing except empty string. |
static IValueRule |
NOTHING
Accepts no string. |
Constructor Summary | |
---|---|
TextValueGetter(SchemaImpl schema)
Constructor. |
Method Summary | |
---|---|
IValueRule |
getValueRule(com.sun.msv.grammar.Expression exp)
Returns value rule, that accepts text (without elements), that is accepted by exp. |
IValueRule |
getValueRule(Set<? extends com.sun.msv.grammar.Expression> exps)
Returns value rule, that accepts text (without elements), that is accepted by at least one of exp. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final IValueRule ANY_STRING
public static final IValueRule EMPTY_STRING
public static final IValueRule NOTHING
Constructor Detail |
---|
public TextValueGetter(SchemaImpl schema)
schema
- the schema instance.Method Detail |
---|
public IValueRule getValueRule(com.sun.msv.grammar.Expression exp)
exp
- exp to check.
public IValueRule getValueRule(Set<? extends com.sun.msv.grammar.Expression> exps)
exps
- set of exps to check. If NameClassAndExpression
instance, its content model is walked instead.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |