org.jbind.example.maze
Class MazeData

java.lang.Object
  extended byorg.jbind.xml.instance.data.AbstractData
      extended byorg.jbind.xml.instance.data.AnyTypeData
          extended byorg.jbind.example.maze.Maze
              extended byorg.jbind.example.maze.MazeData
All Implemented Interfaces:
IAnyTypeData, IComplexCCData, IComplexData, IConfiguration, IMaze, IMazeData, ISetupAndTearDown

public class MazeData
extends Maze


Nested Class Summary
static class MazeData.DataCreator_
           
 
Constructor Summary
MazeData()
           
 
Method Summary
protected  void doAcceptEnds_(IDataVisitor aVisitor)
           
protected  void doAcceptStarts_(IDataVisitor aVisitor)
           
 java.lang.String getInitialRoom()
          Gets the initialRoom attribute.
 java.util.ListIterator iterRooms()
          Iterates the room elements.
 IRoom refInitialRoom()
          Gets the data object referenced by the "keyRef (initialRoom)" reference constraint.
 
Methods inherited from class org.jbind.example.maze.Maze
getNbSetupAndTearDownLevels, getRoomByName, setup, tearDown
 
Methods inherited from class org.jbind.xml.instance.data.AnyTypeData
acceptImpl_
 
Methods inherited from class org.jbind.xml.instance.data.AbstractData
accept_, addReferencedData_, createElement_, createElement_, createUncheckedAttributeData_, equals, fetchByXPath_, getAttribute_, getDataDesc_, getFixed_, getImpl_, getParent_, getSubstitutionHead_, getType_, hashCode, isDefault_, isNil_, iterAttributes_, iterElements_, iterReferencedData_, newElementData_, numberByXPath_, removeAttributeData_, selectByXPath_, setAttribute_, setDataDesc_, setImpl_, setSubstitutionHead_, setType_, stringByXPath_, testByXPath_
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.core.data.IAnyTypeData
accept_, acceptImpl_, addReferencedData_, createElement_, createElement_, equals, getAttribute_, getDataDesc_, getImpl_, getParent_, getSubstitutionHead_, getType_, hashCode, isDefault_, isNil_, iterAttributes_, iterElements_, setAttribute_, setDataDesc_, setImpl_, setSubstitutionHead_, setType_
 

Constructor Detail

MazeData

public MazeData()
Method Detail

doAcceptStarts_

protected void doAcceptStarts_(IDataVisitor aVisitor)

doAcceptEnds_

protected void doAcceptEnds_(IDataVisitor aVisitor)

iterRooms

public java.util.ListIterator iterRooms()
Description copied from interface: IMazeData
Iterates the room elements.

Returns:
Returns a list iterator of IRoom.

getInitialRoom

public java.lang.String getInitialRoom()
Description copied from interface: IMazeData
Gets the initialRoom attribute.

Returns:
(optional) The value.

refInitialRoom

public IRoom refInitialRoom()
Description copied from interface: IMazeData
Gets the data object referenced by the "keyRef (initialRoom)" reference constraint.

Returns:
The referenced data object.