com.twistedmatrix.spread
Class Jelly.JellyDecoder
java.lang.Object
|
+--com.twistedmatrix.spread.Jelly.JellyDecoder
- Direct Known Subclasses:
- PBJellyDecoder
- Enclosing class:
- Jelly
- public static class Jelly.JellyDecoder
- extends java.lang.Object
Decoder for s-expressions.
Method Summary |
java.lang.Object |
unjelly(java.lang.Object o)
Decode an s-expression. |
protected java.lang.Object |
unjellyInstance(ByteString type,
java.util.List subList)
|
protected java.lang.Object |
unjellyOther(ByteString type,
java.util.List lst)
Called to unjelly objects of any other type, or null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classMapper
protected ClassMapper classMapper
Jelly.JellyDecoder
public Jelly.JellyDecoder(ClassMapper cm)
- Create a new decoder with the given class mapper.
Jelly.JellyDecoder
public Jelly.JellyDecoder()
- Create a new decoder with the default class mapper.
unjelly
public java.lang.Object unjelly(java.lang.Object o)
- Decode an s-expression.
unjellyInstance
protected java.lang.Object unjellyInstance(ByteString type,
java.util.List subList)
unjellyOther
protected java.lang.Object unjellyOther(ByteString type,
java.util.List lst)
- Called to unjelly objects of any other type, or null.
Override in subclasses.