public class DateRule extends java.lang.Object implements TypeRule
TypeRule.ComparisonOperator, TypeRule.LogicalOperator
Constructor and Description |
---|
DateRule(TypeRule.ComparisonOperator operator,
java.lang.String operand)
Constructs a new DateRule.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SchemaVisitor schemaVisitor) |
java.lang.String |
getOperand() |
TypeRule.ComparisonOperator |
getOperator() |
public DateRule(TypeRule.ComparisonOperator operator, java.lang.String operand)
operator
- the comparison operatoroperand
- the date to compare withpublic TypeRule.ComparisonOperator getOperator()
public java.lang.String 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. All Rights Reserved