com.ibm.etools.xsd.impl
Class XSDParticleImpl.XSDNFA.StateImpl

java.lang.Object
  |
  +--com.ibm.etools.xsd.impl.XSDParticleImpl.XSDNFA.StateImpl
All Implemented Interfaces:
XSDParticle.DFA.State
Enclosing class:
XSDParticleImpl.XSDNFA

public static class XSDParticleImpl.XSDNFA.StateImpl
extends java.lang.Object
implements XSDParticle.DFA.State


Field Summary
protected  boolean isAccepting
           
protected  java.util.Set transitions
           
 
Constructor Summary
XSDParticleImpl.XSDNFA.StateImpl()
           
 
Method Summary
 XSDParticle.DFA.Transition createTransition(XSDParticle xsdParticle, XSDParticle.DFA.State state)
           
 java.util.Set getTransitions()
          Returns the set of transitions that leave this state.
 boolean isAccepting()
          Returns whether this state is an accepting state.
 void setAccepting(boolean isAccepting)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transitions

protected java.util.Set transitions

isAccepting

protected boolean isAccepting
Constructor Detail

XSDParticleImpl.XSDNFA.StateImpl

public XSDParticleImpl.XSDNFA.StateImpl()
Method Detail

getTransitions

public java.util.Set getTransitions()
Description copied from interface: XSDParticle.DFA.State
Returns the set of transitions that leave this state.
Specified by:
getTransitions in interface XSDParticle.DFA.State
Following copied from interface: com.ibm.etools.xsd.XSDParticle.DFA.State
Returns:
the set of transitions that leave this state.

isAccepting

public boolean isAccepting()
Description copied from interface: XSDParticle.DFA.State
Returns whether this state is an accepting state.
Specified by:
isAccepting in interface XSDParticle.DFA.State
Following copied from interface: com.ibm.etools.xsd.XSDParticle.DFA.State
Returns:
whether this state is an accepting state.

setAccepting

public void setAccepting(boolean isAccepting)

createTransition

public XSDParticle.DFA.Transition createTransition(XSDParticle xsdParticle,
                                                   XSDParticle.DFA.State state)