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 EventProducerhandler - the document handler to setpublic static void fireEvents(AnyNode node, DocumentHandler handler) throws SAXException
SAXExceptionpublic static void fireEvents(AnyNode node, DocumentHandler handler, NamespacesStack namespacesStack) throws SAXException
SAXExceptionpublic void start()
throws SAXException
EventProducerstart in interface EventProducerSAXExceptionCopyright © 2016. All rights reserved.