|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jp.develop.common.util.amf.AmfDecoderOption
public class AmfDecoderOption
Configuration option for AmfDecoder.
AmfDecoder
Constructor Summary | |
---|---|
AmfDecoderOption()
Constructs a instance with default object writer, array writer and converter. |
|
AmfDecoderOption(IObjectWriter objectWriter,
IArrayWriter arrayWriter,
Converter converter)
Constructs a instance with specified object writer, array writer and converter. |
Method Summary | ||
---|---|---|
|
conver(Class<T> clazz,
Object instance)
Convert instance to specified class. |
|
IArrayWriter |
getArrayWriter()
Get array writer. |
|
static AmfDecoderOption |
getDefault()
Get default configuration option. |
|
IObjectWriter |
getObjectWriter()
Get object writer. |
|
boolean |
isVerbose()
Get the value of verbose. |
|
void |
setVerbose(boolean verbose)
Set the value of verbose. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AmfDecoderOption()
public AmfDecoderOption(IObjectWriter objectWriter, IArrayWriter arrayWriter, Converter converter)
objectWriter
- Object writer.arrayWriter
- Array writer.converter
- Converter.Method Detail |
---|
public static AmfDecoderOption getDefault()
public IObjectWriter getObjectWriter()
public IArrayWriter getArrayWriter()
public boolean isVerbose()
public void setVerbose(boolean verbose)
verbose
- true for verbose.public <T> T conver(Class<T> clazz, Object instance)
T
- Target type of conversion.clazz
- The target class of conversion.instance
- The target instance of conversion.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |