public class LengthRule extends java.lang.Object implements TypeRule
TypeRule.ComparisonOperator, TypeRule.LogicalOperator
Constructor and Description |
---|
LengthRule(TypeRule.ComparisonOperator operator,
int length)
Constructs a new LengthRule.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SchemaVisitor schemaVisitor) |
int |
getOperand() |
TypeRule.ComparisonOperator |
getOperator() |
public LengthRule(TypeRule.ComparisonOperator operator, int length)
operator
- the comparison operatorlength
- the length to compare withpublic TypeRule.ComparisonOperator getOperator()
public int 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"