samples.stax
Class StAXSerializingSample

java.lang.Object
  extended by 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.


Constructor Summary
StAXSerializingSample()
          Creates a new instance of FastInfosetSerializer
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StAXSerializingSample

public StAXSerializingSample()
Creates a new instance of FastInfosetSerializer

Method Detail

main

public static void main(String[] args)


Copyright © 2012 Oracle Corpration. All Rights Reserved.