Package com.adobe.xmp.schema.rng.model
Class ParamInfoGroup
- java.lang.Object
-
- com.adobe.xmp.schema.rng.model.ParamInfoGroup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParamInfoGroup.OperatorOperator to define relatioship between constraints defined by a stack ofParamInfoobjects
-
Constructor Summary
Constructors Constructor Description ParamInfoGroup(ParamInfoGroup.Operator operator)Constructs a new ParamInfoGroup.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanempty()Tests if this ParamInfoGroup is empty.booleanequals(ParamInfo param)ParamInfoGroup.OperatorgetOperator()java.util.Stack<ParamInfo>getParams()booleanisChoice()Gets if this param group is defined inside a rng:choicevoidpush(ParamInfo info)Pushes theParamInfoobject in thisParamInfoGroupvoidsetChoice(boolean isChoice)Set if this param group is defined inside a rng:choicejava.lang.StringtoString()
-
-
-
Constructor Detail
-
ParamInfoGroup
public ParamInfoGroup(ParamInfoGroup.Operator operator)
Constructs a new ParamInfoGroup.- Parameters:
operator- Operator which defines relationship between a stack ofParamInfoobjects
-
-
Method Detail
-
getOperator
public ParamInfoGroup.Operator getOperator()
- Returns:
- the mOperator
-
push
public void push(ParamInfo info)
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
public java.util.Stack<ParamInfo> getParams()
- Returns:
- Stack of
ParamInfoobjects contained in thisParamInfoGroup
-
equals
public boolean equals(ParamInfo param)
-
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
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-