Building Parsers with Java

sjm.examples.coffee
Class RoastHelper

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

public class RoastHelper
extends Helper

This helper sets a target coffee object's roast attribute.


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

Constructor Detail

RoastHelper

public RoastHelper()
Method Detail

characters

public void characters(java.lang.String s,
                       java.lang.Object target)
Sets a target coffee object's roast attribute to the given string. The target coffee is the last coffee in a Vector of coffees.
Overrides:
characters in class Helper

by Steve Metsker