|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
no.feide.moria.servlet.BackendStatusHandler
public class BackendStatusHandler
| Field Summary | |
|---|---|
private java.util.HashMap |
bsdata
Hash map of parsed users. |
private java.lang.String |
currentchars
String value of current attribute. |
private BackendStatusUser |
currentuser
The user being parsed. |
| Constructor Summary | |
|---|---|
BackendStatusHandler()
Constructor. |
|
| Method Summary | |
|---|---|
void |
characters(char[] buf,
int offset,
int len)
Implements callback that is called to process data for an element. |
void |
endDocument()
Implements callback that is called at end of document. |
void |
endElement(java.lang.String namespaceURI,
java.lang.String sName,
java.lang.String qName)
Implements callback that is called at end of an xml element. |
java.util.HashMap |
getAttribs()
Gets parsed attributes. |
void |
startDocument()
Implements callback that is called at start of document. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String sName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
|
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.HashMap bsdata
private BackendStatusUser currentuser
private java.lang.String currentchars
| Constructor Detail |
|---|
public BackendStatusHandler()
| Method Detail |
|---|
public void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - Required by interface.
public void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - Required by interface.
public final void startElement(java.lang.String namespaceURI,
java.lang.String sName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
public final void endElement(java.lang.String namespaceURI,
java.lang.String sName,
java.lang.String qName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlernamespaceURI - Namespace URI.sName - The local name (without prefix), or the empty string if Namespace processing is not being performed.qName - The qualified XML 1.0 name (with prefix), or the empty string if qualified names are not available.
org.xml.sax.SAXException - Required by interface.for information about the parameters
public final void characters(char[] buf,
int offset,
int len)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerbuf - The characters.offset - The start position in the character array.len - The number of characters to use from the character array.
org.xml.sax.SAXException - Required by interface.for information about the parameterspublic final java.util.HashMap getAttribs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||