public class AnyNode2SAX2 extends Object
Constructor and Description |
---|
AnyNode2SAX2()
No-arg constructor.
|
AnyNode2SAX2(AnyNode node)
Creates a AnyNode2SAX for the given node.
|
AnyNode2SAX2(AnyNode node,
Namespaces context)
Creates a AnyNode2SAX2 for the given node and the namespace context.
|
Modifier and Type | Method and Description |
---|---|
static void |
fireEvents(AnyNode node,
ContentHandler handler) |
static void |
fireEvents(AnyNode node,
ContentHandler handler,
Namespaces context) |
void |
setContentHandler(ContentHandler handler)
Set the ContentHandler to send events to.
|
void |
start() |
public AnyNode2SAX2()
public AnyNode2SAX2(AnyNode node)
node
- the AnyNode to create AnyNode2SAX2 for.public AnyNode2SAX2(AnyNode node, Namespaces context)
node
- the AnyNode to create AnyNode2SAX for.context
- a namespace contextpublic void setContentHandler(ContentHandler handler)
handler
- the document handler to setpublic static void fireEvents(AnyNode node, ContentHandler handler) throws SAXException
SAXException
public static void fireEvents(AnyNode node, ContentHandler handler, Namespaces context) throws SAXException
SAXException
public void start() throws SAXException
SAXException
Copyright © 2016. All rights reserved.