public class JavaReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static IObjectReaderHandler |
handler
The type manager.
|
protected static TypeInfoPathManager |
pathmanager
The path manager.
|
protected static AReader |
reader
The reader.
|
Constructor and Description |
---|
JavaReader() |
Modifier and Type | Method and Description |
---|---|
static IObjectReaderHandler |
getObjectHandler()
Get the default Java reader.
|
static TypeInfoPathManager |
getPathManager()
Get the default Java reader.
|
static java.util.Set<TypeInfo> |
getTypeInfos()
Get the java type infos.
|
static java.util.Set<TypeInfo> |
joinTypeInfos(java.util.Set<TypeInfo> typeinfos)
Join sets of typeinfos.
|
static java.lang.Object |
objectFromByteArray(byte[] val,
java.lang.ClassLoader classloader,
IErrorReporter rep)
Convert a byte array (of an xml) to an object.
|
static java.lang.Object |
objectFromByteArray(byte[] val,
java.lang.ClassLoader classloader,
TypeInfoPathManager manager,
IObjectReaderHandler handler,
IErrorReporter rep)
Convert a byte array (of an xml) to an object.
|
static java.lang.Object |
objectFromInputStream(java.io.InputStream val,
java.lang.ClassLoader classloader,
IErrorReporter rep)
Convert a byte array (of an xml) to an object.
|
static java.lang.Object |
objectFromInputStream(java.io.InputStream val,
java.lang.ClassLoader classloader,
TypeInfoPathManager manager,
IObjectReaderHandler handler,
IErrorReporter rep)
Convert a byte array (of an xml) to an object.
|
static <T> T |
objectFromXML(java.lang.String val,
java.lang.ClassLoader classloader)
Convert an xml to an object.
|
static <T> T |
objectFromXML(java.lang.String val,
java.lang.ClassLoader classloader,
TypeInfoPathManager manager,
IObjectReaderHandler handler)
Convert an xml to an object.
|
protected static volatile AReader reader
protected static volatile TypeInfoPathManager pathmanager
protected static volatile IObjectReaderHandler handler
public static java.util.Set<TypeInfo> joinTypeInfos(java.util.Set<TypeInfo> typeinfos)
typeinfos
- The user specific type infos.public static java.util.Set<TypeInfo> getTypeInfos()
public static <T> T objectFromXML(java.lang.String val, java.lang.ClassLoader classloader)
val
- The string value.public static java.lang.Object objectFromByteArray(byte[] val, java.lang.ClassLoader classloader, IErrorReporter rep)
val
- The byte array.classloader
- The class loader.public static java.lang.Object objectFromInputStream(java.io.InputStream val, java.lang.ClassLoader classloader, IErrorReporter rep)
val
- The input stream.classloader
- The class loader.public static <T> T objectFromXML(java.lang.String val, java.lang.ClassLoader classloader, TypeInfoPathManager manager, IObjectReaderHandler handler)
val
- The string value.public static java.lang.Object objectFromByteArray(byte[] val, java.lang.ClassLoader classloader, TypeInfoPathManager manager, IObjectReaderHandler handler, IErrorReporter rep)
val
- The byte array.classloader
- The class loader.public static java.lang.Object objectFromInputStream(java.io.InputStream val, java.lang.ClassLoader classloader, TypeInfoPathManager manager, IObjectReaderHandler handler, IErrorReporter rep)
val
- The input stream.classloader
- The class loader.public static TypeInfoPathManager getPathManager()
public static IObjectReaderHandler getObjectHandler()