com.sun.msv.grammar
Class DataExp
java.lang.Object
com.sun.msv.grammar.Expression
com.sun.msv.grammar.DataExp
- All Implemented Interfaces:
- DataOrValueExp, Serializable
public final class DataExp
- extends Expression
- implements DataOrValueExp
Expression that matchs characters of the particular Datatype
.
- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
dt
public final Datatype dt
- datatype object that actually validates text.
name
public final StringPair name
- name of this datatype.
The value of this field is not considered as significant.
When two TypedStringExps share the same Datatype object,
then they are unified even if they have different names.
except
public final Expression except
- 'except' clause of RELAX NG.
If a token matches this pattern, then it should be rejected.
getType
public Datatype getType()
- Specified by:
getType
in interface DataOrValueExp
getName
public StringPair getName()
- Specified by:
getName
in interface DataOrValueExp
equals
public boolean equals(Object o)
- Specified by:
equals
in class Expression
visit
public Object visit(ExpressionVisitor visitor)
- Specified by:
visit
in class Expression
visit
public Expression visit(ExpressionVisitorExpression visitor)
- Specified by:
visit
in class Expression
visit
public boolean visit(ExpressionVisitorBoolean visitor)
- Specified by:
visit
in class Expression
visit
public void visit(ExpressionVisitorVoid visitor)
- Specified by:
visit
in class Expression