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

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

final class Block
extends Object


Field Summary
(package private)  Set<Element> elements
          Elements that belong to this block.
(package private)  boolean isOptional
           
(package private)  boolean isRepeated
           
 
Constructor Summary
Block(boolean optional, boolean repeated)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isOptional

final boolean isOptional

isRepeated

final boolean isRepeated

elements

final Set<Element> elements
Elements that belong to this block.

We want to preserve the order they are added, but we don't want dupliates.

Constructor Detail

Block

Block(boolean optional,
      boolean repeated)