Package com.pnfsoftware.jeb.core.output
Class AbstractTransientUnitRepresentation
java.lang.Object
com.pnfsoftware.jeb.core.output.AbstractUnitRepresentation
com.pnfsoftware.jeb.core.output.AbstractTransientUnitRepresentation
- All Implemented Interfaces:
IUnitDocumentPresentation
Base class for transient unit representations, which are not serialized.
-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.output.IUnitDocumentPresentation
DOC_ID_DISASSEMBLY
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractTransientUnitRepresentation
(long id, String label, boolean defaultRepresentation) AbstractTransientUnitRepresentation
(String label, boolean defaultRepresentation) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IGenericDocument
void
dispose()
Dispose this presentation.Get a document.Methods inherited from class com.pnfsoftware.jeb.core.output.AbstractUnitRepresentation
getId, getLabel, isDefaultRepresentation, toString
-
Constructor Details
-
AbstractTransientUnitRepresentation
-
AbstractTransientUnitRepresentation
-
AbstractTransientUnitRepresentation
-
-
Method Details
-
getDocument
Description copied from interface:IUnitDocumentPresentation
Get a document. It is implementation-dependent whether the document is a freshly created or a singleton provided by the presentation.- Returns:
- the document
-
createDocument
-
dispose
public void dispose()Description copied from interface:IUnitDocumentPresentation
Dispose this presentation. All created documents held in the presentation shall be destroyed. This method is a fail-safe, calling it is not good practice. Good practice is to let the code that created a document dispose of it.
-