|
Building Parsers with Java | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--sjm.examples.coffee.Helper
|
+--sjm.examples.coffee.PriceHelper
This helper sets a target coffee object's price
attribute.
| Constructor Summary | |
PriceHelper()
|
|
| Method Summary | |
void |
characters(java.lang.String s,
java.lang.Object target)
Sets a target coffee object's price
attribute to the double value of 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 |
public PriceHelper()
| Method Detail |
public void characters(java.lang.String s,
java.lang.Object target)
price
attribute to the double value of the given string.
The target coffee is the last coffee in a Vector of
coffees.
|
by Steve Metsker | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||