public class TypeSystem2Xml extends Object
| Constructor and Description |
|---|
TypeSystem2Xml() |
| Modifier and Type | Method and Description |
|---|---|
static void |
typeSystem2Xml(TypeSystem aTypeSystem,
ContentHandler aContentHandler)
Traverses a TypeSystem and calls SAX events on the specified ContentHandler.
|
static void |
typeSystem2Xml(TypeSystem aTypeSystem,
OutputStream aOutputStream)
Converts a TypeSystem object to XML.
|
public static void typeSystem2Xml(TypeSystem aTypeSystem, OutputStream aOutputStream) throws SAXException, IOException
aTypeSystem - the TypeSystem to convertaOutputStream - the stream to which XML output will be writtenIOException - if there is a problem writing to the provided OutputStreamSAXException - if an error occurs during the translation of the type system to XMLpublic static void typeSystem2Xml(TypeSystem aTypeSystem, ContentHandler aContentHandler) throws SAXException
aTypeSystem - the TypeSystem to traverseaContentHandler - the ContentHandler on which events will be calledSAXException - if an exception is thrown by the ContentHandlerCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.