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
ContentErrorpublic static String getSerialization(Object ob) throws ContentError
ContentErrorpublic String writeObject(Object obj) throws ContentError
ContentErrorpublic String writeObject(Object obj, String knownAs, String typeAttribute) throws ContentError
ContentErrorpublic XMLElement makeXMLElement(XMLElement dest, Object parent, String knownAs, Object ob) throws ContentError
ContentErrorpublic XMLElement makeXMLElement(XMLElement dest, Object parent, String knownAs, String typeAttribute, Object ob) throws ContentError
ContentErrorCopyright © 2019. All rights reserved.