org.eclipse.persistence.jaxb
Class JAXBContext
java.lang.Object
javax.xml.bind.JAXBContext
org.eclipse.persistence.jaxb.JAXBContext
public class JAXBContext
- extends javax.xml.bind.JAXBContext
INTERNAL:
Purpose:Provide a TopLink implementation of the JAXBContext interface.
Responsibilities:
- Create Marshaller instances
- Create Unmarshaller instances
- Create Binder instances
- Create Introspector instances
- Create Validator instances
- Generate Schema Files
This is the TopLink JAXB 2.0 implementation of javax.xml.bind.JAXBContext. This class
is created by the JAXBContextFactory and is used to create Marshallers, Unmarshallers, Validators,
Binders and Introspectors. A JAXBContext can also be used to create Schema Files.
- See Also:
JAXBContext
,
JAXBMarshaller
,
JAXBUnmarshaller
,
JAXBBinder
,
JAXBIntrospector
- Author:
- mmacivor
- Since:
- Oracle TopLink 11.1.1.0.0
Fields inherited from class javax.xml.bind.JAXBContext |
JAXB_CONTEXT_FACTORY |
Methods inherited from class javax.xml.bind.JAXBContext |
createBinder, newInstance, newInstance, newInstance, newInstance, newInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBContext
public JAXBContext(XMLContext context)
JAXBContext
public JAXBContext(XMLContext context,
Generator generator)
getXMLContext
public XMLContext getXMLContext()
generateSchema
public void generateSchema(javax.xml.bind.SchemaOutputResolver outputResolver)
- Overrides:
generateSchema
in class javax.xml.bind.JAXBContext
createMarshaller
public javax.xml.bind.Marshaller createMarshaller()
- Specified by:
createMarshaller
in class javax.xml.bind.JAXBContext
createUnmarshaller
public javax.xml.bind.Unmarshaller createUnmarshaller()
- Specified by:
createUnmarshaller
in class javax.xml.bind.JAXBContext
createValidator
public javax.xml.bind.Validator createValidator()
- Specified by:
createValidator
in class javax.xml.bind.JAXBContext
createBinder
public javax.xml.bind.Binder createBinder()
- Overrides:
createBinder
in class javax.xml.bind.JAXBContext
createJAXBIntrospector
public JAXBIntrospector createJAXBIntrospector()
- Overrides:
createJAXBIntrospector
in class javax.xml.bind.JAXBContext
setGeneratedClassesToQName
public void setGeneratedClassesToQName(java.util.HashMap<java.lang.Class,javax.xml.namespace.QName> classesToQName)
applyORMMetadata
public void applyORMMetadata(org.eclipse.persistence.internal.sessions.AbstractSession ormSession)
- ADVANCED:
Adjust the OXM metadata to take into accound ORM mapping metadata,