|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.dwrp.AbstractOutboundVariable
public abstract class AbstractOutboundVariable
A helper class for people that want to implement OutboundVariable
.
Nested Class Summary | |
---|---|
protected class |
AbstractOutboundVariable.NotInlineDefinition
A helper struct to pass a build code and define code together |
Constructor Summary | |
---|---|
protected |
AbstractOutboundVariable(OutboundContext outboundContext)
|
Method Summary | |
---|---|
protected void |
forceInline(boolean inlineStatus)
We might want to force us into predefined mode. |
java.lang.String |
getAssignCode()
|
java.lang.String |
getBuildCode()
|
java.lang.String |
getDeclareCode()
|
protected abstract java.lang.String |
getInlineDefinition()
Define the definition we should use if we are being used inline |
protected abstract AbstractOutboundVariable.NotInlineDefinition |
getNotInlineDefinition()
Define the definition we should use if we are being used not inline |
OutboundVariable |
getReferenceVariable()
Get a reference to this OutboundVariable. |
protected java.lang.String |
getVariableName()
|
protected void |
setChildren(java.util.Collection children)
|
protected java.lang.String |
toStringDefinitionHint()
A helper to children get have definition info in Object.toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractOutboundVariable(OutboundContext outboundContext)
outboundContext
- the OutboundContext to setMethod Detail |
---|
protected void forceInline(boolean inlineStatus)
inlineStatus
- The inline status to forceprotected void setChildren(java.util.Collection children)
children
- the dependent children of this variablepublic java.lang.String getDeclareCode()
getDeclareCode
in interface OutboundVariable
public java.lang.String getBuildCode()
getBuildCode
in interface OutboundVariable
public java.lang.String getAssignCode()
getAssignCode
in interface OutboundVariable
public OutboundVariable getReferenceVariable()
OutboundVariable
this
already is a reference then this method returns
this
, or if not it creates one that does.
getReferenceVariable
in interface OutboundVariable
protected java.lang.String getVariableName()
protected abstract AbstractOutboundVariable.NotInlineDefinition getNotInlineDefinition()
protected abstract java.lang.String getInlineDefinition()
protected java.lang.String toStringDefinitionHint()
Object.toString()
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |