org.exolab.castor.xml.util
Class AnyNode2SAX2
java.lang.Object
org.exolab.castor.xml.util.AnyNode2SAX2
public class AnyNode2SAX2
extends java.lang.Object
A class for converting an AnyNode to SAX events.
$Revision: 7386 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
AnyNode2SAX2
public AnyNode2SAX2()
No-arg constructor.
AnyNode2SAX2
public AnyNode2SAX2(AnyNode node)
Creates a AnyNode2SAX for the given node.
node
- the AnyNode to create AnyNode2SAX2 for.
AnyNode2SAX2
public AnyNode2SAX2(AnyNode node,
Namespaces context)
Creates a AnyNode2SAX2 for the given node and the namespace context.
node
- the AnyNode to create AnyNode2SAX for.context
- a namespace context
fireEvents
public static void fireEvents(AnyNode node,
ContentHandler handler)
throws SAXException
fireEvents
public static void fireEvents(AnyNode node,
ContentHandler handler,
Namespaces context)
throws SAXException
setContentHandler
public void setContentHandler(ContentHandler handler)
Set the ContentHandler to send events to.
handler
- the document handler to set
start
public void start()
throws SAXException
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com