Package com.adobe.xmp.schema.model.rules
Class RealRule
java.lang.Object
com.adobe.xmp.schema.model.rules.RealRule
- All Implemented Interfaces:
TypeRule
,Serializable
This rule is a comparison of a Real property with a constant argument.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.adobe.xmp.schema.model.TypeRule
TypeRule.ComparisonOperator, TypeRule.LogicalOperator
-
Constructor Summary
ConstructorsConstructorDescriptionRealRule
(TypeRule.ComparisonOperator operator, double operand) Constructs a new RealRule. -
Method Summary
-
Constructor Details
-
RealRule
Constructs a new RealRule.- Parameters:
operator
- the comparison operatoroperand
- the double value to compare with
-
-
Method Details
-
getOperator
- Returns:
- Returns the operator.
-
getOperand
public double getOperand()- Returns:
- Returns the operand.
-
accept
- Specified by:
accept
in interfaceTypeRule
- Parameters:
schemaVisitor
- a visitor that implements theSchemaVisitor
-interface- Throws:
XMPSchemaException
- See Also:
-