com.sun.xml.ws.db.toplink
Class JAXBContextWrapper
java.lang.Object
com.sun.xml.ws.db.toplink.JAXBContextWrapper
public class JAXBContextWrapper
- extends Object
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<JAXBMarshaller> mpool
upool
ObjectPool<JAXBUnmarshaller> upool
infoMap
Map<TypeInfo,TypeMappingInfo> infoMap
typeNames
Map<TypeMappingInfo,QName> typeNames
wrapperAccessors
Map<Class<?>,JAXBWrapperAccessor> wrapperAccessors
JAXBContextWrapper
JAXBContextWrapper(JAXBContext cxt,
Map<TypeInfo,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-2011 Oracle and/or its affiliates. All rights reserved.