sjm.examples.coffee
Class Helper
java.lang.Object
|
+--sjm.examples.coffee.Helper
- Direct Known Subclasses:
- CountryHelper, FormerNameHelper, NameHelper, NewCoffeeHelper, OrFrenchHelper, PriceHelper, RoastHelper
- public class Helper
- extends java.lang.Object
This class is the top of a hierarchy of classes that help
to build a coffee object, based on recognizing elements
of an XML markup file.
An application that uses a SAX parser can pass control
to helpers upon receiving SAX events.
|
Method Summary |
void |
characters(java.lang.String s,
java.lang.Object target)
An application that uses a SAX parser should call this
method upon receiving a characters event. |
void |
startElement(java.lang.Object target)
An application that uses a SAX parser should call this
method upon receiving a startElement event. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Helper
public Helper()
characters
public void characters(java.lang.String s,
java.lang.Object target)
- An application that uses a SAX parser should call this
method upon receiving a
characters event.
startElement
public void startElement(java.lang.Object target)
- An application that uses a SAX parser should call this
method upon receiving a
startElement event.