net.sf.swan.xml.input.event
Class ContextAdapter

java.lang.Object
  |
  +--net.sf.swan.xml.input.event.ContextAdapter
All Implemented Interfaces:
ContextListener
Direct Known Subclasses:
Annotator, CopyState, Factory, ReflectAdapter, TreeAdapter, XMLContextAttributes

public abstract class ContextAdapter
extends java.lang.Object
implements ContextListener


Constructor Summary
ContextAdapter()
           
 
Method Summary
 void endElement(EndElementEvent event)
           
protected  ErrorHandler getErrorHandler(ContextEvent evt)
           
 void processingInstruction(ProcessingInstructionEvent piEvent)
           
 void startElement(StartElementEvent event)
           
 void text(TextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextAdapter

public ContextAdapter()
Method Detail

startElement

public void startElement(StartElementEvent event)
                  throws EventContextException
Specified by:
startElement in interface ContextListener

endElement

public void endElement(EndElementEvent event)
                throws EventContextException
Specified by:
endElement in interface ContextListener

text

public void text(TextEvent event)
          throws EventContextException
Specified by:
text in interface ContextListener

processingInstruction

public void processingInstruction(ProcessingInstructionEvent piEvent)
                           throws EventContextException
Specified by:
processingInstruction in interface ContextListener

getErrorHandler

protected ErrorHandler getErrorHandler(ContextEvent evt)