Package org.mycore.frontend.basket
Class MCRBasketXMLBuilder
java.lang.Object
org.mycore.frontend.basket.MCRBasketXMLBuilder
Builds xml representations of a basket and its entries.
- Author:
- Frank Lützenkirchen
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MCRBasketXMLBuilder
public MCRBasketXMLBuilder(boolean addContent) Creates a new XML builder.- Parameters:
addContent
- if true, the XML data representing the objects in basket entries is included too.
-
-
Method Details
-
buildXML
Builds an XML representation of a basket entry. Note that setContent() or resolveContent() must have been called before if XML content of the basket entry's object should be included. -
buildXML
Builds an XML representation of a basket and its entries.
-