public class SerializeRegistry
extends java.lang.Object
Constructor and Description |
---|
SerializeRegistry() |
Modifier and Type | Method and Description |
---|---|
static SerializeDelegate |
getByName(java.lang.String name)
return the delegate without using a class instance.
|
static SerializeDelegate |
getDelegate(java.lang.Class clas)
returns a delegate or null if the class is not supported.
|
static void |
register(java.lang.Class clas,
SerializeDelegate sd)
Clients like SerializeUtil are able to register methods for
serializing additional classes.
|
public static void register(java.lang.Class clas, SerializeDelegate sd)
clas
- the classsd
- the delegatein the Autoplot project.
public static SerializeDelegate getDelegate(java.lang.Class clas)
clas
- the classpublic static SerializeDelegate getByName(java.lang.String name)
name
- class name like "org.das2.