| java.lang.Object org.xml.sax.helpers.DefaultHandler org.apache.jmeter.monitor.parser.MonitorHandler
Method Summary | |
public void | characters(char ch, int start, int length) Receive notification of character data inside an element.
By default, do nothing. | public void | endDocument() | public void | endElement(String uri, String localName, String qName) Receive notification of the end of an element.
By default, do nothing. | public Status | getContents() method returns the status object. | public int | parseInt(String data) Convienance method for parsing integers. | public long | parseLong(String data) Convienance method for parsing long. | public void | setObjectFactory(ObjectFactory factory) | public void | startDocument() | public void | startElement(String uri, String localName, String qName, Attributes attributes) Receive notification of the start of an element.
By default, do nothing. |
MonitorHandler | public MonitorHandler()(Code) | | |
characters | public void characters(char ch, int start, int length) throws SAXException(Code) | | Receive notification of character data inside an element.
By default, do nothing. Application writers may override this method to
take specific actions for each chunk of character data (such as adding
the data to a node or buffer, or printing it to a file).
Parameters: ch - The characters. Parameters: start - The start position in the character array. Parameters: length - The number of characters to use from the character array. exception: org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception. See Also: org.xml.sax.ContentHandler.characters |
endElement | public void endElement(String uri, String localName, String qName) throws SAXException(Code) | | Receive notification of the end of an element.
By default, do nothing. Application writers may override this method in a
subclass to take specific actions at the end of each element (such as
finalising a tree node or writing output to a file).
Parameters: uri - Parameters: localName - The element type name. Parameters: qName - The specified or defaulted attributes. exception: org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception. See Also: org.xml.sax.ContentHandler.endElement |
getContents | public Status getContents()(Code) | | method returns the status object.
the status |
parseInt | public int parseInt(String data)(Code) | | Convienance method for parsing integers.
Parameters: data - the value as an integer |
parseLong | public long parseLong(String data)(Code) | | Convienance method for parsing long. If the string was not a number, the
method returns zero.
Parameters: data - the value as a long |
setObjectFactory | public void setObjectFactory(ObjectFactory factory)(Code) | | Set the ObjectFactory used to create new
Parameters: factory - |
startElement | public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code) | | Receive notification of the start of an element.
By default, do nothing. Application writers may override this method in a
subclass to take specific actions at the start of each element (such as
allocating a new tree node or writing output to a file).
Parameters: uri - Parameters: localName - The element type name. Parameters: qName - Parameters: attributes - The specified or defaulted attributes. exception: org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception. See Also: org.xml.sax.ContentHandler.startElement |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|