com.ebmwebsourcing.easycommons.jaxb
Class AbstractJAXBElementImpl<M>

java.lang.Object
  extended by com.ebmwebsourcing.easycommons.jaxb.AbstractJAXBElementImpl<M>
All Implemented Interfaces:
JAXBElement<M>

public abstract class AbstractJAXBElementImpl<M>
extends java.lang.Object
implements JAXBElement<M>


Constructor Summary
AbstractJAXBElementImpl(M model, JAXBElement<?> parent)
           
 
Method Summary
 M getModel()
           
 java.util.List<org.w3c.dom.Element> getOtherElements()
           
 JAXBElement<?> getParent()
           
static
<T> T
marshallAnyType(org.w3c.dom.Document doc, java.lang.Class<T> clazz)
           
static org.w3c.dom.Document unmarshallAnyElement(java.lang.Object jaxbElmt)
           
static
<E> org.w3c.dom.Document
unmarshallAnyType(javax.xml.namespace.QName tag, E jaxbElmt, java.lang.Class<E> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.easycommons.jaxb.JAXBElement
getJaxbContext, marshall, unmarshall
 

Constructor Detail

AbstractJAXBElementImpl

public AbstractJAXBElementImpl(M model,
                               JAXBElement<?> parent)
Method Detail

getModel

public M getModel()
Specified by:
getModel in interface JAXBElement<M>

getOtherElements

public java.util.List<org.w3c.dom.Element> getOtherElements()
Specified by:
getOtherElements in interface JAXBElement<M>

getParent

public JAXBElement<?> getParent()
Specified by:
getParent in interface JAXBElement<M>

marshallAnyType

public static <T> T marshallAnyType(org.w3c.dom.Document doc,
                                    java.lang.Class<T> clazz)
                         throws JAXBException
Throws:
JAXBException

unmarshallAnyType

public static <E> org.w3c.dom.Document unmarshallAnyType(javax.xml.namespace.QName tag,
                                                         E jaxbElmt,
                                                         java.lang.Class<E> clazz)
                                              throws JAXBException
Throws:
JAXBException

unmarshallAnyElement

public static org.w3c.dom.Document unmarshallAnyElement(java.lang.Object jaxbElmt)
                                                 throws JAXBException
Throws:
JAXBException


Copyright © 2008-2010 eBM WebSourcing. All Rights Reserved.