|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a range of possible occurences of elements.
| Method Summary | |
boolean |
compareMaxOccurs(int anInt)
Checks if the maxOccurs is equal to the specified integer. |
int |
getMaxOccurs()
Gets the maximum number of occurences. |
int |
getMinOccurs()
Gets the minimum number of occurences. |
boolean |
isOne()
Checks if the range has a minOccurs and a maxOccurs of 1. |
boolean |
isUnbounded()
Checks if the range is unbounded, i.e. |
boolean |
isZero()
Checks if the range has minOccurs and a maxOccurs of 0. |
| Method Detail |
public int getMinOccurs()
public int getMaxOccurs()
public boolean isUnbounded()
true iff the range is unbounded.public boolean compareMaxOccurs(int anInt)
getMaxOccurs
method directly because that method must only be called if the range is not
unbounded.
true iff the maxOccurs is equal to the specified
integer.public boolean isZero()
true iff minOccurs and maxOccurs are 0.public boolean isOne()
true iff the minOccurs and the maxOccurs are 1.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||