Package com.adobe.xmp.schema.model.rules
Class DateRule
java.lang.Object
com.adobe.xmp.schema.model.rules.DateRule
- All Implemented Interfaces:
TypeRule,Serializable
This rule applies for the type "Date".
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.adobe.xmp.schema.model.TypeRule
TypeRule.ComparisonOperator, TypeRule.LogicalOperator -
Constructor Summary
ConstructorsConstructorDescriptionDateRule(TypeRule.ComparisonOperator operator, String operand) Constructs a new DateRule. -
Method Summary
-
Constructor Details
-
DateRule
Constructs a new DateRule.- Parameters:
operator- the comparison operatoroperand- the date to compare with
-
-
Method Details
-
getOperator
- Returns:
- Returns the operator.
-
getOperand
- Returns:
- the argument.
-
accept
- Specified by:
acceptin interfaceTypeRule- Parameters:
schemaVisitor- a visitor that implements theSchemaVisitor-interface- Throws:
XMPSchemaException- See Also:
-