org.apache.juddi.jaxb
Class JAXBMarshaller

java.lang.Object
  extended by org.apache.juddi.jaxb.JAXBMarshaller

public class JAXBMarshaller
extends Object

Author:
Jeff Faath

Field Summary
static String PACKAGE_JUDDI
           
static String PACKAGE_JUDDIAPI
           
static String PACKAGE_SUBSCR_RES
           
static String PACKAGE_SUBSCRIPTION
           
static String PACKAGE_UDDIAPI
           
 
Constructor Summary
JAXBMarshaller()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE_UDDIAPI

public static final String PACKAGE_UDDIAPI
See Also:
Constant Field Values

PACKAGE_SUBSCRIPTION

public static final String PACKAGE_SUBSCRIPTION
See Also:
Constant Field Values

PACKAGE_SUBSCR_RES

public static final String PACKAGE_SUBSCR_RES
See Also:
Constant Field Values

PACKAGE_JUDDIAPI

public static final String PACKAGE_JUDDIAPI
See Also:
Constant Field Values

PACKAGE_JUDDI

public static final String PACKAGE_JUDDI
See Also:
Constant Field Values
Constructor Detail

JAXBMarshaller

public JAXBMarshaller()
Method Detail

unmarshallFromInputStream

public static Object unmarshallFromInputStream(InputStream inputStream,
                                               String thePackage)
                                        throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

unmarshallFromFileResource

public static Object unmarshallFromFileResource(String fileName,
                                                String thePackage)
                                         throws javax.xml.bind.JAXBException,
                                                IOException
Throws:
javax.xml.bind.JAXBException
IOException

unmarshallFromString

public static Object unmarshallFromString(String rawObject,
                                          String thePackage)
                                   throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

marshallToString

public static String marshallToString(Object object,
                                      String thePackage)

marshallToElement

public static Element marshallToElement(Object object,
                                        String thePackage,
                                        Element element)
                                 throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

unmarshallFromElement

public static Object unmarshallFromElement(Element element,
                                           String thePackage)
                                    throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.