Modifier and Type | Class and Description |
---|---|
static class |
ParamInfoGroup.Operator
Operator to define relatioship between constraints defined by a stack of
ParamInfo objects |
Constructor and Description |
---|
ParamInfoGroup(ParamInfoGroup.Operator operator)
Constructs a new ParamInfoGroup.
|
Modifier and Type | Method and 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:choice
|
void |
push(ParamInfo info)
Pushes the
ParamInfo object in this ParamInfoGroup |
void |
setChoice(boolean isChoice)
Set if this param group is defined inside a rng:choice
|
java.lang.String |
toString() |
public ParamInfoGroup(ParamInfoGroup.Operator operator)
operator
- Operator which defines relationship between a stack of ParamInfo
objectspublic ParamInfoGroup.Operator getOperator()
public void push(ParamInfo info)
ParamInfo
object in this ParamInfoGroup
info
- ParamInfo
object to pushpublic boolean empty()
true
if and only if this ParamInfoGroup contains no ParamInfo items; false
otherwise.public java.util.Stack<ParamInfo> getParams()
ParamInfo
objects contained in this ParamInfoGroup
public boolean equals(ParamInfo param)
public void setChoice(boolean isChoice)
isChoice
- booleanpublic boolean isChoice()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved