|
Qizx/open API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.axyana.qizxopen.dm.DataModel
Abstract XQuery / XPath2 / XSLT2 Data Model.
Constructor Summary | |
DataModel()
|
Method Summary | |
static void |
exportDocument(FONIDocument document,
XMLEventHandler handler)
Convenience method: exports a remote document, using a generic SAX-like handler. |
static void |
exportNode(Node node,
XMLEventHandler handler)
Exports a node belonging to a remote or local document, using a generic SAX-like handler (convenience method). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataModel()
Method Detail |
public static void exportNode(Node node, XMLEventHandler handler) throws DataModelException, java.io.IOException
The method can be used to convert the node to another representation, using the appropriate handler.
node
- a remote or local nodehandler
- generally a XMLSerializer
or a SAX event
handler (SAXEventHandler
),
but it can be any application-provided object implementing the
XMLEventHandler
interface.
Attention, the handler is not reset with its reset() method. This allows sophisticated building operations combining several calls to exportNode with explicit element events.
DataModelException
java.io.IOException
public static void exportDocument(FONIDocument document, XMLEventHandler handler) throws DataModelException, java.io.IOException
The method can be used to convert the document to another representation, using the appropriate handler. It works also if the document is not remote.
handler
- generally a XMLSerializer
or a SAX event
handler (SAXEventHandler
),
but it can be any application-provided object implementing the
XMLEventHandler
interface.
DataModelException
java.io.IOException
|
© 2005 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |