Package org.nuxeo.common.xmap
Class XMLBuilder
- java.lang.Object
-
- org.nuxeo.common.xmap.XMLBuilder
-
public class XMLBuilder extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Element
addElement(Element parent, String segment)
static Element
addElement(Element root, Path path)
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)
-
-
-
Method Detail
-
saveToXML
public static String saveToXML(Object object, Element root, XAnnotatedObject xao)
-
toXML
public static void toXML(Object o, Element parent, XAnnotatedObject xao)
-
getOrCreateElement
public static Element getOrCreateElement(Element root, Path path)
-
addElement
public static Element addElement(Element root, Path path)
-
addElement
public static Element addElement(Element parent, String segment)
-
-