public final class JSONHelper extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
createPropertiesForJaxbContext(Map<String,Object> properties) |
static JaxbProvider |
getJaxbProvider(JAXBContext jaxbContext) |
static String |
getRootElementName(Class<Object> clazz)
calculating local name of an appropriate XML element,
pretty much the same way as it is done by JAXB 2.1 impl
(for situations when we want to pretend the element was present
in an incoming stream amd all we have is the type information)
TODO: work out with JAXB guys a better way of doing it,
probably we could take it from an existing JAXBContext?
|
static boolean |
isNaturalNotationEnabled() |
public static String getRootElementName(Class<Object> clazz)
public static JaxbProvider getJaxbProvider(JAXBContext jaxbContext)
public static boolean isNaturalNotationEnabled()
Copyright © 2013 Oracle Corporation. All rights reserved.