|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.marshal.Marshal
com.caucho.quercus.marshal.NullAsFalseMarshal
public class NullAsFalseMarshal
Field Summary | |
---|---|
protected Marshal |
_marshal
|
Constructor Summary | |
---|---|
NullAsFalseMarshal(Marshal marshal)
|
Method Summary | |
---|---|
boolean |
isBoolean()
Returns true if the result is a primitive boolean. |
boolean |
isDouble()
Returns true if the result is a double. |
boolean |
isLong()
Returns true if the result is a long. |
boolean |
isReadOnly()
Return true for read-only. |
boolean |
isReference()
Return true for a reference |
boolean |
isString()
Returns true if the result is a string. |
java.lang.Object |
marshal(Env env,
Expr expr,
java.lang.Class argClass)
|
java.lang.Object |
marshal(Env env,
Value value,
java.lang.Class argClass)
|
java.lang.String |
toString()
|
Value |
unmarshal(Env env,
java.lang.Object value)
|
Methods inherited from class com.caucho.quercus.marshal.Marshal |
---|
getExpectedClass, getMarshalingCost, getMarshalingCost, getMarshalingCostImpl, isValue, marshalImpl, unexpectedNull, unexpectedType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Marshal _marshal
Constructor Detail |
---|
public NullAsFalseMarshal(Marshal marshal)
Method Detail |
---|
public boolean isBoolean()
Marshal
isBoolean
in class Marshal
public boolean isString()
Marshal
isString
in class Marshal
public boolean isLong()
Marshal
isLong
in class Marshal
public boolean isDouble()
Marshal
isDouble
in class Marshal
public boolean isReadOnly()
Marshal
isReadOnly
in class Marshal
public boolean isReference()
Marshal
isReference
in class Marshal
public java.lang.Object marshal(Env env, Expr expr, java.lang.Class argClass)
marshal
in class Marshal
public java.lang.Object marshal(Env env, Value value, java.lang.Class argClass)
marshal
in class Marshal
public Value unmarshal(Env env, java.lang.Object value)
unmarshal
in class Marshal
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |