Ejemplo n.º 1
0
 private static void add(char c, String s, boolean attOnly) {
   byte[] image = UTF8XmlOutput.toBytes(s);
   attributeEntities[c] = image;
   if (!attOnly) entities[c] = image;
 }
Ejemplo n.º 2
0
 /** Writes the encoded bytes to the given output stream. */
 public final void write(UTF8XmlOutput out) throws IOException {
   out.write(buf, 0, len);
 }