com.caucho.quercus.marshal
Class MarshalFactory

java.lang.Object
  extended by com.caucho.quercus.marshal.MarshalFactory
Direct Known Subclasses:
ProMarshalFactory

public class MarshalFactory
extends java.lang.Object

Code for marshaling (PHP to Java) and unmarshaling (Java to PHP) arguments.


Field Summary
protected  ModuleContext _moduleContext
           
 
Constructor Summary
MarshalFactory(ModuleContext moduleContext)
           
 
Method Summary
 Marshal create(java.lang.Class<?> argType)
           
 Marshal create(java.lang.Class<?> argType, boolean isNotNull)
           
 Marshal create(java.lang.Class<?> argType, boolean isNotNull, boolean isNullAsFalse)
           
 Marshal createExpectBoolean()
           
 Marshal createExpectNumeric()
           
 Marshal createExpectString()
           
 Marshal createReference()
           
 Marshal createValuePassThru()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_moduleContext

protected ModuleContext _moduleContext
Constructor Detail

MarshalFactory

public MarshalFactory(ModuleContext moduleContext)
Method Detail

create

public Marshal create(java.lang.Class<?> argType)

create

public Marshal create(java.lang.Class<?> argType,
                      boolean isNotNull)

create

public Marshal create(java.lang.Class<?> argType,
                      boolean isNotNull,
                      boolean isNullAsFalse)

createReference

public Marshal createReference()

createValuePassThru

public Marshal createValuePassThru()

createExpectString

public Marshal createExpectString()

createExpectNumeric

public Marshal createExpectNumeric()

createExpectBoolean

public Marshal createExpectBoolean()