public class XmlExporter extends AbstractImpl
Modifier and Type | Class and Description |
---|---|
static class |
XmlExporter.ExportParams
ExportParams
|
static class |
XmlExporter.TraversedObject
TraversedObject
|
Modifier and Type | Field and Description |
---|---|
static String |
FILE_EXT_BIN |
static String |
FILE_EXT_XLS |
static String |
FILE_EXT_XML |
static String |
FILE_EXT_ZIP |
protected static int |
MAX_LEVELS |
static String |
MIME_TYPE_EXCEL |
static String |
MIME_TYPE_XML |
Modifier | Constructor and Description |
---|---|
protected |
XmlExporter() |
Modifier and Type | Method and Description |
---|---|
void |
exportItem(OutputStream out,
PrintStream ps,
List<XmlExporter.TraversedObject> startPoints,
List<XmlExporter.TraversedObject> allExportedObjects,
List<XmlExporter.TraversedObject> allReferencedObjects,
XmlExporter.ExportParams params)
Export item.
|
ExportItemResult |
exportItem(org.openmdx.base.accessor.jmi.cci.RefObject_1_0 object,
String referenceFilter,
String itemMimeType)
Export object according to the given export profile and itemMimeType.
|
protected Collection<?> |
getContent(XmlExporter.TraversedObject object,
String referenceName) |
static XmlExporter |
getInstance()
Get backend instance.
|
static void |
register()
Register backend.
|
getInstance, getPersistenceManager, getUidAsString, preDelete, preStore, registerImpl
public static final String MIME_TYPE_XML
public static final String MIME_TYPE_EXCEL
public static final String FILE_EXT_XLS
public static final String FILE_EXT_XML
public static final String FILE_EXT_BIN
public static final String FILE_EXT_ZIP
protected static final int MAX_LEVELS
public static void register()
public static XmlExporter getInstance() throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public void exportItem(OutputStream out, PrintStream ps, List<XmlExporter.TraversedObject> startPoints, List<XmlExporter.TraversedObject> allExportedObjects, List<XmlExporter.TraversedObject> allReferencedObjects, XmlExporter.ExportParams params) throws IOException, org.openmdx.base.exception.ServiceException
out
- ps
- startPoints
- allExportedObjects
- allReferencedObjects
- params
- IOException
org.openmdx.base.exception.ServiceException
public ExportItemResult exportItem(org.openmdx.base.accessor.jmi.cci.RefObject_1_0 object, String referenceFilter, String itemMimeType) throws org.openmdx.base.exception.ServiceException
object
- referenceFilter
- itemMimeType
- org.openmdx.base.exception.ServiceException
protected Collection<?> getContent(XmlExporter.TraversedObject object, String referenceName)
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.