edu.uchsc.ccp.knowtator.xml
Class XMLExport

java.lang.Object
  extended by edu.uchsc.ccp.knowtator.xml.XMLExport

public class XMLExport
extends Object


Field Summary
static String XML_EXPORT_DIRECTORY
           
 
Constructor Summary
XMLExport()
           
 
Method Summary
static void buildXMLDocument(Document xmlDocument, Collection<SimpleInstance> annotations, String textSourceName, AnnotationUtil annotationUtil, MentionUtil mentionUtil)
           
static void writeToXML(Component parent, KnowledgeBase kb, KnowtatorProjectUtil kpu, TextSourceUtil textSourceUtil, AnnotationUtil annotationUtil, MentionUtil mentionUtil, FilterUtil filterUtil, Project project)
           
static void writeToXML(SimpleInstance textSource, SimpleInstance filter, File outputDirectory, AnnotationUtil annotationUtil, FilterUtil filterUtil, MentionUtil mentionUtil)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_EXPORT_DIRECTORY

public static final String XML_EXPORT_DIRECTORY
See Also:
Constant Field Values
Constructor Detail

XMLExport

public XMLExport()
Method Detail

writeToXML

public static void writeToXML(Component parent,
                              KnowledgeBase kb,
                              KnowtatorProjectUtil kpu,
                              TextSourceUtil textSourceUtil,
                              AnnotationUtil annotationUtil,
                              MentionUtil mentionUtil,
                              FilterUtil filterUtil,
                              Project project)

writeToXML

public static void writeToXML(SimpleInstance textSource,
                              SimpleInstance filter,
                              File outputDirectory,
                              AnnotationUtil annotationUtil,
                              FilterUtil filterUtil,
                              MentionUtil mentionUtil)
                       throws IOException
Throws:
IOException

buildXMLDocument

public static void buildXMLDocument(Document xmlDocument,
                                    Collection<SimpleInstance> annotations,
                                    String textSourceName,
                                    AnnotationUtil annotationUtil,
                                    MentionUtil mentionUtil)