public class JAXBMarshaller extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PACKAGE_JUDDI |
static String |
PACKAGE_JUDDIAPI |
static String |
PACKAGE_SUBSCR_RES |
static String |
PACKAGE_SUBSCRIPTION |
static String |
PACKAGE_UDDIAPI |
| Constructor and Description |
|---|
JAXBMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
static Element |
marshallToElement(Object object,
String thePackage,
Element element) |
static String |
marshallToString(Object object,
String thePackage) |
static Object |
unmarshallFromElement(Element element,
String thePackage) |
static Object |
unmarshallFromFileResource(String fileName,
String thePackage) |
static Object |
unmarshallFromInputStream(InputStream inputStream,
String thePackage) |
static Object |
unmarshallFromString(String rawObject,
String thePackage) |
public static final String PACKAGE_UDDIAPI
public static final String PACKAGE_SUBSCRIPTION
public static final String PACKAGE_SUBSCR_RES
public static final String PACKAGE_JUDDIAPI
public static final String PACKAGE_JUDDI
public static Object unmarshallFromInputStream(InputStream inputStream, String thePackage) throws JAXBException
JAXBExceptionpublic static Object unmarshallFromFileResource(String fileName, String thePackage) throws JAXBException, IOException
JAXBExceptionIOExceptionpublic static Object unmarshallFromString(String rawObject, String thePackage) throws JAXBException
JAXBExceptionpublic static Element marshallToElement(Object object, String thePackage, Element element) throws JAXBException
JAXBExceptionpublic static Object unmarshallFromElement(Element element, String thePackage) throws JAXBException
JAXBExceptionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.