Skip to content
Permalink
Browse files

support for streamed WBXML writing

  • Loading branch information
haustein
haustein committed Mar 21, 2008
1 parent d76d3fd commit 7bb7f1b096326128f353755e150f026bd4063b9f
Showing with 201 additions and 154 deletions.
  1. +1 −1 samples/Roundtrip.java
  2. +200 −153 src/org/kxml2/wap/WbxmlSerializer.java
@@ -123,10 +123,10 @@ public void roundTrip()

while (parser.getEventType() != XmlPullParser.END_DOCUMENT) {
writeToken();
serializer.flush();
parser.nextToken();
}
writeToken();
serializer.flush();
}

public static void main(String[] args) throws Exception {

0 comments on commit 7bb7f1b

Please sign in to comment.
You can’t perform that action at this time.