Package com.adobe.xmp.schema.model.rules
Class PatternRule
java.lang.Object
com.adobe.xmp.schema.model.rules.PatternRule
- All Implemented Interfaces:
TypeRule,Serializable
This rule represents a regular expression that has to match with the property value.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.adobe.xmp.schema.model.TypeRule
TypeRule.ComparisonOperator, TypeRule.LogicalOperator -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PatternRule
Constructs a new PatternRule.- Parameters:
regexp- the regular expression that describes the pattern.
-
-
Method Details
-
getPattern
- Returns:
- Returns the pattern as Patter-object.
-
getPatternStr
- Returns:
- Returns the pattern a sString.
-
accept
- Specified by:
acceptin interfaceTypeRule- Parameters:
schemaVisitor- a visitor that implements theSchemaVisitor-interface- Throws:
XMPSchemaException- See Also:
-