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