public class XMLBuilder extends Object
Modifier and Type | Method and Description |
---|---|
static Element |
addElement(Element root,
Path path) |
static Element |
addElement(Element parent,
String segment) |
static void |
fillField(Element element,
String value,
String attribute) |
static Element |
getOrCreateElement(Element root,
Path path) |
static String |
saveToXML(Object object,
Element root,
XAnnotatedObject xao) |
static void |
toXML(Object o,
Element parent,
XAnnotatedObject xao) |
public static String saveToXML(Object object, Element root, XAnnotatedObject xao)
public static void toXML(Object o, Element parent, XAnnotatedObject xao)
Copyright © 2015 Nuxeo SA. All rights reserved.