public class XMLToVinci extends Object
Modifier and Type | Method and Description |
---|---|
static AFrame |
xmlToAFrame(Reader r)
Convert the XML document (provided as a Reader) to the AFrame document model.
|
static Transportable |
xmlToTransportable(Reader r,
Transportable empty)
Populate the empty document with the XML yielded by the provided reader.
|
static VinciFrame |
xmlToVinciFrame(Reader r)
Convert the XML document (provided as a Reader) to a VinciFrame document model.
|
public static Transportable xmlToTransportable(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(Reader r) throws ServiceException
r
- A reader providing the XML to convert.ServiceException
- if there is a parse error.public static AFrame xmlToAFrame(Reader r) throws ServiceException
r
- A reader providing the XML to convert.ServiceException
- if there is a parse error.Copyright © 2015. All rights reserved.