Building Parsers with Java

sjm.examples.coffee
Class RoastAssembler

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

public class RoastAssembler
extends Assembler

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


Constructor Summary
RoastAssembler()
           
 
Method Summary
 void workOn(Assembly a)
          Pop a string, and set the target coffee's roast 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

RoastAssembler

public RoastAssembler()
Method Detail

workOn

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

by Steve Metsker