net.xineo.xml.handler.tree
Class TreeBuilder

java.lang.Object
  |
  +--net.xineo.xml.handler.tree.TreeBuilder

public class TreeBuilder
extends java.lang.Object

This class can be used to dynamically create handler trees from their XML description.

Version:
1.0
Author:
Fr�d�rik Bilhaut

Constructor Summary
TreeBuilder()
          Creates a new instance of TreeBuilder
 
Method Summary
 ObjectHandler createHandlerTree(org.xml.sax.InputSource inputSource)
          Generates a handler tree given the input source of the input XML document
 ObjectHandler createHandlerTree(java.lang.String systemId)
          Generates a handler tree given the system ID of the input XML document
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeBuilder

public TreeBuilder()
Creates a new instance of TreeBuilder

Method Detail

createHandlerTree

public ObjectHandler createHandlerTree(java.lang.String systemId)
                                throws java.io.IOException,
                                       org.xml.sax.SAXException,
                                       javax.xml.parsers.ParserConfigurationException,
                                       TreeFormatException
Generates a handler tree given the system ID of the input XML document

Parameters:
systemId - System ID of the input XML document
Returns:
The created object handler
Throws:
IOException - I/O Exception
org.xml.sax.SAXException - SAX Exception
javax.xml.parsers.ParserConfigurationException
TreeFormatException

createHandlerTree

public ObjectHandler createHandlerTree(org.xml.sax.InputSource inputSource)
                                throws java.io.IOException,
                                       org.xml.sax.SAXException,
                                       javax.xml.parsers.ParserConfigurationException,
                                       TreeFormatException
Generates a handler tree given the input source of the input XML document

Parameters:
inputSource - Input source of the input XML document
Returns:
The created object handler
Throws:
IOException - I/O Exception
org.xml.sax.SAXException - SAX Exception
javax.xml.parsers.ParserConfigurationException
TreeFormatException


Copyright © 2002 Frédérik Bilhaut - Xineo.NET