org.opencrx.kernel.backend
Class Xml

java.lang.Object
  extended by org.opencrx.kernel.backend.Xml

public class Xml
extends Object


Field Summary
protected  Map attributeFilter
           
protected  Backend backend
           
protected  int currentEntryId
           
static String LOCALE_CODE_TABLE_ID
           
protected static int MAX_LEVELS
           
static String MIME_TYPE
           
static int MIME_TYPE_CODE
           
protected  RequestCollection reader
           
protected static Path REALM_PATTERN
           
protected  List referenceFilter
           
protected  RequestCollection target
           
 
Constructor Summary
Xml(Backend backend, RequestCollection reader)
           
Xml(Backend backend, RequestCollection target, RequestCollection reader)
           
 
Method Summary
 byte[] exportItem(Path startFromIdentity, String referenceFilter, String attributeFilter)
           
 void exportItem(ZipOutputStream zip, PrintStream ps, List startPoints, Set exportedObjects, Map exportedCodes, int level)
           
 org.openmdx.base.jmi1.BasicObject importItem(byte[] item, short locale, String targetSegment, List errors, List report)
           
 void removeForeignAndDerivedAttributes(DataproviderObject object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIME_TYPE

public static final String MIME_TYPE
See Also:
Constant Field Values

MIME_TYPE_CODE

public static final int MIME_TYPE_CODE
See Also:
Constant Field Values

LOCALE_CODE_TABLE_ID

public static final String LOCALE_CODE_TABLE_ID
See Also:
Constant Field Values

MAX_LEVELS

protected static final int MAX_LEVELS
See Also:
Constant Field Values

REALM_PATTERN

protected static final Path REALM_PATTERN

currentEntryId

protected int currentEntryId

backend

protected final Backend backend

target

protected final RequestCollection target

reader

protected final RequestCollection reader

referenceFilter

protected List referenceFilter

attributeFilter

protected Map attributeFilter
Constructor Detail

Xml

public Xml(Backend backend,
           RequestCollection target,
           RequestCollection reader)

Xml

public Xml(Backend backend,
           RequestCollection reader)
Method Detail

removeForeignAndDerivedAttributes

public void removeForeignAndDerivedAttributes(DataproviderObject object)
                                       throws ServiceException
Throws:
ServiceException

exportItem

public void exportItem(ZipOutputStream zip,
                       PrintStream ps,
                       List startPoints,
                       Set exportedObjects,
                       Map exportedCodes,
                       int level)
                throws IOException,
                       ServiceException
Throws:
IOException
ServiceException

exportItem

public byte[] exportItem(Path startFromIdentity,
                         String referenceFilter,
                         String attributeFilter)
                  throws ServiceException
Throws:
ServiceException

importItem

public org.openmdx.base.jmi1.BasicObject importItem(byte[] item,
                                                    short locale,
                                                    String targetSegment,
                                                    List errors,
                                                    List report)
                                             throws ServiceException
Throws:
ServiceException


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.