public class RealRule extends java.lang.Object implements TypeRule
TypeRule.ComparisonOperator, TypeRule.LogicalOperator
Constructor and Description |
---|
RealRule(TypeRule.ComparisonOperator operator,
double operand)
Constructs a new RealRule.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SchemaVisitor schemaVisitor) |
double |
getOperand() |
TypeRule.ComparisonOperator |
getOperator() |
public RealRule(TypeRule.ComparisonOperator operator, double operand)
operator
- the comparison operatoroperand
- the double value to compare withpublic TypeRule.ComparisonOperator getOperator()
public double getOperand()
public void accept(SchemaVisitor schemaVisitor) throws XMPSchemaException
accept
in interface TypeRule
schemaVisitor
- a visitor that implements the SchemaVisitor
-interfaceXMPSchemaException
TypeRule.accept(com.adobe.xmp.schema.model.SchemaVisitor)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"