Building Parsers with Java

sjm.examples.coffee
Class CountryAssembler

java.lang.Object
  |
  +--sjm.parse.Assembler
        |
        +--sjm.examples.coffee.CountryAssembler

public class CountryAssembler
extends Assembler

This assembler pops a string, and sets the target coffee's country to this string.


Constructor Summary
CountryAssembler()
           
 
Method Summary
 void workOn(Assembly a)
          Pop a string, and set the target coffee's country to this string.
 
Methods inherited from class sjm.parse.Assembler
elementsAbove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountryAssembler

public CountryAssembler()
Method Detail

workOn

public void workOn(Assembly a)
Pop a string, and set the target coffee's country to this string.
Overrides:
workOn in class Assembler
Parameters:
Assembly - the assembly to work on

by Steve Metsker