public class TypeSystem2Xml
extends java.lang.Object
Constructor and Description |
---|
TypeSystem2Xml() |
Modifier and Type | Method and Description |
---|---|
static void |
typeSystem2Xml(TypeSystem aTypeSystem,
org.xml.sax.ContentHandler aContentHandler)
Traverses a TypeSystem and calls SAX events on the specified ContentHandler.
|
static void |
typeSystem2Xml(TypeSystem aTypeSystem,
java.io.OutputStream aOutputStream)
Converts a TypeSystem object to XML
|
public static void typeSystem2Xml(TypeSystem aTypeSystem, java.io.OutputStream aOutputStream) throws org.xml.sax.SAXException, java.io.IOException
aTypeSystem
- the TypeSystem to convertaOutputStream
- the stream to which XML output will be writtenjava.io.IOException
- if there is a problem writing to the provided OutputStreamorg.xml.sax.SAXException
- if an error occurs during the translation of the type system to XMLpublic static void typeSystem2Xml(TypeSystem aTypeSystem, org.xml.sax.ContentHandler aContentHandler) throws org.xml.sax.SAXException
aTypeSystem
- the TypeSystem to traverseaContentHandler
- the ContentHandler on which events will be calledorg.xml.sax.SAXException
- if an exception is thrown by the ContentHandlerCopyright © 2013. All Rights Reserved.