org.apache.ws.jaxme.js

Class ConditionalIndentationJavaSourceObject.LoopVariable

Enclosing Class:
ConditionalIndentationJavaSourceObject
Implemented Interfaces:
DirectAccessible, IndentedObject, TypedValue

public class ConditionalIndentationJavaSourceObject.LoopVariable
extends java.lang.Object
implements DirectAccessible, IndentedObject

Constructor Summary

LoopVariable(Object pValue, JavaQName pType)

Method Summary

JavaQName
getType()
Returns the objects type.
Object
getValue()
boolean
isNullable()
Returns whether the value is possibly null.
void
setNullable(boolean pNullable)
Sets whether the value is possibly null.
void
write(IndentationEngine pEngine, IndentationTarget pTarget)

Constructor Details

LoopVariable

public LoopVariable(Object pValue,
                    JavaQName pType)

Method Details

getType

public JavaQName getType()
Returns the objects type.
Specified by:
getType in interface TypedValue

getValue

public Object getValue()

isNullable

public boolean isNullable()
Returns whether the value is possibly null.
Specified by:
isNullable in interface DirectAccessible

setNullable

public void setNullable(boolean pNullable)
Sets whether the value is possibly null.
Specified by:
setNullable in interface DirectAccessible

write

public void write(IndentationEngine pEngine,
                  IndentationTarget pTarget)
            throws IOException
Specified by:
write in interface IndentedObject