public final class DataExp extends Expression implements DataOrValueExp
Datatype.| Modifier and Type | Field and Description |
|---|---|
org.relaxng.datatype.Datatype |
dt
datatype object that actually validates text.
|
Expression |
except
'except' clause of RELAX NG.
|
StringPair |
name
name of this datatype.
|
anyString, epsilon, nullSet, verifierTag| Modifier | Constructor and Description |
|---|---|
protected |
DataExp(org.relaxng.datatype.Datatype dt,
StringPair typeName,
Expression except) |
| Modifier and Type | Method and Description |
|---|---|
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) |
getExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve, visit, visit, visit, visitpublic final org.relaxng.datatype.Datatype dt
public final StringPair name
public final Expression except
protected DataExp(org.relaxng.datatype.Datatype dt,
StringPair typeName,
Expression except)
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()
ExpressioncalcEpsilonReducibility in class ExpressionCopyright © 2014 Oracle Corporation. All Rights Reserved.