public class

RootHandler

extends DefaultHandler
implements DatasetTags
java.lang.Object
   ↳ org.xml.sax.helpers.DefaultHandler
     ↳ org.jfree.data.xml.RootHandler
Known Direct Subclasses

Class Overview

A SAX handler that delegates work to sub-handlers.

Summary

[Expand]
Inherited Constants
From interface org.jfree.data.xml.DatasetTags
Public Constructors
RootHandler()
Creates a new handler.
Public Methods
void characters(char[] ch, int start, int length)
Receives some (or all) of the text in the current element.
DefaultHandler getCurrentHandler()
Returns the handler at the top of the stack.
Stack getSubHandlers()
Returns the stack of sub handlers.
DefaultHandler popSubHandler()
Pops a sub-handler from the stack.
void pushSubHandler(DefaultHandler subhandler)
Pushes a sub-handler onto the stack.
[Expand]
Inherited Methods
From class org.xml.sax.helpers.DefaultHandler
From class java.lang.Object
From interface org.xml.sax.ContentHandler
From interface org.xml.sax.DTDHandler
From interface org.xml.sax.EntityResolver
From interface org.xml.sax.ErrorHandler

Public Constructors

public RootHandler ()

Creates a new handler.

Public Methods

public void characters (char[] ch, int start, int length)

Receives some (or all) of the text in the current element.

Parameters
ch character buffer.
start the start index.
length the length of the valid character data.
Throws
SAXException for errors.

public DefaultHandler getCurrentHandler ()

Returns the handler at the top of the stack.

Returns
  • The handler.

public Stack getSubHandlers ()

Returns the stack of sub handlers.

Returns
  • The sub-handler stack.

public DefaultHandler popSubHandler ()

Pops a sub-handler from the stack.

Returns
  • The sub-handler.

public void pushSubHandler (DefaultHandler subhandler)

Pushes a sub-handler onto the stack.

Parameters
subhandler the sub-handler.