public class JettisonMappedContext extends JAXBContext
JAXB_CONTEXT_FACTORY| Constructor and Description |
|---|
JettisonMappedContext(Class... classes) |
JettisonMappedContext(Map<String,String> xmlnsToJson,
List<QName> attributesAsElements,
List<QName> ignoredElements,
Class... classes) |
JettisonMappedContext(Mapped mapped,
Class... classes) |
JettisonMappedContext(org.codehaus.jettison.mapped.MappedNamespaceConvention convention,
Class... classes) |
JettisonMappedContext(Mapped mapped,
String contextPath) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createConvention(Mapped mapped) |
Marshaller |
createMarshaller()
Create a Marshaller object that can be used to convert a
java content tree into XML data.
|
Unmarshaller |
createUnmarshaller()
Create an Unmarshaller object that can be used to convert XML
data into a java content tree.
|
Validator |
createValidator()
Validator has been made optional and deprecated in JAXB 2.0. |
createBinder, createBinder, createJAXBIntrospector, generateSchema, newInstance, newInstance, newInstance, newInstance, newInstancepublic JettisonMappedContext(Class... classes)
public JettisonMappedContext(Map<String,String> xmlnsToJson, List<QName> attributesAsElements, List<QName> ignoredElements, Class... classes)
public JettisonMappedContext(org.codehaus.jettison.mapped.MappedNamespaceConvention convention,
Class... classes)
protected void createConvention(Mapped mapped)
public Unmarshaller createUnmarshaller() throws JAXBException
JAXBContextcreateUnmarshaller in class JAXBContextJAXBException - if an error was encountered while creating the
Unmarshaller objectpublic Marshaller createMarshaller() throws JAXBException
JAXBContextcreateMarshaller in class JAXBContextJAXBException - if an error was encountered while creating the
Marshaller objectpublic Validator createValidator() throws JAXBException
JAXBContextValidator has been made optional and deprecated in JAXB 2.0. Please
refer to the javadoc for Validator for more detail.
Create a Validator object that can be used to validate a java content tree against its source schema.
createValidator in class JAXBContextJAXBException - if an error was encountered while creating the
Validator objectCopyright © 2018 JBoss by Red Hat. All rights reserved.