|
||||||||||
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.DataExp
public final class DataExp
Expression that matchs characters of the particular Datatype
.
Field Summary | |
---|---|
org.relaxng.datatype.Datatype |
dt
datatype object that actually validates text. |
Expression |
except
'except' clause of RELAX NG. |
StringPair |
name
name of this datatype. |
Fields inherited from class com.sun.msv.grammar.Expression |
---|
anyString, epsilon, nullSet, verifierTag |
Constructor Summary | |
---|---|
protected |
DataExp(org.relaxng.datatype.Datatype dt,
StringPair typeName,
Expression except)
|
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 StringPair name
public final Expression except
Constructor Detail |
---|
protected DataExp(org.relaxng.datatype.Datatype dt, StringPair typeName, Expression except)
Method Detail |
---|
public org.relaxng.datatype.Datatype getType()
getType
in interface DataOrValueExp
public StringPair getName()
getName
in interface DataOrValueExp
protected final int calcHashCode()
Expression
This 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 Expression
public boolean equals(Object o)
equals
in class Expression
public Object visit(ExpressionVisitor visitor)
visit
in class Expression
public Expression visit(ExpressionVisitorExpression visitor)
visit
in class Expression
public boolean visit(ExpressionVisitorBoolean visitor)
visit
in class Expression
public void visit(ExpressionVisitorVoid visitor)
visit
in class Expression
protected boolean calcEpsilonReducibility()
Expression
calcEpsilonReducibility
in class Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |