Package org.apache.poi.common
Interface Duplicatable
-
- All Known Implementing Classes:
AbstractEscherHolderRecord
,AbstractEscherOptRecord
,AbstractFunctionPtg
,AddPtg
,AgileEncryptionHeader
,AgileEncryptionVerifier
,Area2DPtgBase
,Area3DPtg
,Area3DPxg
,AreaErrPtg
,AreaFormatRecord
,AreaNPtg
,AreaPtg
,AreaPtgBase
,AreaRecord
,ArrayPtg
,ArrayRecord
,AttrPtg
,AutoFilterInfoRecord
,AxisLineFormatRecord
,AxisOptionsRecord
,AxisParentRecord
,AxisRecord
,AxisUsedRecord
,BackupRecord
,BarRecord
,BeginRecord
,BinaryRC4EncryptionHeader
,BinaryRC4EncryptionVerifier
,BlankRecord
,BOFRecord
,BookBoolRecord
,BookExtRecord
,BoolErrRecord
,BoolPtg
,BorderFormatting
,BottomMarginRecord
,BoundSheetRecord
,CalcCountRecord
,CalcModeRecord
,CategorySeriesAxisRecord
,CatLabRecord
,CellRangeAddress
,CellRangeAddress8Bit
,CellRangeAddressBase
,CellRecord
,CFHeader12Record
,CFHeaderBase
,CFHeaderRecord
,CFRule12Record
,CFRuleBase
,CFRuleRecord
,Chart3DBarShapeRecord
,Chart3DRecord
,ChartEndBlockRecord
,ChartEndObjectRecord
,ChartFormatRecord
,ChartFRTInfoRecord
,ChartRecord
,ChartStartBlockRecord
,ChartStartObjectRecord
,ChartTitleFormatRecord
,ClassID
,CodepageRecord
,ColorGradientFormatting
,ColorGradientThreshold
,ColumnInfoRecord
,ColumnInfoRecordsAggregate
,CommonObjectDataSubRecord
,Compat12Record
,CompressPicturesRecord
,ConcatPtg
,ContinuableRecord
,ContinueRecord
,ControlPtg
,CountryRecord
,CRNCountRecord
,CRNRecord
,CryptoAPIEncryptionHeader
,CryptoAPIEncryptionVerifier
,DataBarFormatting
,DataBarThreshold
,DataFormatRecord
,DataItemRecord
,DataLabelExtensionRecord
,DateWindow1904Record
,DatRecord
,DBCellRecord
,DConRefRecord
,DefaultColWidthRecord
,DefaultDataLabelTextPropertiesRecord
,DefaultRowHeightRecord
,DeferredNamePtg
,Deleted3DPxg
,DeletedArea3DPtg
,DeletedRef3DPtg
,DeltaRecord
,DimensionsRecord
,DividePtg
,DrawingGroupRecord
,DrawingRecord
,DrawingRecordForBiffViewer
,DrawingSelectionRecord
,DSFRecord
,DVALRecord
,DVRecord
,EmbeddedObjectRefSubRecord
,EncryptionHeader
,EncryptionVerifier
,EndRecord
,EndSubRecord
,EOFRecord
,EqualPtg
,ErrPtg
,EscherAggregate
,EscherBitmapBlip
,EscherBlipRecord
,EscherBSERecord
,EscherChildAnchorRecord
,EscherClientAnchorRecord
,EscherClientDataRecord
,EscherContainerRecord
,EscherDggRecord
,EscherDgRecord
,EscherMetafileBlip
,EscherOptRecord
,EscherRecord
,EscherSpgrRecord
,EscherSplitMenuColorsRecord
,EscherSpRecord
,EscherTertiaryOptRecord
,EscherTextboxRecord
,ExpPtg
,ExtendedColor
,ExtendedFormatRecord
,ExtendedPivotTableViewFieldsRecord
,ExternalNameRecord
,ExternSheetRecord
,ExtSSTRecord
,FeatHdrRecord
,FeatRecord
,FilePassRecord
,FileSharingRecord
,FnGroupCountRecord
,FontBasisRecord
,FontFormatting
,FontIndexRecord
,FontRecord
,FooterRecord
,ForceFullCalculationRecord
,FormatRecord
,FormulaRecord
,FrameRecord
,FtCblsSubRecord
,FtCfSubRecord
,FtPioGrbitSubRecord
,FtrHeader
,FuncPtg
,FuncVarPtg
,GreaterEqualPtg
,GreaterThanPtg
,GridsetRecord
,GroupMarkerSubRecord
,GutsRecord
,HCenterRecord
,HeaderFooterBase
,HeaderFooterRecord
,HeaderRecord
,HideObjRecord
,HorizontalPageBreakRecord
,HSSFCellStyle
,HSSFHyperlink
,HyperlinkRecord
,IconMultiStateFormatting
,IconMultiStateThreshold
,IndexRecord
,Insets2D
,InterfaceEndRecord
,InterfaceHdrRecord
,IntersectionPtg
,IntMapper
,IntPtg
,IterationRecord
,LabelRecord
,LabelSSTRecord
,LastCellOfRowDummyRecord
,LbsDataSubRecord
,LbsDataSubRecord.LbsDropData
,LeftMarginRecord
,LegendRecord
,LessEqualPtg
,LessThanPtg
,LineFormatRecord
,LineRecord
,LinkedDataRecord
,MemAreaPtg
,MemErrPtg
,MemFuncPtg
,MergeCellsRecord
,MissingArgPtg
,MissingCellDummyRecord
,MissingRowDummyRecord
,MMSRecord
,MTRSettingsRecord
,MulBlankRecord
,MulRKRecord
,MultiplyPtg
,NameCommentRecord
,NamePtg
,NameRecord
,NameXPtg
,NameXPxg
,NotEqualPtg
,NoteRecord
,NoteStructureSubRecord
,NumberFormatIndexRecord
,NumberPtg
,NumberRecord
,ObjectLinkRecord
,ObjectProtectRecord
,ObjRecord
,OperandPtg
,OperationPtg
,PageBreakRecord
,PageItemRecord
,PaletteRecord
,PaneRecord
,Parenthesis2Ptg
,ParenthesisPtg
,PasswordRecord
,PasswordRev4Record
,PatternFormatting
,PercentPtg
,PieFormatRecord
,PieRecord
,PlotAreaRecord
,PlotGrowthRecord
,PLVRecord
,PowerPtg
,PrecisionRecord
,PrintGridlinesRecord
,PrintHeadersRecord
,PrintSetupRecord
,ProtectionRev4Record
,ProtectRecord
,Ptg
,RangePtg
,RecalcIdRecord
,Record
,Ref3DPtg
,Ref3DPxg
,RefErrorPtg
,RefModeRecord
,RefNPtg
,RefPtg
,RefPtgBase
,RefreshAllRecord
,RightMarginRecord
,RKRecord
,RowRecord
,SaveRecalcRecord
,ScalarConstantPtg
,ScatterRecord
,ScenarioProtectRecord
,SCLRecord
,SelectionRecord
,SeriesChartGroupIndexRecord
,SeriesIndexRecord
,SeriesLabelsRecord
,SeriesListRecord
,SeriesRecord
,SeriesTextRecord
,SharedFormulaRecord
,SharedValueRecordBase
,SheetPropertiesRecord
,SSTRecord
,StandardEncryptionHeader
,StandardEncryptionVerifier
,StandardRecord
,StreamIDRecord
,StringPtg
,StringRecord
,StyleExtRecord
,StyleRecord
,SubRecord
,SubtractPtg
,SupBookRecord
,TabIdRecord
,TablePtg
,TableRecord
,TableStylesRecord
,TblPtg
,TextObjectRecord
,TextRecord
,ThemeRecord
,TickRecord
,TopMarginRecord
,UnaryMinusPtg
,UnaryPlusPtg
,UncalcedRecord
,UnicodeString
,UnionPtg
,UnitsRecord
,UnknownEscherRecord
,UnknownPtg
,UnknownRecord
,UserSViewBegin
,UserSViewEnd
,UseSelFSRecord
,ValueOperatorPtg
,ValueRangeRecord
,VCenterRecord
,VerticalPageBreakRecord
,ViewDefinitionRecord
,ViewFieldsRecord
,ViewSourceRecord
,WindowOneRecord
,WindowProtectRecord
,WindowTwoRecord
,WriteAccessRecord
,WriteProtectRecord
,WSBoolRecord
,XFCrcRecord
,XFExtRecord
,XOREncryptionHeader
,XOREncryptionVerifier
,org.apache.poi.xssf.usermodel.XSSFCellStyle
,XSSFDxfCellStyle
public interface Duplicatable
This is an alternative to theCloneable
interface without its side-effects. A class implementing Duplicatable provides a deep-copy of itself - usually this is done via a copy-constructor, which is invoked with a self-reference by the copy method. References to child objects are duplicated - references to parents are kept as-is and might need to be replaced by the parent copy operation.- See Also:
- Copy Constructor versus Cloning
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Duplicatable
copy()
-
-
-
Method Detail
-
copy
Duplicatable copy()
- Returns:
- a deep copy of the implementing class / instance
-
-