railo.runtime.converter
Class WDDXConverter

java.lang.Object
  extended by railo.runtime.converter.WDDXConverter

public final class WDDXConverter
extends Object

class to serialize and desirilize WDDX Packes


Constructor Summary
WDDXConverter(TimeZone timeZone, boolean xmlConform, boolean ignoreRemotingFetch)
          constructor of the class
 
Method Summary
 Object deserialize(String strWddx, boolean validate)
          deserialize a WDDX Package (XML String Representation) to a runtime object
 boolean equals(Object obj)
           
 String serialize(Object object)
          serialize a Object to his xml Format represenation and create a valid wddx representation
 void setTimeZone(TimeZone timeZone)
          defines timezone info will
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WDDXConverter

public WDDXConverter(TimeZone timeZone,
                     boolean xmlConform,
                     boolean ignoreRemotingFetch)
constructor of the class

Parameters:
timeZone -
xmlConform - define if generated xml conform output or wddx conform output (wddx is not xml conform)
Method Detail

setTimeZone

public void setTimeZone(TimeZone timeZone)
defines timezone info will

Parameters:
timeZone -

serialize

public String serialize(Object object)
                 throws ConverterException
serialize a Object to his xml Format represenation and create a valid wddx representation

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

deserialize

public Object deserialize(String strWddx,
                          boolean validate)
                   throws ConverterException,
                          IOException,
                          FactoryConfigurationError
deserialize a WDDX Package (XML String Representation) to a runtime object

Parameters:
strWddx -
validate -
Returns:
Object represent WDDX Package
Throws:
ConverterException
IOException
FactoryConfigurationError

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)


Copyright © 2012 Railo