@NotStorableClass public class XmlExporter extends AbstractExporter
logger| Constructor and Description |
|---|
XmlExporter(IStore store) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beginExportArray(DataRecordIdentifier arrayDataRecordIdentifier,
int arrayLength,
ClassInfo arrayClassInfo)
begin of array export
|
protected void |
beginExportArrayNotPersisted(int arrayIdentifier,
int arrayLength,
ClassInfo arrayComponentClassInfo) |
protected void |
beginExportEnum(DataRecordIdentifier objectDataRecordIdentifier,
ClassInfo objectClassInfo,
Enum<?> enumInstance)
begin enum export
|
protected void |
beginExportEnumNotPersisted(int enumIdentifier,
ClassInfo enumClassInfo,
Enum<?> enumInstance) |
protected void |
beginExportField(String fieldClassName,
String fieldName,
String fieldDeclaringClassName,
boolean staticField,
boolean transientField)
begin of an object field export
|
protected void |
beginExportGeneric(DataRecordIdentifier objectDataRecordIdentifier,
ClassInfo objectClassInfo)
begin generic object export
|
protected void |
beginExportNotPersistedGeneric(int objectIdentifier,
ClassInfo objectClassInfo)
begin generic not persisted object export
|
protected void |
beginExportRoot()
begin of root export
|
protected void |
beginExportStatic(DataRecordIdentifier objectDataRecordIdentifier,
ClassInfo objectClassInfo) |
protected void |
beginExportStaticField() |
protected void |
beginExportVisit(String joafipRelease,
int dataModelIdentifier,
long lastRecordId)
begin of the visit for export
|
protected void |
close()
close export
|
protected void |
closeWriterAfterError()
close export after an error
|
protected void |
endExportArray()
end of array export
|
protected void |
endExportArrayNotPersisted() |
protected void |
endExportEnum()
end enum export
|
protected void |
endExportEnumNotPersisted() |
protected void |
endExportField()
end of object field export
|
protected void |
endExportGeneric()
end of generic object export
|
protected void |
endExportNotPersistedGeneric()
end of generic not persisted object export
|
protected void |
endExportRoot()
end of root export
|
protected void |
endExportStatic() |
protected void |
endExportStaticField() |
protected void |
endExportVisit()
end visit for export
|
protected void |
exportBasicValue(Object value)
export a basic value
|
protected void |
exportNotPersistedReference(int objectIdentifier)
export reference to not persisted object
|
protected void |
exportNullReference()
export null reference
|
protected void |
exportReference(DataRecordIdentifier dataRecordIdentifier)
export not null reference
|
protected void |
exportString(DataRecordIdentifier dataRecordIdentifier,
String string)
export string
|
protected void |
exportString(int objectIdentifier,
String string)
export not persisted string
|
protected void |
open(File directory)
opening for export
|
basicValueToString, export, export, getNumberOfObjectExported, setListenerpublic XmlExporter(IStore store) throws StoreException
StoreExceptionprotected void open(File directory) throws StoreException
AbstractExporteropen in class AbstractExporterStoreExceptionprotected void close()
throws StoreException
AbstractExporterclose in class AbstractExporterStoreExceptionprotected void closeWriterAfterError()
AbstractExportercloseWriterAfterError in class AbstractExporterprotected void beginExportVisit(String joafipRelease, int dataModelIdentifier, long lastRecordId) throws StoreException
AbstractExporterbeginExportVisit in class AbstractExporterStoreExceptionprotected void endExportVisit()
throws StoreException
AbstractExporterendExportVisit in class AbstractExporterStoreExceptionprotected void beginExportRoot()
throws StoreException
AbstractExporterbeginExportRoot in class AbstractExporterStoreExceptionprotected void endExportRoot()
throws StoreException
AbstractExporterendExportRoot in class AbstractExporterStoreExceptionprotected void beginExportStaticField()
throws StoreException
beginExportStaticField in class AbstractExporterStoreExceptionprotected void endExportStaticField()
throws StoreException
endExportStaticField in class AbstractExporterStoreExceptionprotected void exportString(DataRecordIdentifier dataRecordIdentifier, String string) throws StoreException
AbstractExporterexportString in class AbstractExporterstring - the string instanceStoreExceptionprotected void exportString(int objectIdentifier,
String string)
throws StoreException
AbstractExporterexportString in class AbstractExporterstring - the string instanceStoreExceptionprotected void beginExportStatic(DataRecordIdentifier objectDataRecordIdentifier, ClassInfo objectClassInfo) throws StoreException
beginExportStatic in class AbstractExporterStoreExceptionprotected void endExportStatic()
throws StoreException
endExportStatic in class AbstractExporterStoreExceptionprotected void beginExportGeneric(DataRecordIdentifier objectDataRecordIdentifier, ClassInfo objectClassInfo) throws StoreException
AbstractExporterbeginExportGeneric in class AbstractExporterobjectDataRecordIdentifier - the object data record identifierobjectClassInfo - the object class informationStoreExceptionprotected void beginExportNotPersistedGeneric(int objectIdentifier,
ClassInfo objectClassInfo)
throws StoreException
AbstractExporterbeginExportNotPersistedGeneric in class AbstractExporterobjectIdentifier - the object data record identifierobjectClassInfo - the object class informationStoreExceptionprotected void endExportGeneric()
throws StoreException
AbstractExporterendExportGeneric in class AbstractExporterStoreExceptionprotected void endExportNotPersistedGeneric()
throws StoreException
AbstractExporterendExportNotPersistedGeneric in class AbstractExporterStoreExceptionprotected void beginExportField(String fieldClassName, String fieldName, String fieldDeclaringClassName, boolean staticField, boolean transientField) throws StoreException
AbstractExporterbeginExportField in class AbstractExporterfieldClassName - the field class namefieldName - the field namefieldDeclaringClassName - the field declaring class nameStoreExceptionprotected void endExportField()
throws StoreException
AbstractExporterendExportField in class AbstractExporterStoreExceptionprotected void exportNullReference()
throws StoreException
AbstractExporterexportNullReference in class AbstractExporterStoreExceptionprotected void exportBasicValue(Object value) throws StoreException
AbstractExporterexportBasicValue in class AbstractExportervalue - the value to exportStoreExceptionprotected void exportReference(DataRecordIdentifier dataRecordIdentifier) throws StoreException
AbstractExporterexportReference in class AbstractExporterdataRecordIdentifier - the data record identifier as referenceStoreExceptionprotected void exportNotPersistedReference(int objectIdentifier)
throws StoreException
AbstractExporterexportNotPersistedReference in class AbstractExporterobjectIdentifier - the not persisted object identifierStoreExceptionprotected void beginExportArray(DataRecordIdentifier arrayDataRecordIdentifier, int arrayLength, ClassInfo arrayClassInfo) throws StoreException
AbstractExporterbeginExportArray in class AbstractExporterarrayDataRecordIdentifier - the array instance data record identifierarrayLength - the array lengtharrayClassInfo - the array component class informationStoreExceptionprotected void beginExportArrayNotPersisted(int arrayIdentifier,
int arrayLength,
ClassInfo arrayComponentClassInfo)
throws StoreException
beginExportArrayNotPersisted in class AbstractExporterStoreExceptionprotected void endExportArray()
throws StoreException
AbstractExporterendExportArray in class AbstractExporterStoreExceptionprotected void endExportArrayNotPersisted()
throws StoreException
endExportArrayNotPersisted in class AbstractExporterStoreExceptionprotected void beginExportEnum(DataRecordIdentifier objectDataRecordIdentifier, ClassInfo objectClassInfo, Enum<?> enumInstance) throws StoreException
AbstractExporterbeginExportEnum in class AbstractExporterobjectDataRecordIdentifier - the enum instance data record identifierobjectClassInfo - the enum class informationenumInstance - the enumStoreExceptionprotected void beginExportEnumNotPersisted(int enumIdentifier,
ClassInfo enumClassInfo,
Enum<?> enumInstance)
throws StoreException
beginExportEnumNotPersisted in class AbstractExporterStoreExceptionprotected void endExportEnum()
throws StoreException
AbstractExporterendExportEnum in class AbstractExporterStoreExceptionprotected void endExportEnumNotPersisted()
throws StoreException
endExportEnumNotPersisted in class AbstractExporterStoreExceptionCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.