Package com.sun.tools.xjc.reader.gbind
Class Element
java.lang.Object
com.sun.tools.xjc.reader.gbind.Expression
com.sun.tools.xjc.reader.gbind.Element
- Direct Known Subclasses:
SinkNode
,SourceNode
Expression
that represents an alphabet of a regular language.
Since this package is about a regular expression over element declarations,
this represents an XML element declaration (hence the name.)
Element needs to be interned, meaning one Element
per one tag name.
Implements ElementSet
to represent a self.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.sun.tools.xjc.reader.gbind.ElementSet
Fields inherited from class com.sun.tools.xjc.reader.gbind.Expression
EPSILON
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
EMPTY_SET
static final com.sun.tools.xjc.reader.gbind.ElementSet EMPTY_SET
-
-
Constructor Details
-
Element
protected Element()
-
-
Method Details
-
addNext
-
contains
public boolean contains(com.sun.tools.xjc.reader.gbind.ElementSet rhs) -
iterator
Deprecated.if you statically call this method, there's something wrong.Just to satisfy theElementSet
contract. -
buildStronglyConnectedComponents
Builds a set of strongly connected components and puts them all into the given set. -
hasSelfLoop
public boolean hasSelfLoop()
-