/** * Encodes this <code>TargetMatchGroup</code> into its XML representation * and writes this encoding to the given <code>OutputStream</code> with no * indentation. * * @param output a stream into which the XML-encoded data is written */ public void encode(OutputStream output) { encode(output, new Indenter(0)); }
private String extractResourceId(TargetMatchGroup tmg) { ByteArrayOutputStream output = new ByteArrayOutputStream(); tmg.encode(output, new Indenter(4));
private String extractResourceId(TargetMatchGroup tmg) { ByteArrayOutputStream output = new ByteArrayOutputStream(); tmg.encode(output, new Indenter(4));
while (it.hasNext()) { TargetMatchGroup group = (TargetMatchGroup)(it.next()); group.encode(output, indenter);