|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.develop.common.util.amf.decoder.ArrayWriterOption
public class ArrayWriterOption
Configuration option for ArrayWriter.
ArrayWriter| Nested Class Summary | |
|---|---|
static interface |
ArrayWriterOption.IArrayFactory<T extends Collection<Object>>
Interface for the collection factory. |
| Constructor Summary | |
|---|---|
ArrayWriterOption()
Default constructor. |
|
| Method Summary | ||
|---|---|---|
static ArrayWriterOption |
getDefault()
Get default configuration option. |
|
ArrayWriterOption.IArrayFactory<Collection<Object>> |
getFactory(Class<?> clazz)
Get the collection factory of specified class. |
|
|
putFactory(Class<T> clazz,
ArrayWriterOption.IArrayFactory<? extends T> factory)
Register the collection factory of specified class. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayWriterOption()
| Method Detail |
|---|
public static ArrayWriterOption getDefault()
public ArrayWriterOption.IArrayFactory<Collection<Object>> getFactory(Class<?> clazz)
clazz - Target class.
public <T extends Collection<?>> void putFactory(Class<T> clazz,
ArrayWriterOption.IArrayFactory<? extends T> factory)
T - Target type of the factory.clazz - Target class of the factory.factory - The factory to be registered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||