com.sun.xml.ws.db.toplink
Class JAXBContextWrapper

java.lang.Object
  extended by com.sun.xml.ws.db.toplink.JAXBContextWrapper

public class JAXBContextWrapper
extends Object


Field Summary
(package private)  Map<TypeInfo,org.eclipse.persistence.jaxb.TypeMappingInfo> infoMap
           
(package private)  org.eclipse.persistence.jaxb.JAXBContext jaxbContext
           
(package private)  ObjectPool<org.eclipse.persistence.jaxb.JAXBMarshaller> mpool
           
(package private)  Map<org.eclipse.persistence.jaxb.TypeMappingInfo,QName> typeNames
           
(package private)  ObjectPool<org.eclipse.persistence.jaxb.JAXBUnmarshaller> upool
           
(package private)  Map<Class<?>,JAXBWrapperAccessor> wrapperAccessors
           
 
Constructor Summary
JAXBContextWrapper(JAXBContext cxt, Map<TypeInfo,org.eclipse.persistence.jaxb.TypeMappingInfo> map)
           
 
Method Summary
 XMLBridge createBridge(TypeInfo ref)
           
 XMLBridge createFragmentBridge()
           
 Marshaller createMarshaller()
           
 Unmarshaller createUnmarshaller()
           
 void generateSchema(SchemaOutputResolver outputResolver)
           
 String getBuildId()
           
 QName getElementName(Class o)
           
 QName getElementName(Object o)
           
<B,V>
getElementPropertyAccessor(Class<B> wrapperBean, String ns, String name)
           
 JAXBContext getJAXBContext()
           
 List<String> getKnownNamespaceURIs()
           
 QName getTypeName(TypeInfo tr)
           
 boolean hasSwaRef()
           
 Object newWrapperInstace(Class<?> wrapperType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jaxbContext

org.eclipse.persistence.jaxb.JAXBContext jaxbContext

mpool

ObjectPool<org.eclipse.persistence.jaxb.JAXBMarshaller> mpool

upool

ObjectPool<org.eclipse.persistence.jaxb.JAXBUnmarshaller> upool

infoMap

Map<TypeInfo,org.eclipse.persistence.jaxb.TypeMappingInfo> infoMap

typeNames

Map<org.eclipse.persistence.jaxb.TypeMappingInfo,QName> typeNames

wrapperAccessors

Map<Class<?>,JAXBWrapperAccessor> wrapperAccessors
Constructor Detail

JAXBContextWrapper

JAXBContextWrapper(JAXBContext cxt,
                   Map<TypeInfo,org.eclipse.persistence.jaxb.TypeMappingInfo> map)
Method Detail

getBuildId

public String getBuildId()

createBridge

public XMLBridge createBridge(TypeInfo ref)

createFragmentBridge

public XMLBridge createFragmentBridge()

createMarshaller

public Marshaller createMarshaller()
                            throws JAXBException
Throws:
JAXBException

createUnmarshaller

public Unmarshaller createUnmarshaller()
                                throws JAXBException
Throws:
JAXBException

generateSchema

public void generateSchema(SchemaOutputResolver outputResolver)
                    throws IOException
Throws:
IOException

getElementName

public QName getElementName(Object o)
                     throws JAXBException
Throws:
JAXBException

getElementName

public QName getElementName(Class o)
                     throws JAXBException
Throws:
JAXBException

getElementPropertyAccessor

public <B,V>  getElementPropertyAccessor(Class<B> wrapperBean,
                                              String ns,
                                              String name)
                                 throws JAXBException
Throws:
JAXBException

getJAXBContext

public JAXBContext getJAXBContext()

getKnownNamespaceURIs

public List<String> getKnownNamespaceURIs()

getTypeName

public QName getTypeName(TypeInfo tr)

hasSwaRef

public boolean hasSwaRef()

newWrapperInstace

public Object newWrapperInstace(Class<?> wrapperType)
                         throws InstantiationException,
                                IllegalAccessException
Throws:
InstantiationException
IllegalAccessException


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.