Class ConnectedComponent

java.lang.Object
com.sun.tools.xjc.reader.gbind.ConnectedComponent
All Implemented Interfaces:
Iterable<Element>

public final class ConnectedComponent extends Object implements Iterable<Element>
Represents one strongly-connected component of the Element graph.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • ConnectedComponent

      public ConnectedComponent()
      Default constructor.
  • Method Details

    • isCollection

      public boolean isCollection()
      Returns true iff this can match a substring whose length is greater than 1.

      That means this property will become a collection property.

    • isRequired

      public boolean isRequired()
      Returns true iff this forms a cut set of a graph.

      That means any valid element sequence must have at least one value for this property.

    • iterator

      public Iterator<Element> iterator()
      Specified by:
      iterator in interface Iterable<Element>
    • toString

      public String toString()
      Just produces debug representation
      Overrides:
      toString in class Object