public class JavaReader extends Object
Constructor and Description |
---|
JavaReader() |
Modifier and Type | Method and Description |
---|---|
static Reader |
getInstance()
Get the default Java reader.
|
static Reader |
getReader(XMLReporter reporter)
Get the default Java reader.
|
static Set |
getTypeInfos()
Get the type infos.
|
static Set |
joinTypeInfos(Set typeinfos)
Join sets of typeinfos.
|
static Object |
objectFromByteArray(byte[] val,
ClassLoader classloader)
Convert a byte array (of an xml) to an object.
|
static Object |
objectFromXML(String val,
ClassLoader classloader)
Convert an xml to an object.
|
public static Set joinTypeInfos(Set typeinfos)
typeinfos
- The user specific type infos.public static Set getTypeInfos()
public static Object objectFromXML(String val, ClassLoader classloader)
val
- The string value.public static Object objectFromByteArray(byte[] val, ClassLoader classloader)
val
- The byte array.classloader
- The class loader.public static Reader getInstance()
public static Reader getReader(XMLReporter reporter)
Copyright © 2012. All Rights Reserved.