public final class XmlUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ENCODING |
public static final String DEFAULT_ENCODING
public static Marshaller createMarshaller() throws JAXBException
JAXBException
public static Marshaller createMarshaller(String encoding, boolean prettyPrint) throws JAXBException
JAXBException
public static Unmarshaller createUnmarshaller() throws JAXBException
JAXBException
public static JAXBContext getContext() throws JAXBException
JAXBException
public static void initContext(ClassLoader classloader) throws JAXBException
JAXBException
public static String marshal(Object object) throws JAXBException, IOException
JAXBException
IOException
public static String marshal(Object object, String encoding) throws JAXBException, IOException
JAXBException
IOException
public static String marshal(Object object, String encoding, boolean prettyPrint) throws JAXBException, IOException
JAXBException
IOException
public static Object unmarshal(String xml) throws JAXBException
JAXBException
public static void writeXml(Attachment attachment, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(Attachment attachment, String encoding, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(Attachment attachment, String encoding, boolean prettyPrint, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(Attachment attachment, Marshaller marshaller, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(PublishObject publishing, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(PublishObject publishing, String encoding, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(PublishObject publishing, String encoding, boolean prettyPrint, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(PublishObject publishing, Marshaller marshaller, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(RealtorContactDetails contact, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(RealtorContactDetails contact, String encoding, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(RealtorContactDetails contact, String encoding, boolean prettyPrint, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(RealtorContactDetails contact, Marshaller marshaller, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(RealEstate realEstate, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(RealEstate realEstate, String encoding, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(RealEstate realEstate, String encoding, boolean prettyPrint, OutputStream output) throws JAXBException
JAXBException
public static void writeXml(RealEstate realEstate, Marshaller marshaller, OutputStream output) throws JAXBException
JAXBException
Copyright © 2014 OpenEstate. All rights reserved.