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, visit
public 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 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
Copyright © 2016 Oracle Corporation. All rights reserved.