public final class XMLConverter extends ConverterSupport
Constructor and Description |
---|
XMLConverter(TimeZone timeZone,
boolean ignoreRemotingFetch)
constructor of the class
|
Modifier and Type | Method and Description |
---|---|
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
|
void |
writeOut(PageContext pc,
Object source,
Writer writer) |
toConverterException
public XMLConverter(TimeZone timeZone, boolean ignoreRemotingFetch)
timeZone
- xmlConform
- define if generated xml conform output or wddx conform output (wddx is not xml conform)public void setTimeZone(TimeZone timeZone)
timeZone
- public void writeOut(PageContext pc, Object source, Writer writer) throws ConverterException, IOException
ConverterException
IOException
public String serialize(Object object) throws ConverterException
object
- Object to serializeConverterException
public Object deserialize(String strWddx, boolean validate) throws ConverterException, IOException, FactoryConfigurationError
strWddx
- validate
- ConverterException
IOException
FactoryConfigurationError
Copyright © 2015 Lucee