public class PatternRule extends Object implements TypeRule
TypeRule.ComparisonOperator, TypeRule.LogicalOperator| Constructor and Description |
|---|
PatternRule(String regexp)
Constructs a new PatternRule.
|
public PatternRule(String regexp)
regexp - the regular expression that describes the pattern.public Pattern getPattern()
public String getPatternStr()
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 - 2016 Adobe Systems Incorporated. All Rights Reserved"