コード例 #1
0
ファイル: PitScout.java プロジェクト: Meshiest/chAPPreciate
 private void end(String tagName) throws IOException {
   xml.endTag(null, tagName);
   xml.text("\n");
   for (int i = 1; i < xml.getDepth(); i++) {
     xml.text("\t");
   }
 }
コード例 #2
0
ファイル: MozcTestListener.java プロジェクト: skbhati199/mozc
 @Override
 public void close() throws IOException {
   // Close all opened tags.
   while (serializer.getDepth() > 0) {
     serializer.endTag(serializer.getNamespace(), serializer.getName());
   }
   serializer.endDocument();
 }
コード例 #3
0
ファイル: PitScout.java プロジェクト: Meshiest/chAPPreciate
 private void text(String text) throws IOException {
   xml.text("\t" + text + "\n");
   for (int i = 1; i < xml.getDepth(); i++) {
     xml.text("\t");
   }
 }