Release Planner v1.0

rp.dom.xml
Class UserLoader

java.lang.Object
  |
  +--org.xml.sax.helpers.DefaultHandler
        |
        +--rp.util.xml.XMLLoader
              |
              +--rp.dom.xml.RPLoader
                    |
                    +--rp.dom.xml.UserLoader
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, XMLLoaderChainElement
Direct Known Subclasses:
ContributorLoader

public class UserLoader
extends RPLoader

Loads elements corresponsind to objects derived from User.

Version:
$Revision: 1.1 $, $Date: 2001/06/25 19:39:05 $

Constructor Summary
UserLoader()
           
 
Method Summary
protected  java.lang.Object alloc()
           
protected  java.lang.Object done()
          Called on the end-tag corresponding to the start tag that casued this loader to be invoked.
protected  void endElement(int tag)
          Called when the end-tag of an element is encoutnered.
protected  User getUser()
           
 
Methods inherited from class rp.dom.xml.RPLoader
getObject, init, start
 
Methods inherited from class rp.util.xml.XMLLoader
characters, doneLoader, endElement, getAttributes, getCharData, getLoaderParameter, getNestingLevel, getParameter, newLoader, startElement, startElement
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLoader

public UserLoader()
Method Detail

alloc

protected java.lang.Object alloc()
Overrides:
alloc in class RPLoader

getUser

protected User getUser()

endElement

protected void endElement(int tag)
Description copied from class: XMLLoader
Called when the end-tag of an element is encoutnered. Attributes may be accessed via a call to getAttributes. Character data may be accessed via a call to getCharData.

Overrides:
endElement in class XMLLoader

done

protected java.lang.Object done()
Description copied from class: XMLLoader
Called on the end-tag corresponding to the start tag that casued this loader to be invoked. Attributes may be accessed via a call to getAttributes. Character data may be accessed via a call to getCharData. An invocation parameter may be accessed via a call to getParameter.

Overrides:
done in class XMLLoader
Returns:
a parameter to return to the previous loader

Release Planner v1.0