com.sun.tools.xjc.reader.dtd

Class Occurence

final class Occurence extends Term

Field Summary
booleanisOptional
booleanisRepeated
Termterm
Constructor Summary
Occurence(Term term, boolean optional, boolean repeated)
Method Summary
voidaddAllElements(Block b)
booleanisOptional()
booleanisRepeated()
voidnormalize(List<Block> r, boolean optional)
static Termwrap(Term t, int occurence)

Field Detail

isOptional

final boolean isOptional

isRepeated

final boolean isRepeated

term

final Term term

Constructor Detail

Occurence

Occurence(Term term, boolean optional, boolean repeated)

Method Detail

addAllElements

void addAllElements(Block b)

isOptional

boolean isOptional()

isRepeated

boolean isRepeated()

normalize

void normalize(List<Block> r, boolean optional)

wrap

static Term wrap(Term t, int occurence)