1 29 30 package com.caucho.quercus.function; 31 32 import com.caucho.quercus.env.Env; 33 import com.caucho.quercus.env.NullValue; 34 import com.caucho.quercus.env.Value; 35 import com.caucho.quercus.expr.Expr; 36 37 public class VoidMarshal extends Marshal 38 { 39 public static final Marshal MARSHAL = new VoidMarshal(); 40 41 public Object marshal(Env env, Expr expr, Class expectedClass) 42 { 43 throw new UnsupportedOperationException (); 44 } 45 46 public Object marshal(Env env, Value value, Class expectedClass) 47 { 48 throw new UnsupportedOperationException (); 49 } 50 51 public Value unmarshal(Env env, Object value) 52 { 53 return NullValue.NULL; 54 } 55 } 56 | Popular Tags |