|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.cas.impl.TypeSystem2Xml
public class TypeSystem2Xml
Dumps a Type System object to XML.
| Constructor Summary | |
|---|---|
TypeSystem2Xml()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeSystem2Xml()
| Method Detail |
|---|
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 written
java.io.IOException - if there is a problem writing to the provided OutputStream
org.xml.sax.SAXException - if an error occurs during the translation of the type system to XML
public 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 called
org.xml.sax.SAXException - if an exception is thrown by the ContentHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||