relaxngcc.codedom
Class CDIfStatement

java.lang.Object
  extended by relaxngcc.codedom.CDIfStatement
All Implemented Interfaces:
CDStatement

public class CDIfStatement
extends java.lang.Object
implements CDStatement


Constructor Summary
CDIfStatement(CDExpression expr)
           
 
Method Summary
 CDBlock _else()
           
 CDBlock _then()
           
 void setElseBlock(CDBlock b)
           
 void setThenBlock(CDBlock b)
           
 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

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: CDStatement
Prints itself as a statement.

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