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 TypeRuleschemaVisitor - a visitor that implements the SchemaVisitor-interfaceXMPSchemaExceptionTypeRule.accept(com.adobe.xmp.schema.model.SchemaVisitor)Copyright © 2010 - 2023 Adobe. All Rights Reserved