Package com._1c.g5.v8.dt.binary.resource
Class BinaryBmExporter
- java.lang.Object
-
- com._1c.g5.v8.dt.binary.resource.BinaryBmExporter
-
- All Implemented Interfaces:
IBmObjectExporter
public class BinaryBmExporter extends Object implements IBmObjectExporter
BM-exporter for BinaryData.
-
-
Constructor Summary
Constructors Constructor Description BinaryBmExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canExport(IBmObject bmObject)
void
export(IBmModel model, IBmObject bmObject, org.eclipse.core.resources.IFile file, Collection<org.eclipse.core.resources.IFile> exportedExtraFiles)
Exports bmObjectvoid
removeExtraObjects(IBmObject bmObject, String oldFqn)
Removes extra objects prior exporting of a new (or only) external representation of the object.
-
-
-
Method Detail
-
canExport
public boolean canExport(IBmObject bmObject)
- Specified by:
canExport
in interfaceIBmObjectExporter
- Parameters:
bmObject
- the object form Big Model (notnull
)- Returns:
- true if this implementation can handle object serialization, false otherwise
-
export
public void export(IBmModel model, IBmObject bmObject, org.eclipse.core.resources.IFile file, Collection<org.eclipse.core.resources.IFile> exportedExtraFiles) throws org.eclipse.core.runtime.CoreException
Description copied from interface:IBmObjectExporter
Exports bmObject- Specified by:
export
in interfaceIBmObjectExporter
- Parameters:
model
- the model the exported object belongs to (notnull
)bmObject
- the object form Big Model (notnull
)file
- the output file (notnull
)exportedExtraFiles
- the collection where all the exported extra files must be placed (notnull
).- Throws:
org.eclipse.core.runtime.CoreException
-
removeExtraObjects
public void removeExtraObjects(IBmObject bmObject, String oldFqn)
Description copied from interface:IBmObjectExporter
Removes extra objects prior exporting of a new (or only) external representation of the object.- Specified by:
removeExtraObjects
in interfaceIBmObjectExporter
- Parameters:
bmObject
- the object form Big Model (notnull
)oldFqn
- Old object FQN, if any. May benull
-
-