Package org.openbravo.dal.xml
Class EntityExcelXMLConverter
- java.lang.Object
-
- org.openbravo.dal.xml.EntityExcelXMLConverter
-
- All Implemented Interfaces:
OBNotSingleton
,OBProvidable
public class EntityExcelXMLConverter extends Object implements OBNotSingleton
Converts one or more business objects to a XML presentation which can easily be read into Excel.- Author:
- mtaal
-
-
Constructor Summary
Constructors Constructor Description EntityExcelXMLConverter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export(Collection<BaseOBObject> toProcess)
Export the collection of business objects as xml suited for excel.protected void
export(BaseOBObject obObject)
Writer
getOutput()
static EntityExcelXMLConverter
newInstance()
void
setOutput(Writer output)
-
-
-
Method Detail
-
newInstance
public static EntityExcelXMLConverter newInstance()
-
export
public void export(Collection<BaseOBObject> toProcess)
Export the collection of business objects as xml suited for excel.
-
export
protected void export(BaseOBObject obObject) throws SAXException
- Throws:
SAXException
-
getOutput
public Writer getOutput()
-
setOutput
public void setOutput(Writer output)
-
-