org.jscience.ml.cml.logger
Class JumboXmlHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by org.jscience.ml.cml.logger.JumboXmlHandler

public class JumboXmlHandler
extends java.util.logging.Handler

allows logging of JUMBO/CML-based XML DOMs as well as messages.


Constructor Summary
JumboXmlHandler()
          Creates a new JumboXmlHandler object.
JumboXmlHandler(java.lang.String filename)
          Creates a new JumboXmlHandler object.
 
Method Summary
 void close()
          DOCUMENT ME!
 void flush()
          DOCUMENT ME!
 void publish(java.util.logging.LogRecord record)
          DOCUMENT ME!
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JumboXmlHandler

public JumboXmlHandler(java.lang.String filename)
                throws java.io.IOException
Creates a new JumboXmlHandler object.

Parameters:
filename - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!

JumboXmlHandler

public JumboXmlHandler()
Creates a new JumboXmlHandler object.

Method Detail

publish

public void publish(java.util.logging.LogRecord record)
DOCUMENT ME!

Specified by:
publish in class java.util.logging.Handler
Parameters:
record - DOCUMENT ME!

flush

public void flush()
DOCUMENT ME!

Specified by:
flush in class java.util.logging.Handler

close

public void close()
DOCUMENT ME!

Specified by:
close in class java.util.logging.Handler