org.bibop.xml.xforge.components.examples
Class TimeComponent

java.lang.Object
  |
  +--org.bibop.xml.xforge.components.AbstractXForgeComponent
        |
        +--org.bibop.xml.xforge.components.AbstractXForgePoolableComponent
              |
              +--org.bibop.xml.xforge.components.examples.TimeComponent
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.excalibur.pool.Poolable, PrefixesMonitor, XForgeComponent, XMLProducer

public class TimeComponent
extends AbstractXForgePoolableComponent

A simple component that writes the current time with a specific format


Field Summary
 
Fields inherited from class org.bibop.xml.xforge.components.AbstractXForgeComponent
contentHandler, context, lexicalHandler, log, parameters, po
 
Constructor Summary
TimeComponent()
           
 
Method Summary
 void toSax()
          the method that runs the component
 
Methods inherited from class org.bibop.xml.xforge.components.AbstractXForgeComponent
configure, enableLogging, getActivePrefixes, output, output, setConsumer, setContentHandler, setLexicalHandler, setParameters, setParentPrefixesMonitor, setProcessingOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeComponent

public TimeComponent()
Method Detail

toSax

public void toSax()
           throws org.xml.sax.SAXException
the method that runs the component

Throws:
org.xml.sax.SAXException


Copyright © 2003 Bibop Research International. All Rights Reserved.