public final class JSONHelper extends Object
Modifier and Type | Method and Description |
---|---|
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?
|
public static final String getRootElementName(Class<Object> clazz)
Copyright © 2013 Oracle Corporation. All Rights Reserved.