|
Qizx/open 4.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qizx.api.util.PullStreamConverter
public class PullStreamConverter
Utility for conversion of an XMLPullStream input.
convertTree(com.qizx.api.XMLPullStream, com.qizx.api.XMLPushStream) reads a portion
of the input stream that form a complete element tree.
buildNode(com.qizx.api.XMLPullStream)) reads
a portion of the input stream that form a complete element and its subtree,
or a leaf node, and builds a Node.
| Method Summary | |
|---|---|
static Node |
buildNode(XMLPullStream in)
Directly builds an internal Node representation from a XML input stream. |
static int |
convertTree(XMLPullStream in,
XMLPushStream out)
Reads events from the input stream until a complete well-balanced tree is sent to the output stream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int convertTree(XMLPullStream in,
XMLPushStream out)
throws DataModelException
in - an input stream of XML eventsout - an output for XML events
DataModelException - if thrown by the input stream
public static Node buildNode(XMLPullStream in)
throws DataModelException
in - XML input stream
DataModelException - if thrown by the input stream
|
© 2010 Axyana Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||