|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.msv.grammar.Expression
com.sun.msv.grammar.ValueExp
public final class ValueExp
Expression that matchs a particular value of a Datatype.
| Field Summary | |
|---|---|
org.relaxng.datatype.Datatype |
dt
Datatype object that is used to test the equality. |
StringPair |
name
name of this datatype. |
Object |
value
This expression matches this value only. |
| Fields inherited from class com.sun.msv.grammar.Expression |
|---|
anyString, epsilon, nullSet, verifierTag |
| Constructor Summary | |
|---|---|
protected |
ValueExp(org.relaxng.datatype.Datatype dt,
StringPair typeName,
Object value)
|
| Method Summary | |
|---|---|
protected boolean |
calcEpsilonReducibility()
computes epsilon reducibility |
protected int |
calcHashCode()
Computes the hashCode again. |
boolean |
equals(Object o)
|
StringPair |
getName()
|
org.relaxng.datatype.Datatype |
getType()
|
Object |
visit(ExpressionVisitor visitor)
|
boolean |
visit(ExpressionVisitorBoolean visitor)
|
Expression |
visit(ExpressionVisitorExpression visitor)
|
void |
visit(ExpressionVisitorVoid visitor)
|
| Methods inherited from class com.sun.msv.grammar.Expression |
|---|
getExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve, visit, visit, visit, visit |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final org.relaxng.datatype.Datatype dt
public final Object value
public final StringPair name
| Constructor Detail |
|---|
protected ValueExp(org.relaxng.datatype.Datatype dt,
StringPair typeName,
Object value)
| Method Detail |
|---|
public org.relaxng.datatype.Datatype getType()
getType in interface DataOrValueExppublic StringPair getName()
getName in interface DataOrValueExpprotected final int calcHashCode()
ExpressionThis method and the parameter to the constructor has to be the same. This method is used when the object is being read from the stream.
calcHashCode in class Expressionpublic boolean equals(Object o)
equals in class Expressionpublic Object visit(ExpressionVisitor visitor)
visit in class Expressionpublic Expression visit(ExpressionVisitorExpression visitor)
visit in class Expressionpublic boolean visit(ExpressionVisitorBoolean visitor)
visit in class Expressionpublic void visit(ExpressionVisitorVoid visitor)
visit in class Expressionprotected boolean calcEpsilonReducibility()
Expression
calcEpsilonReducibility in class Expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||