relaxngcc.codedom
Class CDSwitchStatement

java.lang.Object
  extended byrelaxngcc.codedom.CDSwitchStatement
All Implemented Interfaces:
CDStatement

public class CDSwitchStatement
extends java.lang.Object
implements CDStatement


Constructor Summary
CDSwitchStatement(CDExpression expr)
           
 
Method Summary
 void addCase(CDConstant expr, CDBlock statements)
           
 CDBlock defaultCase()
           
 void state(CDFormatter f)
          Prints itself as a statement.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDSwitchStatement

public CDSwitchStatement(CDExpression expr)
Method Detail

addCase

public void addCase(CDConstant expr,
                    CDBlock statements)

defaultCase

public CDBlock defaultCase()

state

public void state(CDFormatter f)
           throws java.io.IOException
Description copied from interface: CDStatement
Prints itself as a statement.

Specified by:
state in interface CDStatement
Throws:
java.io.IOException