public void writeNodeInstance(MarshallerWriteContext context,
NodeInstance nodeInstance) throws IOException {
ObjectOutputStream stream = context.stream;
stream.writeLong(nodeInstance.getId());
stream.writeLong(nodeInstance.getNodeId());
writeNodeInstanceContent(stream, nodeInstance, context);
}
protected void writeNodeInstanceContent(ObjectOutputStream stream,
NodeInstance nodeInstance, MarshallerWriteContext context)