com.sun.tools.xjc.reader.dtd
Class Occurence

java.lang.Object
  extended by com.sun.tools.xjc.reader.dtd.Term
      extended by com.sun.tools.xjc.reader.dtd.Occurence

final class Occurence
extends Term


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

Field Detail

term

final Term term

isOptional

final boolean isOptional

isRepeated

final boolean isRepeated
Constructor Detail

Occurence

Occurence(Term term,
          boolean optional,
          boolean repeated)
Method Detail

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