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,
Namespaces context)
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,
Namespaces context) |
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, Namespaces context)
node - the AnyNode to create AnyNode2SAX for.context - a namespace contextpublic 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, Namespaces context) throws SAXException
SAXExceptionpublic void start()
throws SAXException
EventProducerstart in interface EventProducerSAXExceptionCopyright © 2014. All rights reserved.