com.sun.xml.ws.db.toplink
Class JAXBContextWrapper
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
JAXBContextWrapper
JAXBContextWrapper(JAXBContext cxt,
Map<TypeInfo,org.eclipse.persistence.jaxb.TypeMappingInfo> map)
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.