samples.stax
Class StAXSerializingSample
java.lang.Object
samples.stax.StAXSerializingSample
public class StAXSerializingSample
- extends Object
Writing a FI document directly with StAXDocumentSerializer.
This sample demonstrates the use of StAXDocumentSerializer to write out an FI document
with following content:
2003-03-13T13:13:32-08:00
15570720
691
You may use tool "fitosaxtoxml" provided in the FastInfoset package to verify the result.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StAXSerializingSample
public StAXSerializingSample()
- Creates a new instance of FastInfosetSerializer
main
public static void main(String[] args)
Copyright © 2012 Oracle Corpration. All Rights Reserved.