|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object
|
+--org.xml.sax.HandlerBase
|
+--examples.jms.messageformat.RequestHandler
This class extends HandlerBase and is used to handle events created as an XML document is parsed by a SAX compliant parser.
| Constructor Summary | |
RequestHandler()
Default constructor. |
|
| Method Summary | |
void |
characters(char[] buf,
int offset,
int len)
Receives notification of character data inside an element. |
void |
endDocument()
Receives notification of the end of the XML document. |
void |
endElement(java.lang.String name)
Receives notification of the end of an element. |
void |
error(org.xml.sax.SAXParseException x)
Receives notification of a recoverable parser error. |
java.util.Hashtable |
getData()
Returns parsed data as a hashtable. |
void |
startDocument()
Receives notification of the beginning of the XML document. |
void |
startElement(java.lang.String name,
org.xml.sax.AttributeList attrs)
Receives notification of the start of an element. |
| Methods inherited from class org.xml.sax.HandlerBase |
fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public RequestHandler()
| Method Detail |
public void characters(char[] buf,
int offset,
int len)
throws org.xml.sax.SAXException
characters in class org.xml.sax.HandlerBasebuf - array of charactersoffset - the start position in the character arraylen - the number of characters to use from the arrayorg.xml.sax.SAXException - if an error occurred while parsing the XML doc
public void endDocument()
throws org.xml.sax.SAXException
endDocument in class org.xml.sax.HandlerBaseorg.xml.sax.SAXException - If an error occurred while parsing the XML doc
public void endElement(java.lang.String name)
throws org.xml.sax.SAXException
endElement in class org.xml.sax.HandlerBasename - the string name of the elementorg.xml.sax.SAXException - If an error occurred while parsing the XML doc
public void error(org.xml.sax.SAXParseException x)
throws org.xml.sax.SAXException
error in class org.xml.sax.HandlerBasex - the parser exception that occurredorg.xml.sax.SAXException - if an error occurred while receiving the original errorpublic java.util.Hashtable getData()
public void startDocument()
throws org.xml.sax.SAXException
startDocument in class org.xml.sax.HandlerBaseorg.xml.sax.SAXException - If an error occurred starting to parse the XML doc
public void startElement(java.lang.String name,
org.xml.sax.AttributeList attrs)
throws org.xml.sax.SAXException
startElement in class org.xml.sax.HandlerBasename - the string name of the elementattrs - the list of attributes of the elementorg.xml.sax.SAXException - if an error occurred while parsing the XML doc
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||