|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.xsd.util.XSDSwitch
The Switch for the model's inheritance hierarchy.
It supports the call 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.
XSDPackage
Field Summary | |
protected static XSDPackage |
modelPackage
The cached model package |
Constructor Summary | |
XSDSwitch()
Creates an instance of the switch |
Method Summary | |
java.lang.Object |
caseXSDAnnotation(XSDAnnotation object)
Returns the result of interpretting the object as an instance of 'Annotation' |
java.lang.Object |
caseXSDAttributeDeclaration(XSDAttributeDeclaration object)
Returns the result of interpretting the object as an instance of 'Attribute Declaration' |
java.lang.Object |
caseXSDAttributeGroupContent(XSDAttributeGroupContent object)
Returns the result of interpretting the object as an instance of 'Attribute Group Content' |
java.lang.Object |
caseXSDAttributeGroupDefinition(XSDAttributeGroupDefinition object)
Returns the result of interpretting the object as an instance of 'Attribute Group Definition' |
java.lang.Object |
caseXSDAttributeUse(XSDAttributeUse object)
Returns the result of interpretting the object as an instance of 'Attribute Use' |
java.lang.Object |
caseXSDBoundedFacet(XSDBoundedFacet object)
Returns the result of interpretting the object as an instance of 'Bounded Facet' |
java.lang.Object |
caseXSDCardinalityFacet(XSDCardinalityFacet object)
Returns the result of interpretting the object as an instance of 'Cardinality Facet' |
java.lang.Object |
caseXSDComplexTypeContent(XSDComplexTypeContent object)
Returns the result of interpretting the object as an instance of 'Complex Type Content' |
java.lang.Object |
caseXSDComplexTypeDefinition(XSDComplexTypeDefinition object)
Returns the result of interpretting the object as an instance of 'Complex Type Definition' |
java.lang.Object |
caseXSDComponent(XSDComponent object)
Returns the result of interpretting the object as an instance of 'Component' |
java.lang.Object |
caseXSDConcreteComponent(XSDConcreteComponent object)
Returns the result of interpretting the object as an instance of 'Concrete Component' |
java.lang.Object |
caseXSDConstrainingFacet(XSDConstrainingFacet object)
Returns the result of interpretting the object as an instance of 'Constraining Facet' |
java.lang.Object |
caseXSDDiagnostic(XSDDiagnostic object)
Returns the result of interpretting the object as an instance of 'Diagnostic' |
java.lang.Object |
caseXSDElementDeclaration(XSDElementDeclaration object)
Returns the result of interpretting the object as an instance of 'Element Declaration' |
java.lang.Object |
caseXSDEnumerationFacet(XSDEnumerationFacet object)
Returns the result of interpretting the object as an instance of 'Enumeration Facet' |
java.lang.Object |
caseXSDFacet(XSDFacet object)
Returns the result of interpretting the object as an instance of 'Facet' |
java.lang.Object |
caseXSDFeature(XSDFeature object)
Returns the result of interpretting the object as an instance of 'Feature' |
java.lang.Object |
caseXSDFixedFacet(XSDFixedFacet object)
Returns the result of interpretting the object as an instance of 'Fixed Facet' |
java.lang.Object |
caseXSDFractionDigitsFacet(XSDFractionDigitsFacet object)
Returns the result of interpretting the object as an instance of 'Fraction Digits Facet' |
java.lang.Object |
caseXSDFundamentalFacet(XSDFundamentalFacet object)
Returns the result of interpretting the object as an instance of 'Fundamental Facet' |
java.lang.Object |
caseXSDIdentityConstraintDefinition(XSDIdentityConstraintDefinition object)
Returns the result of interpretting the object as an instance of 'Identity Constraint Definition' |
java.lang.Object |
caseXSDImport(XSDImport object)
Returns the result of interpretting the object as an instance of 'Import' |
java.lang.Object |
caseXSDInclude(XSDInclude object)
Returns the result of interpretting the object as an instance of 'Include' |
java.lang.Object |
caseXSDLengthFacet(XSDLengthFacet object)
Returns the result of interpretting the object as an instance of 'Length Facet' |
java.lang.Object |
caseXSDMaxExclusiveFacet(XSDMaxExclusiveFacet object)
Returns the result of interpretting the object as an instance of 'Max Exclusive Facet' |
java.lang.Object |
caseXSDMaxFacet(XSDMaxFacet object)
Returns the result of interpretting the object as an instance of 'Max Facet' |
java.lang.Object |
caseXSDMaxInclusiveFacet(XSDMaxInclusiveFacet object)
Returns the result of interpretting the object as an instance of 'Max Inclusive Facet' |
java.lang.Object |
caseXSDMaxLengthFacet(XSDMaxLengthFacet object)
Returns the result of interpretting the object as an instance of 'Max Length Facet' |
java.lang.Object |
caseXSDMinExclusiveFacet(XSDMinExclusiveFacet object)
Returns the result of interpretting the object as an instance of 'Min Exclusive Facet' |
java.lang.Object |
caseXSDMinFacet(XSDMinFacet object)
Returns the result of interpretting the object as an instance of 'Min Facet' |
java.lang.Object |
caseXSDMinInclusiveFacet(XSDMinInclusiveFacet object)
Returns the result of interpretting the object as an instance of 'Min Inclusive Facet' |
java.lang.Object |
caseXSDMinLengthFacet(XSDMinLengthFacet object)
Returns the result of interpretting the object as an instance of 'Min Length Facet' |
java.lang.Object |
caseXSDModelGroup(XSDModelGroup object)
Returns the result of interpretting the object as an instance of 'Model Group' |
java.lang.Object |
caseXSDModelGroupDefinition(XSDModelGroupDefinition object)
Returns the result of interpretting the object as an instance of 'Model Group Definition' |
java.lang.Object |
caseXSDNamedComponent(XSDNamedComponent object)
Returns the result of interpretting the object as an instance of 'Named Component' |
java.lang.Object |
caseXSDNotationDeclaration(XSDNotationDeclaration object)
Returns the result of interpretting the object as an instance of 'Notation Declaration' |
java.lang.Object |
caseXSDNumericFacet(XSDNumericFacet object)
Returns the result of interpretting the object as an instance of 'Numeric Facet' |
java.lang.Object |
caseXSDOrderedFacet(XSDOrderedFacet object)
Returns the result of interpretting the object as an instance of 'Ordered Facet' |
java.lang.Object |
caseXSDParticle(XSDParticle object)
Returns the result of interpretting the object as an instance of 'Particle' |
java.lang.Object |
caseXSDParticleContent(XSDParticleContent object)
Returns the result of interpretting the object as an instance of 'Particle Content' |
java.lang.Object |
caseXSDPatternFacet(XSDPatternFacet object)
Returns the result of interpretting the object as an instance of 'Pattern Facet' |
java.lang.Object |
caseXSDRedefinableComponent(XSDRedefinableComponent object)
Returns the result of interpretting the object as an instance of 'Redefinable Component' |
java.lang.Object |
caseXSDRedefine(XSDRedefine object)
Returns the result of interpretting the object as an instance of 'Redefine' |
java.lang.Object |
caseXSDRedefineContent(XSDRedefineContent object)
Returns the result of interpretting the object as an instance of 'Redefine Content' |
java.lang.Object |
caseXSDRepeatableFacet(XSDRepeatableFacet object)
Returns the result of interpretting the object as an instance of 'Repeatable Facet' |
java.lang.Object |
caseXSDSchema(XSDSchema object)
Returns the result of interpretting the object as an instance of 'Schema' |
java.lang.Object |
caseXSDSchemaCompositor(XSDSchemaCompositor object)
Returns the result of interpretting the object as an instance of 'Schema Compositor' |
java.lang.Object |
caseXSDSchemaContent(XSDSchemaContent object)
Returns the result of interpretting the object as an instance of 'Schema Content' |
java.lang.Object |
caseXSDSchemaDirective(XSDSchemaDirective object)
Returns the result of interpretting the object as an instance of 'Schema Directive' |
java.lang.Object |
caseXSDScope(XSDScope object)
Returns the result of interpretting the object as an instance of 'Scope' |
java.lang.Object |
caseXSDSimpleTypeDefinition(XSDSimpleTypeDefinition object)
Returns the result of interpretting the object as an instance of 'Simple Type Definition' |
java.lang.Object |
caseXSDTerm(XSDTerm object)
Returns the result of interpretting the object as an instance of 'Term' |
java.lang.Object |
caseXSDTotalDigitsFacet(XSDTotalDigitsFacet object)
Returns the result of interpretting the object as an instance of 'Total Digits Facet' |
java.lang.Object |
caseXSDTypeDefinition(XSDTypeDefinition object)
Returns the result of interpretting the object as an instance of 'Type Definition' |
java.lang.Object |
caseXSDWhiteSpaceFacet(XSDWhiteSpaceFacet object)
Returns the result of interpretting the object as an instance of 'White Space Facet' |
java.lang.Object |
caseXSDWildcard(XSDWildcard object)
Returns the result of interpretting the object as an instance of 'Wildcard' |
java.lang.Object |
caseXSDXPathDefinition(XSDXPathDefinition object)
Returns the result of interpretting the object as an instance of 'XPath Definition' |
java.lang.Object |
defaultCase(EObject object)
Returns the result of interpretting the object as an instance of 'EObject' |
protected java.lang.Object |
doSwitch(EClass theEClass,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
java.lang.Object |
doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
protected java.lang.Object |
doSwitch(int classifierID,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static XSDPackage modelPackage
Constructor Detail |
public XSDSwitch()
Method Detail |
public java.lang.Object doSwitch(EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.protected java.lang.Object doSwitch(EClass theEClass, EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.protected java.lang.Object doSwitch(int classifierID, EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public java.lang.Object caseXSDAnnotation(XSDAnnotation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDAttributeDeclaration(XSDAttributeDeclaration object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDAttributeGroupContent(XSDAttributeGroupContent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDAttributeGroupDefinition(XSDAttributeGroupDefinition object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDAttributeUse(XSDAttributeUse object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDBoundedFacet(XSDBoundedFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDCardinalityFacet(XSDCardinalityFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDComplexTypeContent(XSDComplexTypeContent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDComplexTypeDefinition(XSDComplexTypeDefinition object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDComponent(XSDComponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDConcreteComponent(XSDConcreteComponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDConstrainingFacet(XSDConstrainingFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDDiagnostic(XSDDiagnostic object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDElementDeclaration(XSDElementDeclaration object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDEnumerationFacet(XSDEnumerationFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDFacet(XSDFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDFeature(XSDFeature object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDFixedFacet(XSDFixedFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDFractionDigitsFacet(XSDFractionDigitsFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDFundamentalFacet(XSDFundamentalFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDIdentityConstraintDefinition(XSDIdentityConstraintDefinition object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDImport(XSDImport object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDInclude(XSDInclude object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDLengthFacet(XSDLengthFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDMaxExclusiveFacet(XSDMaxExclusiveFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDMaxFacet(XSDMaxFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDMaxInclusiveFacet(XSDMaxInclusiveFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDMaxLengthFacet(XSDMaxLengthFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDMinExclusiveFacet(XSDMinExclusiveFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDMinFacet(XSDMinFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDMinInclusiveFacet(XSDMinInclusiveFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDMinLengthFacet(XSDMinLengthFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDModelGroup(XSDModelGroup object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDModelGroupDefinition(XSDModelGroupDefinition object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDNamedComponent(XSDNamedComponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDNotationDeclaration(XSDNotationDeclaration object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDNumericFacet(XSDNumericFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDOrderedFacet(XSDOrderedFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDParticle(XSDParticle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDParticleContent(XSDParticleContent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDPatternFacet(XSDPatternFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDRedefinableComponent(XSDRedefinableComponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDRedefineContent(XSDRedefineContent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDRedefine(XSDRedefine object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDRepeatableFacet(XSDRepeatableFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDSchema(XSDSchema object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDSchemaCompositor(XSDSchemaCompositor object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDSchemaContent(XSDSchemaContent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDSchemaDirective(XSDSchemaDirective object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDScope(XSDScope object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDSimpleTypeDefinition(XSDSimpleTypeDefinition object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDTerm(XSDTerm object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDTotalDigitsFacet(XSDTotalDigitsFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDTypeDefinition(XSDTypeDefinition object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDWhiteSpaceFacet(XSDWhiteSpaceFacet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDWildcard(XSDWildcard object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseXSDXPathDefinition(XSDXPathDefinition object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object defaultCase(EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |