}
public void marshal(Object object,
HierarchicalStreamWriter writer,
MarshallingContext context) {
QueryCommand cmd = (QueryCommand) object;
writer.addAttribute( "out-identifier",
cmd.getOutIdentifier() );
writer.addAttribute( "name",
cmd.getName() );
if ( cmd.getArguments() != null ) {
for ( Object arg : cmd.getArguments() ) {
writeItem( arg,
context,
writer );
}
}