edu.stanford.nlp.ie.machinereading.domains.ace.reader
Class AceDomReader

java.lang.Object
  extended by edu.stanford.nlp.ie.machinereading.common.DomReader
      extended by edu.stanford.nlp.ie.machinereading.domains.ace.reader.AceDomReader

public class AceDomReader
extends DomReader

Dom reader for an ACE specification


Constructor Summary
AceDomReader()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
static AceDocument parseDocument(java.io.File f)
          Parses one ACE specification
 
Methods inherited from class edu.stanford.nlp.ie.machinereading.common.DomReader
getAttributeValue, getChildByAttribute, getChildByName, getChildByNameAndAttribute, getChildrenByName, readDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AceDomReader

public AceDomReader()
Method Detail

parseDocument

public static AceDocument parseDocument(java.io.File f)
                                 throws java.io.IOException,
                                        org.xml.sax.SAXException,
                                        javax.xml.parsers.ParserConfigurationException
Parses one ACE specification

Returns:
Simply displays the events to stdout
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Stanford NLP Group