com.sun.jersey.json.impl
Class JSONHelper

java.lang.Object
  extended by com.sun.jersey.json.impl.JSONHelper

public final class JSONHelper
extends Object

Author:
japod

Method Summary
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?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRootElementName

public static final 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?



Copyright © 2011 Oracle Corporation. All Rights Reserved.