org.jboss.errai.marshalling.client.util
Class MarshallUtil
java.lang.Object
org.jboss.errai.marshalling.client.util.MarshallUtil
public class MarshallUtil
- extends Object
- Author:
- Mike Brock , Jonathan Fuerth , Christian Sadilek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarshallUtil
public MarshallUtil()
getQualifiedNumberMarshaller
public static Marshaller<Object> getQualifiedNumberMarshaller(Object o)
jsonStringEscape
public static String jsonStringEscape(String s)
jsonStringEscape
public static String jsonStringEscape(char ch)
jsonStringEscape
public static void jsonStringEscape(StringBuilder sb,
char ch)
getMarshaller
public static Marshaller<Object> getMarshaller(Object obj,
MarshallingSession session)
isEncodedObject
public static boolean isEncodedObject(EJObject value)
isEncodedNumeric
public static boolean isEncodedNumeric(EJObject value)
getComponentClassName
public static String getComponentClassName(String fqcn)
- Returns the canonical class name of the component type of the given array type.
- Parameters:
fqcn
- An array type of any number of dimensions, such as [[Ljava.lang.String;
.
- Returns:
- A class name, such as
java.lang.String
.
maybeUnwrap
public static Object maybeUnwrap(Object obj)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.