public class SvgSwitch<T1>
extends org.eclipse.emf.ecore.util.Switch<T1>
doSwitch(object)
to invoke the caseXXX
method 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.
SvgPackage
Modifier and Type | Field and Description |
---|---|
protected static SvgPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
SvgSwitch()
Creates an instance of the switch
|
Modifier and Type | Method and Description |
---|---|
T1 |
case____ATTRIBUTES____(____ATTRIBUTES____ object)
Returns the result of interpreting the object as an instance of 'ATTRIBUTES '
|
T1 |
case____DATATYPES____(____DATATYPES____ object)
Returns the result of interpreting the object as an instance of 'DATATYPES '
|
T1 |
case____ELEMENTES____(____ELEMENTES____ object)
Returns the result of interpreting the object as an instance of 'ELEMENTES '
|
T1 |
case____ENUMS____(____ENUMS____ object)
Returns the result of interpreting the object as an instance of 'ENUMS '
|
T1 |
caseAnimationElement(AnimationElement object)
Returns the result of interpreting the object as an instance of 'Animation Element'
|
T1 |
caseBasicShapeElement(BasicShapeElement object)
Returns the result of interpreting the object as an instance of 'Basic Shape Element'
|
T1 |
caseConditionalProcessingAttributes(ConditionalProcessingAttributes object)
Returns the result of interpreting the object as an instance of 'Conditional Processing Attributes'
|
<T extends SvgElement> |
caseContainerElement(ContainerElement<T> object)
Returns the result of interpreting the object as an instance of 'Container Element'
|
<T extends SvgElement> |
caseContentElement(ContentElement<T> object)
Returns the result of interpreting the object as an instance of 'Content Element'
|
T1 |
caseCoreAttributes(CoreAttributes object)
Returns the result of interpreting the object as an instance of 'Core Attributes'
|
T1 |
caseDescriptiveElement(DescriptiveElement object)
Returns the result of interpreting the object as an instance of 'Descriptive Element'
|
T1 |
caseDocumentEventAttributes(DocumentEventAttributes object)
Returns the result of interpreting the object as an instance of 'Document Event Attributes'
|
T1 |
caseFilterPrimitiveAttributes(FilterPrimitiveAttributes object)
Returns the result of interpreting the object as an instance of 'Filter Primitive Attributes'
|
T1 |
caseFilterPrimitiveElement(FilterPrimitiveElement object)
Returns the result of interpreting the object as an instance of 'Filter Primitive Element'
|
T1 |
caseGradientElement(GradientElement object)
Returns the result of interpreting the object as an instance of 'Gradient Element'
|
T1 |
caseGraphicalEventAttributes(GraphicalEventAttributes object)
Returns the result of interpreting the object as an instance of 'Graphical Event Attributes'
|
T1 |
caseGraphicsElement(GraphicsElement object)
Returns the result of interpreting the object as an instance of 'Graphics Element'
|
T1 |
caseGraphicsReferencingElement(GraphicsReferencingElement object)
Returns the result of interpreting the object as an instance of 'Graphics Referencing Element'
|
T1 |
caseLightSourceElement(LightSourceElement object)
Returns the result of interpreting the object as an instance of 'Light Source Element'
|
T1 |
casePresentationAttributes(PresentationAttributes object)
Returns the result of interpreting the object as an instance of 'Presentation Attributes'
|
T1 |
caseShapeElement(ShapeElement object)
Returns the result of interpreting the object as an instance of 'Shape Element'
|
T1 |
caseStructuralElement(StructuralElement object)
Returns the result of interpreting the object as an instance of 'Structural Element'
|
T1 |
caseSvgAltGlyphDefElement(SvgAltGlyphDefElement object)
Returns the result of interpreting the object as an instance of 'Alt Glyph Def Element'
|
T1 |
caseSvgAltGlyphElement(SvgAltGlyphElement object)
Returns the result of interpreting the object as an instance of 'Alt Glyph Element'
|
T1 |
caseSvgAltGlyphItemElement(SvgAltGlyphItemElement object)
Returns the result of interpreting the object as an instance of 'Alt Glyph Item Element'
|
T1 |
caseSvgAltGlyphRefElement(SvgAltGlyphRefElement object)
Returns the result of interpreting the object as an instance of 'Alt Glyph Ref Element'
|
T1 |
caseSvgAnimateElement(SvgAnimateElement object)
Returns the result of interpreting the object as an instance of 'Animate Element'
|
T1 |
caseSvgCircleElement(SvgCircleElement object)
Returns the result of interpreting the object as an instance of 'Circle Element'
|
T1 |
caseSvgClipPathElement(SvgClipPathElement object)
Returns the result of interpreting the object as an instance of 'Clip Path Element'
|
T1 |
caseSvgColorProfileElement(SvgColorProfileElement object)
Returns the result of interpreting the object as an instance of 'Color Profile Element'
|
T1 |
caseSvgDefsElement(SvgDefsElement object)
Returns the result of interpreting the object as an instance of 'Defs Element'
|
T1 |
caseSvgDescElement(SvgDescElement object)
Returns the result of interpreting the object as an instance of 'Desc Element'
|
T1 |
caseSvgElement(SvgElement object)
Returns the result of interpreting the object as an instance of 'Element'
|
T1 |
caseSvgEllipseElement(SvgEllipseElement object)
Returns the result of interpreting the object as an instance of 'Ellipse Element'
|
T1 |
caseSvgFeBlendElement(SvgFeBlendElement object)
Returns the result of interpreting the object as an instance of 'Fe Blend Element'
|
T1 |
caseSvgFeColorMatrixElement(SvgFeColorMatrixElement object)
Returns the result of interpreting the object as an instance of 'Fe Color Matrix Element'
|
T1 |
caseSvgFeComponentTransferElement(SvgFeComponentTransferElement object)
Returns the result of interpreting the object as an instance of 'Fe Component Transfer Element'
|
T1 |
caseSvgFeCompositeElement(SvgFeCompositeElement object)
Returns the result of interpreting the object as an instance of 'Fe Composite Element'
|
T1 |
caseSvgFeConvolveMatrixElement(SvgFeConvolveMatrixElement object)
Returns the result of interpreting the object as an instance of 'Fe Convolve Matrix Element'
|
T1 |
caseSvgFeDiffuseLightingElement(SvgFeDiffuseLightingElement object)
Returns the result of interpreting the object as an instance of 'Fe Diffuse Lighting Element'
|
T1 |
caseSvgFeDisplacementMapElement(SvgFeDisplacementMapElement object)
Returns the result of interpreting the object as an instance of 'Fe Displacement Map Element'
|
T1 |
caseSvgFeDistantLightElement(SvgFeDistantLightElement object)
Returns the result of interpreting the object as an instance of 'Fe Distant Light Element'
|
T1 |
caseSvgFeFloodElement(SvgFeFloodElement object)
Returns the result of interpreting the object as an instance of 'Fe Flood Element'
|
T1 |
caseSvgFeFuncAElement(SvgFeFuncAElement object)
Returns the result of interpreting the object as an instance of 'Fe Func AElement'
|
T1 |
caseSvgFeFuncBElement(SvgFeFuncBElement object)
Returns the result of interpreting the object as an instance of 'Fe Func BElement'
|
T1 |
caseSvgFeFuncGElement(SvgFeFuncGElement object)
Returns the result of interpreting the object as an instance of 'Fe Func GElement'
|
T1 |
caseSvgFeFuncRElement(SvgFeFuncRElement object)
Returns the result of interpreting the object as an instance of 'Fe Func RElement'
|
T1 |
caseSvgFeGaussianBlurElement(SvgFeGaussianBlurElement object)
Returns the result of interpreting the object as an instance of 'Fe Gaussian Blur Element'
|
T1 |
caseSvgFeImageElement(SvgFeImageElement object)
Returns the result of interpreting the object as an instance of 'Fe Image Element'
|
T1 |
caseSvgFeMergeElement(SvgFeMergeElement object)
Returns the result of interpreting the object as an instance of 'Fe Merge Element'
|
T1 |
caseSvgFeMergeNodeElement(SvgFeMergeNodeElement object)
Returns the result of interpreting the object as an instance of 'Fe Merge Node Element'
|
T1 |
caseSvgFeMorphologyElement(SvgFeMorphologyElement object)
Returns the result of interpreting the object as an instance of 'Fe Morphology Element'
|
T1 |
caseSvgFeOffsetElement(SvgFeOffsetElement object)
Returns the result of interpreting the object as an instance of 'Fe Offset Element'
|
T1 |
caseSvgFePointLightElement(SvgFePointLightElement object)
Returns the result of interpreting the object as an instance of 'Fe Point Light Element'
|
T1 |
caseSvgFeSpecularLightingElement(SvgFeSpecularLightingElement object)
Returns the result of interpreting the object as an instance of 'Fe Specular Lighting Element'
|
T1 |
caseSvgFeSpotLightElement(SvgFeSpotLightElement object)
Returns the result of interpreting the object as an instance of 'Fe Spot Light Element'
|
T1 |
caseSvgFeTileElement(SvgFeTileElement object)
Returns the result of interpreting the object as an instance of 'Fe Tile Element'
|
T1 |
caseSvgFeTurbulenceElement(SvgFeTurbulenceElement object)
Returns the result of interpreting the object as an instance of 'Fe Turbulence Element'
|
T1 |
caseSvgFilterElement(SvgFilterElement object)
Returns the result of interpreting the object as an instance of 'Filter Element'
|
T1 |
caseSvgGElement(SvgGElement object)
Returns the result of interpreting the object as an instance of 'GElement'
|
T1 |
caseSvgImageElement(SvgImageElement object)
Returns the result of interpreting the object as an instance of 'Image Element'
|
T1 |
caseSvgLinearGradientElement(SvgLinearGradientElement object)
Returns the result of interpreting the object as an instance of 'Linear Gradient Element'
|
T1 |
caseSvgLineElement(SvgLineElement object)
Returns the result of interpreting the object as an instance of 'Line Element'
|
T1 |
caseSvgMarkerElement(SvgMarkerElement object)
Returns the result of interpreting the object as an instance of 'Marker Element'
|
T1 |
caseSvgMaskElement(SvgMaskElement object)
Returns the result of interpreting the object as an instance of 'Mask Element'
|
T1 |
caseSvgMetadataElement(SvgMetadataElement object)
Returns the result of interpreting the object as an instance of 'Metadata Element'
|
T1 |
caseSvgPathElement(SvgPathElement object)
Returns the result of interpreting the object as an instance of 'Path Element'
|
T1 |
caseSvgPatternElement(SvgPatternElement object)
Returns the result of interpreting the object as an instance of 'Pattern Element'
|
T1 |
caseSvgPolygonElement(SvgPolygonElement object)
Returns the result of interpreting the object as an instance of 'Polygon Element'
|
T1 |
caseSvgPolylineElement(SvgPolylineElement object)
Returns the result of interpreting the object as an instance of 'Polyline Element'
|
T1 |
caseSvgRadialGradientElement(SvgRadialGradientElement object)
Returns the result of interpreting the object as an instance of 'Radial Gradient Element'
|
T1 |
caseSvgRectElement(SvgRectElement object)
Returns the result of interpreting the object as an instance of 'Rect Element'
|
T1 |
caseSvgStopElement(SvgStopElement object)
Returns the result of interpreting the object as an instance of 'Stop Element'
|
T1 |
caseSvgSvgElement(SvgSvgElement object)
Returns the result of interpreting the object as an instance of 'Svg Element'
|
T1 |
caseSvgSwitchElement(SvgSwitchElement object)
Returns the result of interpreting the object as an instance of 'Switch Element'
|
T1 |
caseSvgSymbolElement(SvgSymbolElement object)
Returns the result of interpreting the object as an instance of 'Symbol Element'
|
T1 |
caseSvgTextElement(SvgTextElement object)
Returns the result of interpreting the object as an instance of 'Text Element'
|
T1 |
caseSvgTextPathElement(SvgTextPathElement object)
Returns the result of interpreting the object as an instance of 'Text Path Element'
|
T1 |
caseSvgTitleElement(SvgTitleElement object)
Returns the result of interpreting the object as an instance of 'Title Element'
|
T1 |
caseSvgTrefElement(SvgTrefElement object)
Returns the result of interpreting the object as an instance of 'Tref Element'
|
T1 |
caseSvgTspanElement(SvgTspanElement object)
Returns the result of interpreting the object as an instance of 'Tspan Element'
|
T1 |
caseSvgUseElement(SvgUseElement object)
Returns the result of interpreting the object as an instance of 'Use Element'
|
T1 |
caseTextContentChildElement(TextContentChildElement object)
Returns the result of interpreting the object as an instance of 'Text Content Child Element'
|
T1 |
caseTextContentElement(TextContentElement object)
Returns the result of interpreting the object as an instance of 'Text Content Element'
|
T1 |
caseXLinkAttributes(XLinkAttributes object)
Returns the result of interpreting the object as an instance of 'XLink Attributes'
|
T1 |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'
|
protected T1 |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package
|
protected static SvgPackage modelPackage
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T1>
protected T1 doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class org.eclipse.emf.ecore.util.Switch<T1>
caseXXX
call.public <T extends SvgElement> T1 caseContentElement(ContentElement<T> object)
object
- the target of the switch.doSwitch(EObject)
public <T extends SvgElement> T1 caseContainerElement(ContainerElement<T> object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseStructuralElement(StructuralElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgElement(SvgElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseDescriptiveElement(DescriptiveElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseGraphicsElement(GraphicsElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseGraphicsReferencingElement(GraphicsReferencingElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseShapeElement(ShapeElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseBasicShapeElement(BasicShapeElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseTextContentElement(TextContentElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseTextContentChildElement(TextContentChildElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseGradientElement(GradientElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseLightSourceElement(LightSourceElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseFilterPrimitiveElement(FilterPrimitiveElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseAnimationElement(AnimationElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 case____ENUMS____(____ENUMS____ object)
object
- the target of the switch.doSwitch(EObject)
public T1 case____DATATYPES____(____DATATYPES____ object)
object
- the target of the switch.doSwitch(EObject)
public T1 case____ATTRIBUTES____(____ATTRIBUTES____ object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseConditionalProcessingAttributes(ConditionalProcessingAttributes object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseCoreAttributes(CoreAttributes object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseDocumentEventAttributes(DocumentEventAttributes object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseGraphicalEventAttributes(GraphicalEventAttributes object)
object
- the target of the switch.doSwitch(EObject)
public T1 casePresentationAttributes(PresentationAttributes object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseXLinkAttributes(XLinkAttributes object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseFilterPrimitiveAttributes(FilterPrimitiveAttributes object)
object
- the target of the switch.doSwitch(EObject)
public T1 case____ELEMENTES____(____ELEMENTES____ object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgSvgElement(SvgSvgElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgGElement(SvgGElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgDefsElement(SvgDefsElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgDescElement(SvgDescElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgTitleElement(SvgTitleElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgSymbolElement(SvgSymbolElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgUseElement(SvgUseElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgImageElement(SvgImageElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgSwitchElement(SvgSwitchElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgPathElement(SvgPathElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgRectElement(SvgRectElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgCircleElement(SvgCircleElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgEllipseElement(SvgEllipseElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgLineElement(SvgLineElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgPolylineElement(SvgPolylineElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgPolygonElement(SvgPolygonElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgTextElement(SvgTextElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgTspanElement(SvgTspanElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgTrefElement(SvgTrefElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgTextPathElement(SvgTextPathElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgAltGlyphElement(SvgAltGlyphElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgAltGlyphDefElement(SvgAltGlyphDefElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgAltGlyphItemElement(SvgAltGlyphItemElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgAltGlyphRefElement(SvgAltGlyphRefElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgMarkerElement(SvgMarkerElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgColorProfileElement(SvgColorProfileElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgLinearGradientElement(SvgLinearGradientElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgRadialGradientElement(SvgRadialGradientElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgStopElement(SvgStopElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgPatternElement(SvgPatternElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgClipPathElement(SvgClipPathElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgMaskElement(SvgMaskElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFilterElement(SvgFilterElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeDistantLightElement(SvgFeDistantLightElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFePointLightElement(SvgFePointLightElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeSpotLightElement(SvgFeSpotLightElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeBlendElement(SvgFeBlendElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeColorMatrixElement(SvgFeColorMatrixElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeComponentTransferElement(SvgFeComponentTransferElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeFuncRElement(SvgFeFuncRElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeFuncGElement(SvgFeFuncGElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeFuncBElement(SvgFeFuncBElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeFuncAElement(SvgFeFuncAElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeCompositeElement(SvgFeCompositeElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeConvolveMatrixElement(SvgFeConvolveMatrixElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeDiffuseLightingElement(SvgFeDiffuseLightingElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeDisplacementMapElement(SvgFeDisplacementMapElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeFloodElement(SvgFeFloodElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeGaussianBlurElement(SvgFeGaussianBlurElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeImageElement(SvgFeImageElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeMergeElement(SvgFeMergeElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeMergeNodeElement(SvgFeMergeNodeElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeMorphologyElement(SvgFeMorphologyElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeOffsetElement(SvgFeOffsetElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeSpecularLightingElement(SvgFeSpecularLightingElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeTileElement(SvgFeTileElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgFeTurbulenceElement(SvgFeTurbulenceElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgAnimateElement(SvgAnimateElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseSvgMetadataElement(SvgMetadataElement object)
object
- the target of the switch.doSwitch(EObject)
public T1 defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T1>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)