net.sf.bddbddb
Class XMLFactory

java.lang.Object
  extended by net.sf.bddbddb.XMLFactory

public class XMLFactory
extends java.lang.Object

XMLFactory

Version:
$Id: XMLFactory.java 450 2005-03-07 20:49:47Z cs343 $
Author:
jwhaley

Method Summary
static void dumpXML(java.lang.String filename, org.jdom.Element e)
           
static void dumpXML(java.io.Writer out, org.jdom.Element e)
          Dumps the given element as an XML document to the given writer.
 java.lang.Object fromXML(org.jdom.Element e)
           
 Relation getRelation(java.lang.String s)
           
 InferenceRule getRule(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRule

public InferenceRule getRule(java.lang.String s)

getRelation

public Relation getRelation(java.lang.String s)

fromXML

public java.lang.Object fromXML(org.jdom.Element e)

dumpXML

public static void dumpXML(java.lang.String filename,
                           org.jdom.Element e)

dumpXML

public static void dumpXML(java.io.Writer out,
                           org.jdom.Element e)
                    throws java.io.IOException
Dumps the given element as an XML document to the given writer.

Parameters:
out - output writer
e - element to write
Throws:
java.io.IOException


Copyright © 2004-2008 Stanford SUIF Compiler Group. All Rights Reserved.