public class XmlTools extends Object
XmlTools class.
| Constructor and Description | 
|---|
XmlTools()  | 
| Modifier and Type | Method and Description | 
|---|---|
static org.restlet.ext.xml.DomRepresentation | 
getRepresentation(Document document)
 getRepresentation. 
 | 
static Document | 
marshalToDocument(JaxbObject jaxbTool,
                 Object o)
 marshalToDocument. 
 | 
static Object | 
unMarshal(JaxbObject jaxbTool,
         Object expectedType,
         String string)
 unMarshal. 
 | 
public static org.restlet.ext.xml.DomRepresentation getRepresentation(Document document)
getRepresentation.
document - a Document object.DomRepresentation object.public static Document marshalToDocument(JaxbObject jaxbTool, Object o)
marshalToDocument.
jaxbTool - a JaxbObject object.o - a Object object.Document object.public static Object unMarshal(JaxbObject jaxbTool, Object expectedType, String string) throws SAXException
unMarshal.
jaxbTool - a JaxbObject object.expectedType - a Object object.string - a String object.Object object.SAXException - if any.Copyright © 2015 SeqWare. All rights reserved.