com.sun.tools.xjc.reader.dtd
Class Occurence
java.lang.Object
com.sun.tools.xjc.reader.dtd.Term
com.sun.tools.xjc.reader.dtd.Occurence
final class Occurence
- extends Term
Fields inherited from class com.sun.tools.xjc.reader.dtd.Term |
EMPTY |
Constructor Summary |
Occurence(Term term,
boolean optional,
boolean repeated)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
term
final Term term
isOptional
final boolean isOptional
isRepeated
final boolean isRepeated
Occurence
Occurence(Term term,
boolean optional,
boolean repeated)
wrap
static Term wrap(Term t,
int occurence)
normalize
void normalize(List<Block> r,
boolean optional)
- Specified by:
normalize
in class Term
addAllElements
void addAllElements(Block b)
- Specified by:
addAllElements
in class Term
isOptional
boolean isOptional()
- Specified by:
isOptional
in class Term
isRepeated
boolean isRepeated()
- Specified by:
isRepeated
in class Term