|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.vinci.transport.document.XMLToVinci
public class XMLToVinci
Class for parsing an XML document and representing it using any of the various jVinci-compatible document models.
Method Summary | |
---|---|
static AFrame |
xmlToAFrame(java.io.Reader r)
Convert the XML document (provided as a Reader) to the AFrame document model. |
static Transportable |
xmlToTransportable(java.io.Reader r,
Transportable empty)
Populate the empty document with the XML yielded by the provided reader. |
static VinciFrame |
xmlToVinciFrame(java.io.Reader r)
Convert the XML document (provided as a Reader) to a VinciFrame document model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Transportable xmlToTransportable(java.io.Reader r, Transportable empty) throws ServiceException
empty
- An empty document to be populated.r
- A reader providing the XML to populate the empty document.
ServiceException
- if there is a parse error.public static VinciFrame xmlToVinciFrame(java.io.Reader r) throws ServiceException
r
- A reader providing the XML to convert.
ServiceException
- if there is a parse error.public static AFrame xmlToAFrame(java.io.Reader r) throws ServiceException
r
- A reader providing the XML to convert.
ServiceException
- if there is a parse error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |