Package relaxngcc.codedom
Class CDIfStatement
- java.lang.Object
-
- relaxngcc.codedom.CDIfStatement
-
- All Implemented Interfaces:
CDStatement
public class CDIfStatement extends java.lang.Object implements CDStatement
-
-
Constructor Summary
Constructors Constructor Description CDIfStatement(CDExpression expr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CDBlock_else()CDBlock_then()voidsetElseBlock(CDBlock b)voidsetThenBlock(CDBlock b)voidstate(CDFormatter f)Prints itself as a statement.
-
-
-
Constructor Detail
-
CDIfStatement
public CDIfStatement(CDExpression expr)
-
-
Method Detail
-
setThenBlock
public void setThenBlock(CDBlock b)
-
_then
public CDBlock _then()
-
setElseBlock
public void setElseBlock(CDBlock b)
-
_else
public CDBlock _else()
-
state
public void state(CDFormatter f) throws java.io.IOException
Description copied from interface:CDStatementPrints itself as a statement.- Specified by:
statein interfaceCDStatement- Throws:
java.io.IOException
-
-