|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.joe_e.Struct org.waterken.syntax.Syntax
public class Syntax
A serialization syntax.
Field Summary | |
---|---|
Deserializer |
deserializer
deserializer |
java.lang.String |
ext
file extension |
Serializer |
serializer
serializer |
Constructor Summary | |
---|---|
Syntax(java.lang.String ext,
Serializer serializer,
Deserializer deserializer)
Constructs an instance. |
Method Summary | |
---|---|
static java.lang.Object |
defaultValue(java.lang.reflect.Type required)
Gets the default value of a specified type. |
static java.lang.reflect.Constructor<?> |
deserializer(java.lang.Class<?> type)
Finds a corresponding deserializer . |
Methods inherited from class org.joe_e.Struct |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.joe_e.Selfless |
---|
hashCode |
Field Detail |
---|
public final java.lang.String ext
public final Serializer serializer
public final Deserializer deserializer
Constructor Detail |
---|
public Syntax(java.lang.String ext, Serializer serializer, Deserializer deserializer)
ext
- ext
serializer
- serializer
deserializer
- deserializer
Method Detail |
---|
public static java.lang.reflect.Constructor<?> deserializer(java.lang.Class<?> type)
deserializer
.
type
- type to construct
null
if nonepublic static java.lang.Object defaultValue(java.lang.reflect.Type required)
required
- required type
|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.