|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jp.develop.common.util.amf.AmfEncoderOption
public class AmfEncoderOption
Configuration option for AmfEncoder.
AmfEncoder
Constructor Summary | |
---|---|
AmfEncoderOption()
Constructs a instance. |
Method Summary | |
---|---|
static AmfEncoderOption |
getDefault()
Get default AMF encoder option. |
IEncoder<Object> |
getEncoder(Class<?> clazz)
Get encoder for specified class. |
boolean |
isVerbose()
Get the value of verbose. |
void |
putEncoder(Class<?> clazz,
IEncoder<?> encoder)
Resister custom encoder for specified class. |
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 AmfEncoderOption()
Method Detail |
---|
public static AmfEncoderOption getDefault()
public boolean isVerbose()
public void setVerbose(boolean verbose)
verbose
- true for verbose.public IEncoder<Object> getEncoder(Class<?> clazz)
clazz
- Target class.
public void putEncoder(Class<?> clazz, IEncoder<?> encoder)
clazz
- Target class.encoder
- The encoder for specified class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |