@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, setListener
public XmlExporter(IStore store) throws StoreException
StoreException
protected void open(File directory) throws StoreException
AbstractExporter
open
in class AbstractExporter
StoreException
protected void close() throws StoreException
AbstractExporter
close
in class AbstractExporter
StoreException
protected void closeWriterAfterError()
AbstractExporter
closeWriterAfterError
in class AbstractExporter
protected void beginExportVisit(String joafipRelease, int dataModelIdentifier, long lastRecordId) throws StoreException
AbstractExporter
beginExportVisit
in class AbstractExporter
StoreException
protected void endExportVisit() throws StoreException
AbstractExporter
endExportVisit
in class AbstractExporter
StoreException
protected void beginExportRoot() throws StoreException
AbstractExporter
beginExportRoot
in class AbstractExporter
StoreException
protected void endExportRoot() throws StoreException
AbstractExporter
endExportRoot
in class AbstractExporter
StoreException
protected void beginExportStaticField() throws StoreException
beginExportStaticField
in class AbstractExporter
StoreException
protected void endExportStaticField() throws StoreException
endExportStaticField
in class AbstractExporter
StoreException
protected void exportString(DataRecordIdentifier dataRecordIdentifier, String string) throws StoreException
AbstractExporter
exportString
in class AbstractExporter
string
- the string instanceStoreException
protected void exportString(int objectIdentifier, String string) throws StoreException
AbstractExporter
exportString
in class AbstractExporter
string
- the string instanceStoreException
protected void beginExportStatic(DataRecordIdentifier objectDataRecordIdentifier, ClassInfo objectClassInfo) throws StoreException
beginExportStatic
in class AbstractExporter
StoreException
protected void endExportStatic() throws StoreException
endExportStatic
in class AbstractExporter
StoreException
protected void beginExportGeneric(DataRecordIdentifier objectDataRecordIdentifier, ClassInfo objectClassInfo) throws StoreException
AbstractExporter
beginExportGeneric
in class AbstractExporter
objectDataRecordIdentifier
- the object data record identifierobjectClassInfo
- the object class informationStoreException
protected void beginExportNotPersistedGeneric(int objectIdentifier, ClassInfo objectClassInfo) throws StoreException
AbstractExporter
beginExportNotPersistedGeneric
in class AbstractExporter
objectIdentifier
- the object data record identifierobjectClassInfo
- the object class informationStoreException
protected void endExportGeneric() throws StoreException
AbstractExporter
endExportGeneric
in class AbstractExporter
StoreException
protected void endExportNotPersistedGeneric() throws StoreException
AbstractExporter
endExportNotPersistedGeneric
in class AbstractExporter
StoreException
protected void beginExportField(String fieldClassName, String fieldName, String fieldDeclaringClassName, boolean staticField, boolean transientField) throws StoreException
AbstractExporter
beginExportField
in class AbstractExporter
fieldClassName
- the field class namefieldName
- the field namefieldDeclaringClassName
- the field declaring class nameStoreException
protected void endExportField() throws StoreException
AbstractExporter
endExportField
in class AbstractExporter
StoreException
protected void exportNullReference() throws StoreException
AbstractExporter
exportNullReference
in class AbstractExporter
StoreException
protected void exportBasicValue(Object value) throws StoreException
AbstractExporter
exportBasicValue
in class AbstractExporter
value
- the value to exportStoreException
protected void exportReference(DataRecordIdentifier dataRecordIdentifier) throws StoreException
AbstractExporter
exportReference
in class AbstractExporter
dataRecordIdentifier
- the data record identifier as referenceStoreException
protected void exportNotPersistedReference(int objectIdentifier) throws StoreException
AbstractExporter
exportNotPersistedReference
in class AbstractExporter
objectIdentifier
- the not persisted object identifierStoreException
protected void beginExportArray(DataRecordIdentifier arrayDataRecordIdentifier, int arrayLength, ClassInfo arrayClassInfo) throws StoreException
AbstractExporter
beginExportArray
in class AbstractExporter
arrayDataRecordIdentifier
- the array instance data record identifierarrayLength
- the array lengtharrayClassInfo
- the array component class informationStoreException
protected void beginExportArrayNotPersisted(int arrayIdentifier, int arrayLength, ClassInfo arrayComponentClassInfo) throws StoreException
beginExportArrayNotPersisted
in class AbstractExporter
StoreException
protected void endExportArray() throws StoreException
AbstractExporter
endExportArray
in class AbstractExporter
StoreException
protected void endExportArrayNotPersisted() throws StoreException
endExportArrayNotPersisted
in class AbstractExporter
StoreException
protected void beginExportEnum(DataRecordIdentifier objectDataRecordIdentifier, ClassInfo objectClassInfo, Enum<?> enumInstance) throws StoreException
AbstractExporter
beginExportEnum
in class AbstractExporter
objectDataRecordIdentifier
- the enum instance data record identifierobjectClassInfo
- the enum class informationenumInstance
- the enumStoreException
protected void beginExportEnumNotPersisted(int enumIdentifier, ClassInfo enumClassInfo, Enum<?> enumInstance) throws StoreException
beginExportEnumNotPersisted
in class AbstractExporter
StoreException
protected void endExportEnum() throws StoreException
AbstractExporter
endExportEnum
in class AbstractExporter
StoreException
protected void endExportEnumNotPersisted() throws StoreException
endExportEnumNotPersisted
in class AbstractExporter
StoreException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.