public class JAXBMarshaller extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PACKAGE_JUDDI |
static String |
PACKAGE_JUDDIAPI |
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_JUDDIAPI
public static final String PACKAGE_JUDDI
public static Object unmarshallFromInputStream(InputStream inputStream, String thePackage) throws JAXBException
JAXBException
public static Object unmarshallFromFileResource(String fileName, String thePackage) throws JAXBException, IOException
JAXBException
IOException
public static Object unmarshallFromString(String rawObject, String thePackage) throws JAXBException
JAXBException
public static Element marshallToElement(Object object, String thePackage, Element element) throws JAXBException
JAXBException
public static Object unmarshallFromElement(Element element, String thePackage) throws JAXBException
JAXBException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.