Package com.adobe.xmp.schema.model.rules
Class BooleanRule
java.lang.Object
com.adobe.xmp.schema.model.rules.BooleanRule
- All Implemented Interfaces:
TypeRule,Serializable
The rule for boolean is always an EQUAL rule.
Only purpose is a Boolean property that has to be constantly either true or false
(or absent).
- 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
-
BooleanRule
public BooleanRule(boolean value) Constructs a new BooleanRule.- Parameters:
value- the expected value
-
-
Method Details
-
getOperand
public boolean getOperand()- Returns:
- Returns the argument
-
accept
- Specified by:
acceptin interfaceTypeRule- Parameters:
schemaVisitor- a visitor that implements theSchemaVisitor-interface- Throws:
XMPSchemaException- See Also:
-