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

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

public class Choice
extends java.lang.Object
implements ContextListener


Field Summary
static java.lang.Object acceptedChoiceKey
           
 
Constructor Summary
Choice(ContextListener[] choices)
           
 
Method Summary
 void endElement(EndElementEvent event)
           
 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
 

Field Detail

acceptedChoiceKey

public static final java.lang.Object acceptedChoiceKey
Constructor Detail

Choice

public Choice(ContextListener[] choices)
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