org.exolab.castor.xml.util

Class AnyNode2SAX2

public class AnyNode2SAX2 extends Object

A class for converting an AnyNode to SAX events

Version: $Revision: 5961 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $

Author: Keith Visco Arnaud Blandin

Constructor Summary
AnyNode2SAX2()
AnyNode2SAX2(AnyNode node)
Creates a AnyNode2SAX for the given node.
AnyNode2SAX2(AnyNode node, Namespaces context)
Creates a AnyNode2SAX for the given node and the namespace context.
Method Summary
static voidfireEvents(AnyNode node, ContentHandler handler)
static voidfireEvents(AnyNode node, ContentHandler handler, Namespaces context)
voidsetContentHandler(ContentHandler handler)
Set the ContentHandler to send events to
voidstart()

Constructor Detail

AnyNode2SAX2

public AnyNode2SAX2()

AnyNode2SAX2

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

AnyNode2SAX2

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

Method Detail

fireEvents

public static void fireEvents(AnyNode node, ContentHandler handler)

fireEvents

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

setContentHandler

public void setContentHandler(ContentHandler handler)
Set the ContentHandler to send events to

Parameters: handler the document handler to set

start

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