samples.typed
Class ConvertLexicalValues
java.lang.Object
samples.typed.ConvertLexicalValues
public class ConvertLexicalValues
- extends Object
Example of converting lexical values to primitive types for encoding
in binary form.
- Author:
- Paul.Sandoz@Sun.Com
|
Method Summary |
static XMLReader |
getXMLReader()
|
static void |
main(String[] args)
Parse an XML document and convert to an FI document while using the schema
to convert lexical values that are base64 or floating point values to
binary representations. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertLexicalValues
public ConvertLexicalValues()
main
public static void main(String[] args)
throws Exception
- Parse an XML document and convert to an FI document while using the schema
to convert lexical values that are base64 or floating point values to
binary representations.
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
getXMLReader
public static XMLReader getXMLReader()
throws Exception
- Throws:
Exception
Copyright © 2012 Oracle Corpration. All Rights Reserved.