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
JAXBExceptionpublic static Marshaller createMarshaller(String encoding, boolean prettyPrint) throws JAXBException
JAXBExceptionpublic static Unmarshaller createUnmarshaller() throws JAXBException
JAXBExceptionpublic static JAXBContext getContext() throws JAXBException
JAXBExceptionpublic static void initContext(ClassLoader classloader) throws JAXBException
JAXBExceptionpublic static String marshal(Object object) throws JAXBException, IOException
JAXBExceptionIOExceptionpublic static String marshal(Object object, String encoding) throws JAXBException, IOException
JAXBExceptionIOExceptionpublic static String marshal(Object object, String encoding, boolean prettyPrint) throws JAXBException, IOException
JAXBExceptionIOExceptionpublic static Object unmarshal(String xml) throws JAXBException
JAXBExceptionpublic static void writeXml(Attachment attachment, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(Attachment attachment, String encoding, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(Attachment attachment, String encoding, boolean prettyPrint, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(Attachment attachment, Marshaller marshaller, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(PublishObject publishing, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(PublishObject publishing, String encoding, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(PublishObject publishing, String encoding, boolean prettyPrint, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(PublishObject publishing, Marshaller marshaller, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(RealtorContactDetails contact, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(RealtorContactDetails contact, String encoding, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(RealtorContactDetails contact, String encoding, boolean prettyPrint, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(RealtorContactDetails contact, Marshaller marshaller, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(RealEstate realEstate, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(RealEstate realEstate, String encoding, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(RealEstate realEstate, String encoding, boolean prettyPrint, OutputStream output) throws JAXBException
JAXBExceptionpublic static void writeXml(RealEstate realEstate, Marshaller marshaller, OutputStream output) throws JAXBException
JAXBExceptionCopyright © 2014 OpenEstate. All rights reserved.