railo.runtime.converter
Class ScriptConverter

java.lang.Object
  extended by railo.runtime.converter.ConverterSupport
      extended by railo.runtime.converter.ScriptConverter
All Implemented Interfaces:
StringConverter

public final class ScriptConverter
extends ConverterSupport

class to serialize and desirilize WDDX Packes


Constructor Summary
ScriptConverter()
          constructor of the class
ScriptConverter(boolean ignoreRemotingFetch)
           
 
Method Summary
 void _serializeStruct(Struct struct, StringBuffer sb, Set<Object> done)
          serialize a Struct
 String serialize(Object object)
          serialize a Object to his literal Format
 String serializeStruct(Struct struct, Set<Collection.Key> ignoreSet)
           
 void writeOut(PageContext pc, Object source, Writer writer)
           
 
Methods inherited from class railo.runtime.converter.ConverterSupport
toConverterException
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptConverter

public ScriptConverter()
constructor of the class


ScriptConverter

public ScriptConverter(boolean ignoreRemotingFetch)
Method Detail

_serializeStruct

public void _serializeStruct(Struct struct,
                             StringBuffer sb,
                             Set<Object> done)
                      throws ConverterException
serialize a Struct

Parameters:
struct - Struct to serialize
sb -
done -
Throws:
ConverterException

serializeStruct

public String serializeStruct(Struct struct,
                              Set<Collection.Key> ignoreSet)
                       throws ConverterException
Throws:
ConverterException

writeOut

public void writeOut(PageContext pc,
                     Object source,
                     Writer writer)
              throws ConverterException,
                     IOException
Throws:
ConverterException
IOException

serialize

public String serialize(Object object)
                 throws ConverterException
serialize a Object to his literal Format

Parameters:
object - Object to serialize
Returns:
serialized wddx package
Throws:
ConverterException


Copyright © 2012 Railo