Package | Description |
---|---|
javax.xml.bind |
Provides a runtime binding framework for client applications including
unmarshalling, marshalling, and validation capabilities.
|
javax.xml.bind.util |
Useful client utility classes.
|
Modifier and Type | Method and Description |
---|---|
static JAXBContext |
JAXBContext.newInstance(Class... classesToBeBound)
Obtain a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(Class[] classesToBeBound,
Map<String,?> properties)
Obtain a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(String contextPath)
Obtain a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(String contextPath,
ClassLoader classLoader)
Obtain a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(String contextPath,
ClassLoader classLoader,
Map<String,?> properties)
Obtain a new instance of a JAXBContext class.
|
Constructor and Description |
---|
JAXBResult(JAXBContext context)
Creates a new instance that uses the specified
JAXBContext to unmarshal.
|
JAXBSource(JAXBContext context,
Object contentObject)
Creates a new
Source for the given content object. |
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.