com.sun.codemodel
Class JConditional

java.lang.Object  extended by com.sun.codemodel.JConditional
All Implemented Interfaces:
JStatement

public class JConditional
extends Object
implements JStatement

If statement, with optional else clause


Method Summary
 JBlock_else()
          Create a block to be executed by "else" branch
 JConditional_elseif(JExpression boolExp)
          Creates ...
 JBlock_then()
          Return the block to be excuted by the "then" branch
 voidstate(JFormatter f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

_then

public JBlock _then()
Return the block to be excuted by the "then" branch

Returns:
Then block

_else

public JBlock _else()
Create a block to be executed by "else" branch

Returns:
Newly generated else block

_elseif

public JConditional _elseif(JExpression boolExp)
Creates ... else if(...) ... code.


state

public void state(JFormatter f)
Specified by:
state in interface JStatement


Copyright © 2005-2011
Oracle. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14