samples.typed
Class TypedStreamBufferConvert
java.lang.Object
samples.typed.TypedStreamBufferConvert
public class TypedStreamBufferConvert
- extends Object
Example of converting from lexical space to value space
using typed stream buffer and encoding the result as a fast infoset document.
- Author:
- Paul.Sandoz@Sun.Com
|
Method Summary |
static void |
main(String[] args)
Parse an XML document and convert to a typed stream buffer
using a schema to convert content from lexical space to value space. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypedStreamBufferConvert
public TypedStreamBufferConvert()
main
public static void main(String[] args)
throws Exception
- Parse an XML document and convert to a typed stream buffer
using a schema to convert content from lexical space to value space.
Serialize the typed stream buffer to a fast infoset document.
Parse the fast infoset document to a typed stream buffer.
Arg 0 is the path to the schema (XSD or RNG).
Arg 1 is the path to the XML document to be converted.
- Throws:
Exception
Copyright © 2012 Oracle Corpration. All Rights Reserved.