public class AnyNode2SAX extends Object implements EventProducer
Constructor and Description |
---|
AnyNode2SAX()
No-arg constructor.
|
AnyNode2SAX(AnyNode node)
Creates a AnyNode2SAX for the given node.
|
AnyNode2SAX(AnyNode node,
NamespacesStack namespacesStack)
Creates a AnyNode2SAX for the given node and the namespace context.
|
Modifier and Type | Method and Description |
---|---|
static void |
fireEvents(AnyNode node,
DocumentHandler handler) |
static void |
fireEvents(AnyNode node,
DocumentHandler handler,
NamespacesStack namespacesStack) |
void |
setDocumentHandler(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, NamespacesStack namespacesStack)
node
- the AnyNode to create AnyNode2SAX for.namespacesStack
- the namespace stackpublic void setDocumentHandler(DocumentHandler handler)
setDocumentHandler
in interface EventProducer
handler
- the document handler to setpublic static void fireEvents(AnyNode node, DocumentHandler handler) throws SAXException
SAXException
public static void fireEvents(AnyNode node, DocumentHandler handler, NamespacesStack namespacesStack) throws SAXException
SAXException
public void start() throws SAXException
EventProducer
start
in interface EventProducer
SAXException
Copyright © 2021. All rights reserved.