com.sun.tools.xjc.reader.gbind

Class ConnectedComponent

public final class ConnectedComponent extends Object implements Iterable<Element>

Represents one strongly-connected component of the Element graph.
Field Summary
booleanisRequired
Method Summary
voidadd(Element e)
booleanisCollection()
Returns true iff this ConnectedComponent can match a substring whose length is greater than 1.
booleanisRequired()
Returns true iff this ConnectedComponent forms a cut set of a graph.
Iterator<Element>iterator()
StringtoString()
Just produces debug representation

Field Detail

isRequired

boolean isRequired

Method Detail

add

void add(Element e)

isCollection

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

That means this property will become a collection property.

isRequired

public final boolean isRequired()
Returns true iff this ConnectedComponent 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()

toString

public String toString()
Just produces debug representation