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 java.lang.String |
FILE_EXT_BIN |
static java.lang.String |
FILE_EXT_XLS |
static java.lang.String |
FILE_EXT_XML |
static java.lang.String |
FILE_EXT_ZIP |
protected static int |
MAX_LEVELS |
static java.lang.String |
MIME_TYPE_EXCEL |
static java.lang.String |
MIME_TYPE_XML |
Modifier | Constructor and Description |
---|---|
protected |
XmlExporter() |
Modifier and Type | Method and Description |
---|---|
void |
exportItem(java.io.OutputStream out,
java.io.PrintStream ps,
java.util.List<XmlExporter.TraversedObject> startPoints,
java.util.List<XmlExporter.TraversedObject> allExportedObjects,
java.util.List<XmlExporter.TraversedObject> allReferencedObjects,
XmlExporter.ExportParams params)
Export item.
|
ExportItemResult |
exportItem(org.openmdx.base.accessor.jmi.cci.RefObject_1_0 object,
java.lang.String referenceFilter,
java.lang.String itemMimeType)
Export object according to the given export profile and itemMimeType.
|
protected java.util.Collection<?> |
getContent(XmlExporter.TraversedObject object,
java.lang.String referenceName) |
static XmlExporter |
getInstance()
Get backend instance.
|
static void |
register()
Register backend.
|
getInstance, getPersistenceManager, getUidAsString, preDelete, preStore, registerImpl
public static final java.lang.String MIME_TYPE_XML
public static final java.lang.String MIME_TYPE_EXCEL
public static final java.lang.String FILE_EXT_XLS
public static final java.lang.String FILE_EXT_XML
public static final java.lang.String FILE_EXT_BIN
public static final java.lang.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(java.io.OutputStream out, java.io.PrintStream ps, java.util.List<XmlExporter.TraversedObject> startPoints, java.util.List<XmlExporter.TraversedObject> allExportedObjects, java.util.List<XmlExporter.TraversedObject> allReferencedObjects, XmlExporter.ExportParams params) throws java.io.IOException, org.openmdx.base.exception.ServiceException
out
- ps
- startPoints
- allExportedObjects
- allReferencedObjects
- params
- java.io.IOException
org.openmdx.base.exception.ServiceException
public ExportItemResult exportItem(org.openmdx.base.accessor.jmi.cci.RefObject_1_0 object, java.lang.String referenceFilter, java.lang.String itemMimeType) throws org.openmdx.base.exception.ServiceException
object
- referenceFilter
- itemMimeType
- org.openmdx.base.exception.ServiceException
protected java.util.Collection<?> getContent(XmlExporter.TraversedObject object, java.lang.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.