Package com.adobe.xmp.schema.rng.model
Class ParamInfoGroup
java.lang.Object
com.adobe.xmp.schema.rng.model.ParamInfoGroup
- All Implemented Interfaces:
ParamInfo
Defines a group of constraints on a property value.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumOperator to define relatioship between constraints defined by a stack ofParamInfoobjects -
Constructor Summary
ConstructorsConstructorDescriptionParamInfoGroup(ParamInfoGroup.Operator operator) Constructs a new ParamInfoGroup. -
Method Summary
Modifier and TypeMethodDescriptionbooleanempty()Tests if this ParamInfoGroup is empty.booleanbooleanisChoice()Gets if this param group is defined inside a rng:choicevoidPushes theParamInfoobject in thisParamInfoGroupvoidsetChoice(boolean isChoice) Set if this param group is defined inside a rng:choicetoString()
-
Constructor Details
-
ParamInfoGroup
Constructs a new ParamInfoGroup.- Parameters:
operator- Operator which defines relationship between a stack ofParamInfoobjects
-
-
Method Details
-
getOperator
- Returns:
- the mOperator
-
push
Pushes theParamInfoobject in thisParamInfoGroup- Parameters:
info-ParamInfoobject to push
-
empty
public boolean empty()Tests if this ParamInfoGroup is empty.- Returns:
trueif and only if this ParamInfoGroup contains no ParamInfo items;falseotherwise.
-
getParams
- Returns:
- Stack of
ParamInfoobjects contained in thisParamInfoGroup
-
equals
-
setChoice
public void setChoice(boolean isChoice) Set if this param group is defined inside a rng:choice- Parameters:
isChoice- boolean
-
isChoice
public boolean isChoice()Gets if this param group is defined inside a rng:choice- Returns:
- boolean
-
toString
-