org.exolab.castor.xml.util

Class AnyNode2SAX

public class AnyNode2SAX extends Object implements EventProducer

A class for converting an AnyNode to SAX events

Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:46 $

Author: Arnaud Blandin

Constructor Summary
AnyNode2SAX()
AnyNode2SAX(AnyNode node)
Creates a AnyNode2SAX for the given node.
AnyNode2SAX(AnyNode node, Namespaces context)
Creates a AnyNode2SAX for the given node and the namespace context.
Method Summary
static voidfireEvents(AnyNode node, DocumentHandler handler)
static voidfireEvents(AnyNode node, DocumentHandler handler, Namespaces context)
voidsetDocumentHandler(DocumentHandler handler)
Set the Document Handler
voidstart()

Constructor Detail

AnyNode2SAX

public AnyNode2SAX()

AnyNode2SAX

public AnyNode2SAX(AnyNode node)
Creates a AnyNode2SAX for the given node.

AnyNode2SAX

public AnyNode2SAX(AnyNode node, Namespaces context)
Creates a AnyNode2SAX for the given node and the namespace context.

Method Detail

fireEvents

public static void fireEvents(AnyNode node, DocumentHandler handler)

fireEvents

public static void fireEvents(AnyNode node, DocumentHandler handler, Namespaces context)

setDocumentHandler

public void setDocumentHandler(DocumentHandler handler)
Set the Document Handler

Parameters: handler the document handler to set

start

public void start()
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com