public class AddressableNodeExternalizer extends Object implements Externalizer<AddressableNode>
AddressableNode
.Constructor and Description |
---|
AddressableNodeExternalizer() |
Modifier and Type | Method and Description |
---|---|
Class<AddressableNode> |
getTargetClass()
Returns the target class of the object to externalize.
|
AddressableNode |
readObject(ObjectInput input)
Read an instance from the stream.
|
void |
writeObject(ObjectOutput output,
AddressableNode node)
Writes the object reference to the stream.
|
public AddressableNode readObject(ObjectInput input) throws IOException
Externalizer
Externalizer.writeObject(ObjectOutput, Object)
method. Implementations are free
to create instances of the object read from the stream in any way that they
feel like. This could be via constructor, factory or reflection.readObject
in interface Externalizer<AddressableNode>
input
- the object input from which to readIOException
- if an I/O error occurspublic void writeObject(ObjectOutput output, AddressableNode node) throws IOException
Externalizer
writeObject
in interface Externalizer<AddressableNode>
output
- the object output to write tonode
- the object reference to writeIOException
- if an I/O error occurspublic Class<AddressableNode> getTargetClass()
Externalizer
getTargetClass
in interface Externalizer<AddressableNode>
Copyright © 2016 JBoss by Red Hat. All rights reserved.