}
public void marshal(Object object,
HierarchicalStreamWriter writer,
MarshallingContext context) {
GetObjectCommand cmd = (GetObjectCommand) object;
writer.startNode( "fact-handle" );
writer.setValue( cmd.getFactHandle().toExternalForm() );
writer.endNode();
if ( cmd.getOutIdentifier() != null ) {
writer.startNode( "out-identifier" );
writer.setValue( cmd.getOutIdentifier() );
writer.endNode();
}
}