Code example for SAXParser

Methods: reset

  public void reset() { 
    pagelet = null;
    pageletLocation = null;
    SAXParser parser = parserRef.get();
    if (parser != null)
   * Returns the pagelet that has been read in. 
   * @return the pagelet 
  PageletImpl getPagelet() { 
    return pagelet;
   * The location of the pagelet within the page. Note that when using this 
   * reader as a helper for the {@link PageReader}, you need to set the location 
   * prior to passing the first SAX event, otherwise it won't be taken into