org.micropsi.common.xml
Class XMLFile

java.lang.Object
  extended byorg.micropsi.common.xml.XMLFile

public class XMLFile
extends java.lang.Object

/home/cvsroot/aep/sources/de/artificialemotion/common/xml/XMLFile.java,v 1.1 2002/11/05 14:12:39 vuine Exp


Constructor Summary
XMLFile(java.io.File f)
           
XMLFile(java.io.InputStream stream)
           
XMLFile(java.lang.String filename)
           
 
Method Summary
 org.w3c.dom.Element getDocumentElement()
           
static org.w3c.dom.Node getFirstNamedChild(org.w3c.dom.Node node, java.lang.String name)
           
 void save()
           
 void save(int formatterType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFile

public XMLFile(java.lang.String filename)
        throws java.io.FileNotFoundException,
               java.io.IOException,
               org.xml.sax.SAXException,
               javax.xml.parsers.ParserConfigurationException,
               javax.xml.parsers.FactoryConfigurationError

XMLFile

public XMLFile(java.io.InputStream stream)
        throws java.io.FileNotFoundException,
               java.io.IOException,
               org.xml.sax.SAXException,
               javax.xml.parsers.ParserConfigurationException,
               javax.xml.parsers.FactoryConfigurationError

XMLFile

public XMLFile(java.io.File f)
        throws java.io.FileNotFoundException,
               java.io.IOException,
               org.xml.sax.SAXException,
               javax.xml.parsers.ParserConfigurationException,
               javax.xml.parsers.FactoryConfigurationError
Method Detail

save

public void save()
          throws MicropsiException,
                 java.io.IOException,
                 java.io.FileNotFoundException
Throws:
MicropsiException
java.io.IOException
java.io.FileNotFoundException

save

public void save(int formatterType)
          throws MicropsiException,
                 java.io.IOException,
                 java.io.FileNotFoundException
Throws:
MicropsiException
java.io.IOException
java.io.FileNotFoundException

getDocumentElement

public org.w3c.dom.Element getDocumentElement()

getFirstNamedChild

public static org.w3c.dom.Node getFirstNamedChild(org.w3c.dom.Node node,
                                                  java.lang.String name)

(c) by Micropsi Project: http://www.cognitive-agents.org

.