Package relaxngcc.codedom
Class CDSwitchStatement
- java.lang.Object
-
- relaxngcc.codedom.CDSwitchStatement
-
- All Implemented Interfaces:
CDStatement
public class CDSwitchStatement extends java.lang.Object implements CDStatement
-
-
Constructor Summary
Constructors Constructor Description CDSwitchStatement(CDExpression expr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCase(CDConstant expr, CDBlock statements)
CDBlock
defaultCase()
void
state(CDFormatter f)
Prints itself as a statement.
-
-
-
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 interfaceCDStatement
- Throws:
java.io.IOException
-
-