EventProducer
public class AnyNode2SAX extends java.lang.Object implements EventProducer
Constructor | Description |
---|---|
AnyNode2SAX() |
No-arg constructor.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
fireEvents(AnyNode node,
org.xml.sax.DocumentHandler handler) |
|
static void |
fireEvents(AnyNode node,
org.xml.sax.DocumentHandler handler,
Namespaces context) |
|
void |
setDocumentHandler(org.xml.sax.DocumentHandler handler) |
Set the Document Handler
|
void |
start() |
Signals to start producing events.
|
public AnyNode2SAX()
public AnyNode2SAX(AnyNode node)
node
- the AnyNode to create AnyNode2SAX for.public AnyNode2SAX(AnyNode node, Namespaces context)
node
- the AnyNode to create AnyNode2SAX for.context
- a namespace contextpublic void setDocumentHandler(org.xml.sax.DocumentHandler handler)
setDocumentHandler
in interface EventProducer
handler
- the document handler to setpublic static void fireEvents(AnyNode node, org.xml.sax.DocumentHandler handler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public static void fireEvents(AnyNode node, org.xml.sax.DocumentHandler handler, Namespaces context) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void start() throws org.xml.sax.SAXException
EventProducer
start
in interface EventProducer
org.xml.sax.SAXException
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com