168169170171172173174175176177178
SerializationHandler h = o.wrap(out); PTask p[] = sp.match(template); // Outputs the fetched PTasks to the OutputStream in XML format. o.startDocument("match", h); for (int i = 0; i < p.length; i++) { o.output(p[i], h); }
203204205206207208209210211212213
SerializationHandler h = o.wrap(out); LogEntry l[] = sp.match(template); // Outputs the fetched PTasks to the OutputStream in XML format. o.startDocument("log", h); for (int i = 0; i < l.length; i++) { o.output(l[i], h); }
319320321322323324325326327328329
} } } // Outputs the fetched Contexts to the OutputStream in XML format. o.startDocument("get", h); output(parents, o, h); o.endDocument("get", h); return c.length; }