net.sf.swan.xml.input.components
Class Factory

java.lang.Object
  |
  +--net.sf.swan.xml.input.event.ContextAdapter
        |
        +--net.sf.swan.xml.input.components.Factory
All Implemented Interfaces:
ContextListener

public class Factory
extends ContextAdapter

Creates instances of the provided Class and associates them with an ElementContext.


Constructor Summary
Factory(java.lang.Class factory)
           
 
Method Summary
 void startElement(StartElementEvent evt)
           
 
Methods inherited from class net.sf.swan.xml.input.event.ContextAdapter
endElement, getErrorHandler, processingInstruction, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factory

public Factory(java.lang.Class factory)
Method Detail

startElement

public void startElement(StartElementEvent evt)
                  throws EventContextException
Overrides:
startElement in class ContextAdapter