Building Parsers with Java

sjm.examples.coffee
Class OrFrenchHelper

java.lang.Object
  |
  +--sjm.examples.coffee.Helper
        |
        +--sjm.examples.coffee.OrFrenchHelper

public class OrFrenchHelper
extends Helper

This helper sets a target coffee object's alsoOfferFrench attribute to true.


Constructor Summary
OrFrenchHelper()
           
 
Method Summary
 void startElement(java.lang.Object target)
          Sets a target coffee object's alsoOfferFrench attribute to true.
 
Methods inherited from class sjm.examples.coffee.Helper
characters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrFrenchHelper

public OrFrenchHelper()
Method Detail

startElement

public void startElement(java.lang.Object target)
Sets a target coffee object's alsoOfferFrench attribute to true. The target coffee is the last coffee in a Vector of coffees.
Overrides:
startElement in class Helper

by Steve Metsker