com.caucho.quercus.marshal
Class ProMarshalFactory

java.lang.Object
  extended by com.caucho.quercus.marshal.MarshalFactory
      extended by com.caucho.quercus.marshal.ProMarshalFactory

public class ProMarshalFactory
extends MarshalFactory

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


Field Summary
 
Fields inherited from class com.caucho.quercus.marshal.MarshalFactory
_moduleContext
 
Constructor Summary
ProMarshalFactory(ModuleContext moduleContext)
           
 
Method Summary
 Marshal create(java.lang.Class argType, boolean isNotNull, boolean isNullAsFalse)
           
 Marshal createExpectBoolean()
           
 Marshal createExpectNumeric()
           
 Marshal createExpectString()
           
 Marshal createReference()
           
 Marshal createValuePassThru()
           
 void generateMarshal(CodeWriterAttribute code, int argIndex)
           
 void generateUnmarshal(CodeWriterAttribute code)
           
 boolean isByteCodeGenerator()
           
 
Methods inherited from class com.caucho.quercus.marshal.MarshalFactory
create, create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProMarshalFactory

public ProMarshalFactory(ModuleContext moduleContext)
Method Detail

create

public Marshal create(java.lang.Class argType,
                      boolean isNotNull,
                      boolean isNullAsFalse)
Overrides:
create in class MarshalFactory

createReference

public Marshal createReference()
Overrides:
createReference in class MarshalFactory

createValuePassThru

public Marshal createValuePassThru()
Overrides:
createValuePassThru in class MarshalFactory

createExpectString

public Marshal createExpectString()
Overrides:
createExpectString in class MarshalFactory

createExpectNumeric

public Marshal createExpectNumeric()
Overrides:
createExpectNumeric in class MarshalFactory

createExpectBoolean

public Marshal createExpectBoolean()
Overrides:
createExpectBoolean in class MarshalFactory

isByteCodeGenerator

public boolean isByteCodeGenerator()

generateMarshal

public void generateMarshal(CodeWriterAttribute code,
                            int argIndex)

generateUnmarshal

public void generateUnmarshal(CodeWriterAttribute code)