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 class
ParamInfoGroup.Operator
Operator to define relatioship between constraints defined by a stack ofParamInfo
objects
-
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 boolean
empty()
Tests if this ParamInfoGroup is empty.boolean
equals(ParamInfo param)
ParamInfoGroup.Operator
getOperator()
java.util.Stack<ParamInfo>
getParams()
boolean
isChoice()
Gets if this param group is defined inside a rng:choicevoid
push(ParamInfo info)
Pushes theParamInfo
object in thisParamInfoGroup
void
setChoice(boolean isChoice)
Set if this param group is defined inside a rng:choicejava.lang.String
toString()
-
-
-
Constructor Detail
-
ParamInfoGroup
public ParamInfoGroup(ParamInfoGroup.Operator operator)
Constructs a new ParamInfoGroup.- Parameters:
operator
- Operator which defines relationship between a stack ofParamInfo
objects
-
-
Method Detail
-
getOperator
public ParamInfoGroup.Operator getOperator()
- Returns:
- the mOperator
-
push
public void push(ParamInfo info)
Pushes theParamInfo
object in thisParamInfoGroup
- Parameters:
info
-ParamInfo
object to push
-
empty
public boolean empty()
Tests if this ParamInfoGroup is empty.- Returns:
true
if and only if this ParamInfoGroup contains no ParamInfo items;false
otherwise.
-
getParams
public java.util.Stack<ParamInfo> getParams()
- Returns:
- Stack of
ParamInfo
objects 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:
toString
in classjava.lang.Object
-
-