Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG
The debug flag.
|
static Object |
NULL
The null object.
|
static ThreadLocal |
READ_CONTEXT
This thread local variable provides access to the read context,
e.g. from the XML reporter, if required.
|
static Object |
STRING_MARKER
The string marker object.
|
Constructor and Description |
---|
AReader() |
public static final boolean DEBUG
public static final Object STRING_MARKER
public static final ThreadLocal READ_CONTEXT
public static final Object NULL
public abstract Object read(TypeInfoPathManager tipmanager, IObjectReaderHandler handler, Reader input, ClassLoader classloader, Object callcontext) throws Exception
input
- The input stream.classloader
- The classloader.context
- The context.Exception
public abstract Object read(TypeInfoPathManager tipmanager, IObjectReaderHandler handler, InputStream input, ClassLoader classloader, Object callcontext) throws Exception
input
- The input stream.classloader
- The classloader.context
- The context.Exception
public static Object objectFromXML(AReader reader, String val, ClassLoader classloader, TypeInfoPathManager manager, IObjectReaderHandler handler)
val
- The string value.public static Object objectFromXML(AReader reader, String val, ClassLoader classloader, Object context, TypeInfoPathManager manager, IObjectReaderHandler handler)
val
- The string value.public static Object objectFromByteArray(AReader reader, byte[] val, ClassLoader classloader, TypeInfoPathManager manager, IObjectReaderHandler handler)
val
- The string value.public static Object objectFromByteArray(AReader reader, byte[] val, ClassLoader classloader, Object context, TypeInfoPathManager manager, IObjectReaderHandler handler)
val
- The string value.public static Object objectFromInputStream(AReader reader, InputStream val, ClassLoader classloader, TypeInfoPathManager manager, IObjectReaderHandler handler)
val
- The string value.public static Object objectFromInputStream(AReader reader, InputStream bis, ClassLoader classloader, Object context, TypeInfoPathManager manager, IObjectReaderHandler handler)
val
- The string value.public static SubobjectInfo getSubobjectInfoRead(QName localname, QName[] fullpath, TypeInfo patypeinfo, Map attrs)
Copyright © 2013. All Rights Reserved.