org.apache.juddi.jaxb
Class JAXBMarshaller

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

public class JAXBMarshaller
extends java.lang.Object

Author:
Jeff Faath

Field Summary
static java.lang.String PACKAGE_JUDDI
           
static java.lang.String PACKAGE_JUDDIAPI
           
static java.lang.String PACKAGE_SUBSCRIPTION
           
static java.lang.String PACKAGE_UDDIAPI
           
 
Constructor Summary
JAXBMarshaller()
           
 
Method Summary
static org.w3c.dom.Element marshallToElement(java.lang.Object object, java.lang.String thePackage, org.w3c.dom.Element element)
           
static java.lang.String marshallToString(java.lang.Object object, java.lang.String thePackage)
           
static java.lang.Object unmarshallFromElement(org.w3c.dom.Element element, java.lang.String thePackage)
           
static java.lang.Object unmarshallFromFileResource(java.lang.String fileName, java.lang.String thePackage)
           
static java.lang.Object unmarshallFromInputStream(java.io.InputStream inputStream, java.lang.String thePackage)
           
static java.lang.Object unmarshallFromString(java.lang.String rawObject, java.lang.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 java.lang.String PACKAGE_UDDIAPI
See Also:
Constant Field Values

PACKAGE_SUBSCRIPTION

public static final java.lang.String PACKAGE_SUBSCRIPTION
See Also:
Constant Field Values

PACKAGE_JUDDIAPI

public static final java.lang.String PACKAGE_JUDDIAPI
See Also:
Constant Field Values

PACKAGE_JUDDI

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

JAXBMarshaller

public JAXBMarshaller()
Method Detail

unmarshallFromInputStream

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

unmarshallFromFileResource

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

unmarshallFromString

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

marshallToString

public static java.lang.String marshallToString(java.lang.Object object,
                                                java.lang.String thePackage)

marshallToElement

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

unmarshallFromElement

public static java.lang.Object unmarshallFromElement(org.w3c.dom.Element element,
                                                     java.lang.String thePackage)
                                              throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException


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