|
||||||||||
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.ExtValueMarshal
public class ExtValueMarshal
Code for marshaling (PHP to Java) and unmarshaling (Java to PHP) arguments.
Field Summary |
---|
Constructor Summary | |
---|---|
ExtValueMarshal(java.lang.Class<?> expectedClass)
|
Method Summary | |
---|---|
java.lang.Class |
getExpectedClass()
|
protected int |
getMarshalingCostImpl(Value argValue)
|
boolean |
isReadOnly()
Return true for read-only. |
boolean |
isValue()
Return true if is a Value. |
java.lang.Object |
marshal(Env env,
Expr expr,
java.lang.Class expectedClass)
|
java.lang.Object |
marshal(Env env,
Value value,
java.lang.Class expectedClass)
|
Value |
unmarshal(Env env,
java.lang.Object value)
|
Methods inherited from class com.caucho.quercus.marshal.Marshal |
---|
getMarshalingCost, getMarshalingCost, isBoolean, isDouble, isLong, isReference, isString, marshalImpl, unexpectedNull, unexpectedType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtValueMarshal(java.lang.Class<?> expectedClass)
Method Detail |
---|
public boolean isReadOnly()
Marshal
isReadOnly
in class Marshal
public boolean isValue()
isValue
in class Marshal
public java.lang.Object marshal(Env env, Expr expr, java.lang.Class expectedClass)
marshal
in class Marshal
public java.lang.Object marshal(Env env, Value value, java.lang.Class expectedClass)
marshal
in class Marshal
public Value unmarshal(Env env, java.lang.Object value)
unmarshal
in class Marshal
protected int getMarshalingCostImpl(Value argValue)
getMarshalingCostImpl
in class Marshal
public java.lang.Class getExpectedClass()
getExpectedClass
in class Marshal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |