Class ContentSwitch<T>
- java.lang.Object
- 
- org.eclipse.emf.ecore.util.Switch<T>
- 
- com._1c.g5.v8.dt.moxel.content.util.ContentSwitch<T>
 
 
- 
 public class ContentSwitch<T> extends org.eclipse.emf.ecore.util.Switch<T>The Switch for the model's inheritance hierarchy. It supports the calldoSwitch(object)to invoke thecaseXXXmethod for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.- See Also:
- ContentPackage
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static ContentPackagemodelPackageThe cached model package
 - 
Constructor SummaryConstructors Constructor Description ContentSwitch()Creates an instance of the switch.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TcaseArea(Area object)Returns the result of interpreting the object as an instance of 'Area'.TcaseBaseDrawingProperties(BaseDrawingProperties object)Returns the result of interpreting the object as an instance of 'Base Drawing Properties'.TcaseBaseDrawingWithBackgroundProperties(BaseDrawingWithBackgroundProperties object)Returns the result of interpreting the object as an instance of 'Base Drawing With Background Properties'.TcaseBaseFormattingCellProperties(BaseFormattingCellProperties object)Returns the result of interpreting the object as an instance of 'Base Formatting Cell Properties'.TcaseCellLine(CellLine object)Returns the result of interpreting the object as an instance of 'Cell Line'.TcaseCellReference(CellReference object)Returns the result of interpreting the object as an instance of 'Cell Reference'.TcaseCellsProperties(CellsProperties object)Returns the result of interpreting the object as an instance of 'Cells Properties'.TcaseColumnsProperties(ColumnsProperties object)Returns the result of interpreting the object as an instance of 'Columns Properties'.TcaseColumnsRowsProperties(ColumnsRowsProperties object)Returns the result of interpreting the object as an instance of 'Columns Rows Properties'.TcaseDcsDetailId(DcsDetailId object)Returns the result of interpreting the object as an instance of 'Dcs Detail Id'.TcaseDrawingLine(DrawingLine object)Returns the result of interpreting the object as an instance of 'Drawing Line'.TcaseEllipseDrawingProperties(EllipseDrawingProperties object)Returns the result of interpreting the object as an instance of 'Ellipse Drawing Properties'.TcaseGroupDrawingProperties(GroupDrawingProperties object)Returns the result of interpreting the object as an instance of 'Group Drawing Properties'.TcaseLineDrawingProperties(LineDrawingProperties object)Returns the result of interpreting the object as an instance of 'Line Drawing Properties'.TcaseLocalString(LocalString object)Returns the result of interpreting the object as an instance of 'Local String'.TcasePictureDrawingProperties(PictureDrawingProperties object)Returns the result of interpreting the object as an instance of 'Picture Drawing Properties'.TcaseRectangleDrawingProperties(RectangleDrawingProperties object)Returns the result of interpreting the object as an instance of 'Rectangle Drawing Properties'.TcaseRowsProperties(RowsProperties object)Returns the result of interpreting the object as an instance of 'Rows Properties'.TcaseSpreadsheetLine(SpreadsheetLine object)Returns the result of interpreting the object as an instance of 'Spreadsheet Line'.TcaseSpreadsheetProperties(SpreadsheetProperties object)Returns the result of interpreting the object as an instance of 'Spreadsheet Properties'.TcaseTableProperties(TableProperties object)Returns the result of interpreting the object as an instance of 'Table Properties'.TcaseTextDrawingProperties(TextDrawingProperties object)Returns the result of interpreting the object as an instance of 'Text Drawing Properties'.TdefaultCase(org.eclipse.emf.ecore.EObject object)Returns the result of interpreting the object as an instance of 'EObject'.protected TdoSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.protected booleanisSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)Checks whether this is a switch for the given package.
 
- 
- 
- 
Field Detail- 
modelPackageprotected static ContentPackage modelPackage The cached model package
 
- 
 - 
Method Detail- 
isSwitchForprotected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this is a switch for the given package.- Specified by:
- isSwitchForin class- org.eclipse.emf.ecore.util.Switch<T>
- Parameters:
- ePackage- the package in question.
- Returns:
- whether this is a switch for the given package.
 
 - 
doSwitchprotected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject) CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.- Overrides:
- doSwitchin class- org.eclipse.emf.ecore.util.Switch<T>
- Returns:
- the first non-null result returned by a caseXXXcall.
 
 - 
caseSpreadsheetLinepublic T caseSpreadsheetLine(SpreadsheetLine object) Returns the result of interpreting the object as an instance of 'Spreadsheet Line'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Spreadsheet Line'.
- See Also:
- doSwitch(EObject)
 
 - 
caseCellLinepublic T caseCellLine(CellLine object) Returns the result of interpreting the object as an instance of 'Cell Line'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Cell Line'.
- See Also:
- doSwitch(EObject)
 
 - 
caseDrawingLinepublic T caseDrawingLine(DrawingLine object) Returns the result of interpreting the object as an instance of 'Drawing Line'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Drawing Line'.
- See Also:
- doSwitch(EObject)
 
 - 
caseLocalStringpublic T caseLocalString(LocalString object) Returns the result of interpreting the object as an instance of 'Local String'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Local String'.
- See Also:
- doSwitch(EObject)
 
 - 
caseAreapublic T caseArea(Area object) Returns the result of interpreting the object as an instance of 'Area'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Area'.
- See Also:
- doSwitch(EObject)
 
 - 
caseSpreadsheetPropertiespublic T caseSpreadsheetProperties(SpreadsheetProperties object) Returns the result of interpreting the object as an instance of 'Spreadsheet Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Spreadsheet Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseCellReferencepublic T caseCellReference(CellReference object) Returns the result of interpreting the object as an instance of 'Cell Reference'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Cell Reference'.
- See Also:
- doSwitch(EObject)
 
 - 
caseBaseFormattingCellPropertiespublic T caseBaseFormattingCellProperties(BaseFormattingCellProperties object) Returns the result of interpreting the object as an instance of 'Base Formatting Cell Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Base Formatting Cell Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseCellsPropertiespublic T caseCellsProperties(CellsProperties object) Returns the result of interpreting the object as an instance of 'Cells Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Cells Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseColumnsRowsPropertiespublic T caseColumnsRowsProperties(ColumnsRowsProperties object) Returns the result of interpreting the object as an instance of 'Columns Rows Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Columns Rows Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseColumnsPropertiespublic T caseColumnsProperties(ColumnsProperties object) Returns the result of interpreting the object as an instance of 'Columns Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Columns Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseRowsPropertiespublic T caseRowsProperties(RowsProperties object) Returns the result of interpreting the object as an instance of 'Rows Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Rows Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseTablePropertiespublic T caseTableProperties(TableProperties object) Returns the result of interpreting the object as an instance of 'Table Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Table Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseBaseDrawingPropertiespublic T caseBaseDrawingProperties(BaseDrawingProperties object) Returns the result of interpreting the object as an instance of 'Base Drawing Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Base Drawing Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseLineDrawingPropertiespublic T caseLineDrawingProperties(LineDrawingProperties object) Returns the result of interpreting the object as an instance of 'Line Drawing Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Line Drawing Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseBaseDrawingWithBackgroundPropertiespublic T caseBaseDrawingWithBackgroundProperties(BaseDrawingWithBackgroundProperties object) Returns the result of interpreting the object as an instance of 'Base Drawing With Background Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Base Drawing With Background Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseRectangleDrawingPropertiespublic T caseRectangleDrawingProperties(RectangleDrawingProperties object) Returns the result of interpreting the object as an instance of 'Rectangle Drawing Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Rectangle Drawing Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseTextDrawingPropertiespublic T caseTextDrawingProperties(TextDrawingProperties object) Returns the result of interpreting the object as an instance of 'Text Drawing Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Text Drawing Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseEllipseDrawingPropertiespublic T caseEllipseDrawingProperties(EllipseDrawingProperties object) Returns the result of interpreting the object as an instance of 'Ellipse Drawing Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Ellipse Drawing Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseGroupDrawingPropertiespublic T caseGroupDrawingProperties(GroupDrawingProperties object) Returns the result of interpreting the object as an instance of 'Group Drawing Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Group Drawing Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
casePictureDrawingPropertiespublic T casePictureDrawingProperties(PictureDrawingProperties object) Returns the result of interpreting the object as an instance of 'Picture Drawing Properties'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Picture Drawing Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseDcsDetailIdpublic T caseDcsDetailId(DcsDetailId object) Returns the result of interpreting the object as an instance of 'Dcs Detail Id'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'Dcs Detail Id'.
- See Also:
- doSwitch(EObject)
 
 - 
defaultCasepublic T defaultCase(org.eclipse.emf.ecore.EObject object) Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Overrides:
- defaultCasein class- org.eclipse.emf.ecore.util.Switch<T>
- Parameters:
- object- the target of the switch.
- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
- Switch.doSwitch(org.eclipse.emf.ecore.EObject)
 
 
- 
 
-