public class XMLSerializer extends Object
Constructor and Description |
---|
XMLSerializer() |
XMLSerializer(Boolean includeRefComponents) |
Modifier and Type | Method and Description |
---|---|
static String |
getSerialization(Object ob) |
XMLElement |
makeXMLElement(XMLElement dest,
Object parent,
String knownAs,
Object ob) |
XMLElement |
makeXMLElement(XMLElement dest,
Object parent,
String knownAs,
String typeAttribute,
Object ob) |
static XMLSerializer |
newInstance() |
static String |
serialize(Object ob) |
void |
setConciseTags(boolean b) |
void |
setQuoteStrings(boolean b) |
String |
writeObject(Object obj) |
String |
writeObject(Object obj,
String knownAs,
String typeAttribute) |
public XMLSerializer()
public XMLSerializer(Boolean includeRefComponents)
public void setConciseTags(boolean b)
public void setQuoteStrings(boolean b)
public static XMLSerializer newInstance()
public static String serialize(Object ob) throws ContentError
ContentError
public static String getSerialization(Object ob) throws ContentError
ContentError
public String writeObject(Object obj) throws ContentError
ContentError
public String writeObject(Object obj, String knownAs, String typeAttribute) throws ContentError
ContentError
public XMLElement makeXMLElement(XMLElement dest, Object parent, String knownAs, Object ob) throws ContentError
ContentError
public XMLElement makeXMLElement(XMLElement dest, Object parent, String knownAs, String typeAttribute, Object ob) throws ContentError
ContentError
Copyright © 2020. All rights reserved.