java.lang.Object | ||
↳ | com.netflix.astyanax.serializers.AbstractSerializer<T> | |
↳ | com.netflix.astyanax.serializers.JaxbSerializer |
Serializes Objects using Jaxb. An instance of this class may only serialize JAXB compatible objects of classes known to its configured context.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Extract an object of type T from the bytes.
| |||||||||||
Extract bytes from the obj of type T
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a new XML stream reader.
| |||||||||||
Get a new XML stream writer.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.netflix.astyanax.serializers.AbstractSerializer
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.netflix.astyanax.Serializer
|
Constructor.
serializableClasses | List of classes which can be serialized by this instance. Note that concrete classes directly referenced by any class in the list will also be serializable through this instance. |
---|
Get a new XML stream reader.
input | the underlying InputStream to read from. |
---|
createStreamWriter(OutputStream)
.XMLStreamException |
---|
Get a new XML stream writer.
output | An underlying OutputStream to write to. |
---|
createStreamReader(InputStream)
.XMLStreamException |
---|