Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Help with Xsd Metamodel
Help with Xsd Metamodel [message #30318] Fri, 26 September 2003 20:42 Go to next message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Ed,
We've run into a significant snag in our use of XSD. If you recall, we
are wrapping all of our EObject instances in java dynamic proxies. This is
a central piece of our implementation that we can not do without. However,
this requires that there be no casts to Impl classes in the EMF and XSD
code. The proxies are smart enough to pass instanceof checks for the
interfaces, but not the impls. The current place we are seeing this problem
is in XSDConcreteComponentImpl.adoptContent, near the end of the method
there is a cast to XSDConcreteComponentImpl.

Our only recourse is to override the classes and methods where
possible... but I don't even see a way to do that here since this method
does not exist on the XSDConcreteComponent interface.

thanks,

Lance Phillips
Re: Help with Xsd Metamodel [message #30353 is a reply to message #30318] Sat, 27 September 2003 11:04 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

--------------CE2150225FF773D197B5DF66
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Lance,

These places all cast to an XSDXyzImpl:

XSDAnnotationImpl.java: XSDAnnotationImpl clonedAnnotation =
(XSDAnnotationImpl)getXSDFactory().createXSDAnnotation();
XSDAttributeDeclarationImpl.java: Element child =
((XSDConcreteComponentImpl)anonymousTypeDefinition).createEl ement();
XSDAttributeDeclarationImpl.java:
(XSDAttributeDeclarationImpl)getXSDFactory().createXSDAttrib uteDeclaration();

XSDAttributeGroupDefinitionImpl.java: Element
attributeGroupDefinitionElement =
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).crea teElement();

XSDAttributeGroupDefinitionImpl.java: Element
attributeUseElement =
((XSDConcreteComponentImpl)xsdAttributeUse).createElement();
XSDAttributeGroupDefinitionImpl.java: effectiveWildcard =
(XSDWildcardImpl)getXSDFactory().createXSDWildcard();
XSDAttributeGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupContent).analyze ();
XSDAttributeGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).anal yze();
XSDAttributeGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupContent).analyze ();
XSDAttributeGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).anal yze();
XSDAttributeGroupDefinitionImpl.java:
(XSDAttributeGroupDefinition)((XSDSchemaImpl)redefinedSchema ).getRedefinitionMap().get(newResolvedAttributeGroupDefiniti on);

XSDAttributeGroupDefinitionImpl.java:
(XSDAttributeGroupDefinitionImpl)getXSDFactory().createXSDAt tributeGroupDefinition();

XSDAttributeUseImpl.java: newElement =
((XSDConcreteComponentImpl)theContent).createElement();
XSDAttributeUseImpl.java:
(XSDAttributeUseImpl)getXSDFactory().createXSDAttributeUse() ;
XSDComplexTypeDefinitionImpl.java: Element simpleContentElement
= ((XSDConcreteComponentImpl)theContent).createElement();
XSDComplexTypeDefinitionImpl.java: Element simpleContentElement =
((XSDConcreteComponentImpl)theContent).createElement();
XSDComplexTypeDefinitionImpl.java: Element attributeElement =
((XSDConcreteComponentImpl)xsdAttributeGroupContent).createE lement();
XSDComplexTypeDefinitionImpl.java:
((XSDConcreteComponentImpl)theBaseTypeDefinition).analyze();
XSDComplexTypeDefinitionImpl.java: effectiveWildcard =
(XSDWildcardImpl)getXSDFactory().createXSDWildcard();
XSDComplexTypeDefinitionImpl.java:
((XSDModelGroupImpl)getComplexType().getTerm()).validateRoot ();
XSDComplexTypeDefinitionImpl.java: else if
(!((XSDParticleImpl)getComplexType()).isSubset(xsdComplexTyp eDefinition.getComplexType(),
true))
XSDComplexTypeDefinitionImpl.java: target =
(XSDConcreteComponentImpl)containedWildcard;
XSDComplexTypeDefinitionImpl.java:
(XSDTypeDefinition)((XSDSchemaImpl)redefinedSchema).getRedef initionMap().get(this);

XSDComplexTypeDefinitionImpl.java:
XSDSimpleTypeDefinitionImpl theSimpleType =
(XSDSimpleTypeDefinitionImpl)getSimpleType();
XSDComplexTypeDefinitionImpl.java:
(XSDComplexTypeDefinitionImpl)getXSDFactory().createXSDCompl exTypeDefinition();

XSDConcreteComponentImpl.java: XSDConcreteComponentImpl container
= (XSDConcreteComponentImpl)getContainer();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl container
= (XSDConcreteComponentImpl)getContainer();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl content =
(XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl content =
(XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java:
((XSDSimpleTypeDefinitionImpl.AssessmentImpl)assessment).ass ignDiagnostics(this,
element, attributeName);
XSDConcreteComponentImpl.java:
(XSDConcreteComponentImpl)xsdConcreteComponent :
XSDConcreteComponentImpl.java: XSDSchemaImpl xsdSchema =
(XSDSchemaImpl)getSchema();
XSDConcreteComponentImpl.java:
((XSDConcreteComponentImpl)xsdConcreteComponent).isReconcili ng = true;

XSDConcreteComponentImpl.java: childElement =
((XSDConcreteComponentImpl)xsdConcreteComponent).createEleme nt();
XSDConcreteComponentImpl.java:
((XSDConcreteComponentImpl)xsdConcreteComponent).isReconcili ng =
false;
XSDConcreteComponentImpl.java:
((XSDConcreteComponentImpl)xsdConcreteComponent).adoptBy(xsd Schema);
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl
childXSDConcreteComponent =
(XSDConcreteComponentImpl)components.next();
XSDConcreteComponentImpl.java:
((XSDConcreteComponentImpl)xsdConcreteComponent).orphanBy(xs dSchema);
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl
childXSDConcreteComponent =
(XSDConcreteComponentImpl)components.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl container =
(XSDConcreteComponentImpl)getContainer();
XSDConcreteComponentImpl.java:
(XSDConcreteComponentImpl)container.getContainer() :
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl
childXSDConcreteComponent =
(XSDConcreteComponentImpl)components.next();
XSDConcreteComponentImpl.java: String uriReferenceLabel =
((XSDConcreteComponentImpl)xsdConcreteComponent).getURIRefer enceLabel();

XSDConcreteComponentImpl.java: XSDConcreteComponentImpl sibling =
(XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl child
= (XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl
xsdConcreteComponent = (XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl content =
(XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl content
= (XSDConcreteComponentImpl)contents.next();
XSDElementDeclarationImpl.java: Element child =
((XSDConcreteComponentImpl)anonymousTypeDefinition).createEl ement();
XSDElementDeclarationImpl.java:
((XSDConcreteComponentImpl)theSubstitutionGroupAffiliation). analyze();

XSDElementDeclarationImpl.java:
(XSDElementDeclarationImpl)getXSDFactory().createXSDElementD eclaration();

XSDEnumerationFacetImpl.java:
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue());

XSDEnumerationFacetImpl.java:
(XSDEnumerationFacetImpl)getXSDFactory().createXSDEnumeratio nFacet();
XSDFeatureImpl.java:
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();
XSDFractionDigitsFacetImpl.java:
(XSDFractionDigitsFacetImpl)getXSDFactory().createXSDFractio nDigitsFacet();

XSDIdentityConstraintDefinitionImpl.java:
(XSDIdentityConstraintDefinitionImpl)getXSDFactory().createX SDIdentityConstraintDefinition();

XSDImportImpl.java: ((XSDSchemaImpl)xsdSchema).imported(this);
XSDImportImpl.java:
(XSDImportImpl)getXSDFactory().createXSDImport();
XSDIncludeImpl.java: ((XSDSchemaImpl)xsdSchema).included(this);
XSDIncludeImpl.java:
(XSDIncludeImpl)getXSDFactory().createXSDInclude();
XSDLengthFacetImpl.java:
(XSDLengthFacetImpl)getXSDFactory().createXSDLengthFacet();
XSDMaxExclusiveFacetImpl.java:
(XSDMaxExclusiveFacetImpl)getXSDFactory().createXSDMaxExclus iveFacet();

XSDMaxFacetImpl.java:
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue());

XSDMaxInclusiveFacetImpl.java:
(XSDMaxInclusiveFacetImpl)getXSDFactory().createXSDMaxInclus iveFacet();

XSDMaxLengthFacetImpl.java:
(XSDMaxLengthFacetImpl)getXSDFactory().createXSDMaxLengthFac et();
XSDMinExclusiveFacetImpl.java:
(XSDMinExclusiveFacetImpl)getXSDFactory().createXSDMinExclus iveFacet();

XSDMinFacetImpl.java:
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue());

XSDMinInclusiveFacetImpl.java:
(XSDMinInclusiveFacetImpl)getXSDFactory().createXSDMinInclus iveFacet();

XSDMinLengthFacetImpl.java:
(XSDMinLengthFacetImpl)getXSDFactory().createXSDMinLengthFac et();
XSDModelGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();
XSDModelGroupDefinitionImpl.java: Element modelGroupElement =
((XSDConcreteComponentImpl)theModelGroup).createElement();
XSDModelGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)theResolvedModelGroupDefinition). analyze();

XSDModelGroupDefinitionImpl.java:
((XSDModelGroupImpl)getModelGroup()).validateRoot();
XSDModelGroupDefinitionImpl.java:
(XSDModelGroupDefinition)((XSDSchemaImpl)redefinedSchema).ge tRedefinitionMap().get(newResolvedModelGroupDefinition);

XSDModelGroupDefinitionImpl.java:
(XSDModelGroupDefinitionImpl)getXSDFactory().createXSDModelG roupDefinition();

XSDModelGroupImpl.java: Element newParticleElement =
((XSDConcreteComponentImpl)xsdParticle).createElement();
XSDModelGroupImpl.java:
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();
XSDModelGroupImpl.java: XSDConcreteComponentImpl container =
(XSDConcreteComponentImpl)getContainer();
XSDModelGroupImpl.java:
(XSDModelGroupImpl)getXSDFactory().createXSDModelGroup();
XSDNamedComponentImpl.java: XSDSchemaImpl xsdSchema =
(XSDSchemaImpl)getSchema();
XSDNotationDeclarationImpl.java:
(XSDNotationDeclarationImpl)getXSDFactory().createXSDNotatio nDeclaration();

XSDPackageImpl.java: XSDPackageImpl theXSDPackage =
(XSDPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof
EPackage ? EPackage.Registry.INSTANCE.get(eNS_URI) : new
XSDPackageImpl());
XSDParticleImpl.java: newElement =
((XSDConcreteComponentImpl)theContent).createElement();
XSDParticleImpl.java: XSDParticle
substititonGroupMemberParticle =
((XSDParticleImpl)xsdParticle).getXSDFactory().createXSDPart icle();
XSDParticleImpl.java:
(XSDParticleImpl)getXSDFactory().createXSDParticle();
XSDPatternFacetImpl.java:
(XSDPatternFacetImpl)getXSDFactory().createXSDPatternFacet() ;
XSDRedefineImpl.java: Element contentElement =
((XSDConcreteComponentImpl)xsdRedefineContent).createElement ();
XSDRedefineImpl.java: ((XSDSchemaImpl)xsdSchema).redefined(this);

XSDRedefineImpl.java:
((XSDConcreteComponentImpl)xsdModelGroupDefinition).createDi agnostic
XSDRedefineImpl.java: if
(!((XSDParticleImpl)xsdParticle).isSubset(otherXSDParticle, true))
XSDRedefineImpl.java:
((XSDConcreteComponentImpl)xsdModelGroupDefinition).createDi agnostic
XSDRedefineImpl.java:
((XSDConcreteComponentImpl)xsdParticle).createDiagnostic
XSDRedefineImpl.java: XSDConcreteComponentImpl
xsdConcreteComponent = (XSDConcreteComponentImpl)j.next();
XSDRedefineImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).crea teDiagnostic

XSDRedefineImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition,
XSDRedefineImpl.java: XSDConcreteComponentImpl
xsdConcreteComponent = (XSDConcreteComponentImpl)j.next();
XSDRedefineImpl.java:
(XSDRedefineImpl)getXSDFactory().createXSDRedefine();
XSDSchemaImpl.java: XSDSchema importedSchema =
((XSDImportImpl)xsdImport).importSchema();
XSDSchemaImpl.java:
((XSDSchemaImpl)incorporatedVersion).incorporate(xsdRedefine );
XSDSchemaImpl.java: XSDSchemaImpl redefinedSchema =
(XSDSchemaImpl)cloneConcreteComponent(true, true);
XSDSchemaImpl.java: XSDSchemaImpl incorporatedVersion =
(XSDSchemaImpl)incorporatedVersions.next();
XSDSchemaImpl.java: XSDSchemaImpl includedSchema =
(XSDSchemaImpl)cloneConcreteComponent(true, true);
XSDSchemaImpl.java: XSDSchemaImpl clonedSchema =
(XSDSchemaImpl)getXSDFactory().createXSDSchema();
XSDSimpleTypeDefinitionImpl.java: XSDComplexTypeDefinition
xsdComplexTypeDefinition = (XSDComplexTypeDefinitionImpl)container;
XSDSimpleTypeDefinitionImpl.java:
((XSDConcreteComponentImpl)complexBaseTypeDefinition).analyz e();
XSDSimpleTypeDefinitionImpl.java:
((XSDTypeDefinitionImpl)theBaseTypeDefinition).analyze();
XSDSimpleTypeDefinitionImpl.java:
((XSDTypeDefinitionImpl)theItemTypeDefinition).analyze();
XSDSimpleTypeDefinitionImpl.java:
((XSDTypeDefinitionImpl)theMemberTypeDefinition).analyze();
XSDSimpleTypeDefinitionImpl.java:
((XSDComplexTypeDefinitionImpl)getContainer()).handleNewBase TypeDefinition(newComplexBaseTypeDefinition);

XSDSimpleTypeDefinitionImpl.java:
(XSDSimpleTypeDefinition)((XSDSchemaImpl)redefinedSchema).ge tRedefinitionMap().get(this);

XSDSimpleTypeDefinitionImpl.java: effectiveEnumerationFacet =
(XSDEnumerationFacetImpl)getXSDFactory().createXSDEnumeratio nFacet();
XSDSimpleTypeDefinitionImpl.java: effectivePatternFacet =
(XSDPatternFacetImpl)getXSDFactory().createXSDPatternFacet() ;
XSDSimpleTypeDefinitionImpl.java: XSDDiagnostic result =
((XSDConcreteComponentImpl)xsdConstrainingFacet).getXSDFacto ry().createXSDDiagnostic();

XSDSimpleTypeDefinitionImpl.java:
((XSDSimpleTypeDefinitionImpl)memberTypeDefinition).assess(n estedAssessment);

XSDSimpleTypeDefinitionImpl.java:
((XSDSimpleTypeDefinitionImpl)getItemTypeDefinition()).asses s(nestedAssessment);

XSDSimpleTypeDefinitionImpl.java:
(XSDSimpleTypeDefinitionImpl)getXSDFactory().createXSDSimple TypeDefinition();

XSDTotalDigitsFacetImpl.java:
(XSDTotalDigitsFacetImpl)getXSDFactory().createXSDTotalDigit sFacet();
XSDWhiteSpaceFacetImpl.java:
(XSDWhiteSpaceFacetImpl)getXSDFactory().createXSDWhiteSpaceF acet();
XSDWildcardImpl.java:
((XSDSchemaImpl)getSchema()).resolveSchema(string);
XSDWildcardImpl.java:
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();
XSDWildcardImpl.java:
(XSDWildcardImpl)getXSDFactory().createXSDWildcard();
XSDXPathDefinitionImpl.java:
(XSDXPathDefinitionImpl)getXSDFactory().createXSDXPathDefini tion();

I'm not clear why you would need Java dynamic proxies for the XSD model since we
don't even use EMF proxies in the XSD model. With so many places that cast to
impls, I definitely need to understand better which types of objects will be
wrapped in Java dynamic proxies, and I guess I'd really like to understand why
it is necessary too, but perhaps that's none of my business...


Lance Phillips wrote:

> Ed,
> We've run into a significant snag in our use of XSD. If you recall, we
> are wrapping all of our EObject instances in java dynamic proxies. This is
> a central piece of our implementation that we can not do without. However,
> this requires that there be no casts to Impl classes in the EMF and XSD
> code. The proxies are smart enough to pass instanceof checks for the
> interfaces, but not the impls. The current place we are seeing this problem
> is in XSDConcreteComponentImpl.adoptContent, near the end of the method
> there is a cast to XSDConcreteComponentImpl.
>
> Our only recourse is to override the classes and methods where
> possible... but I don't even see a way to do that here since this method
> does not exist on the XSDConcreteComponent interface.
>
> thanks,
>
> Lance Phillips

--------------CE2150225FF773D197B5DF66
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Lance,
<p>These places all cast to an XSDXyzImpl:
<blockquote><tt>XSDAnnotationImpl.java:&nbsp;&nbsp;&nbsp; XSDAnnotationImpl
clonedAnnotation = (XSDAnnotationImpl)getXSDFactory().createXSDAnnotation();</tt >
<br><tt> XSDAttributeDeclarationImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
Element child = ((XSDConcreteComponentImpl)anonymousTypeDefinition).createEl ement(); </tt>
<br><tt> XSDAttributeDeclarationImpl.java:&nbsp;&nbsp;&nb sp;&nbsp; (XSDAttributeDeclarationImpl)getXSDFactory().createXSDAttrib uteDeclaration(); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Element attributeGroupDefinitionElement = ((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).crea teElement(); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Element attributeUseElement = ((XSDConcreteComponentImpl)xsdAttributeUse).createElement(); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
effectiveWildcard = (XSDWildcardImpl)getXSDFactory().createXSDWildcard();</tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupContent).analyze (); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).anal yze(); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupContent).analyze (); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).anal yze(); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;
(XSDAttributeGroupDefinition)((XSDSchemaImpl)redefinedSchema ).getRedefinitionMap().get(newResolvedAttributeGroupDefiniti on); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;
(XSDAttributeGroupDefinitionImpl)getXSDFactory().createXSDAt tributeGroupDefinition(); </tt>
<br><tt> XSDAttributeUseImpl.java:&nbsp;&nbsp;&nbsp;& nbsp;&nbsp; newElement
= ((XSDConcreteComponentImpl)theContent).createElement();</tt >
<br><tt> XSDAttributeUseImpl.java:&nbsp;&nbsp;&nbsp;& nbsp;&nbsp; (XSDAttributeUseImpl)getXSDFactory().createXSDAttributeUse() ; </tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;
Element simpleContentElement = ((XSDConcreteComponentImpl)theContent).createElement();</tt >
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
Element simpleContentElement = ((XSDConcreteComponentImpl)theContent).createElement();</tt >
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
Element attributeElement = ((XSDConcreteComponentImpl)xsdAttributeGroupContent).createE lement(); </tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)theBaseTypeDefinition).analyze(); </tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;
effectiveWildcard = (XSDWildcardImpl)getXSDFactory().createXSDWildcard();</tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
((XSDModelGroupImpl)getComplexType().getTerm()).validateRoot (); </tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
else if (!((XSDParticleImpl)getComplexType()).isSubset(xsdComplexTyp eDefinition.getComplexType(),
true))</tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;
target = (XSDConcreteComponentImpl)containedWildcard;</tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;
(XSDTypeDefinition)((XSDSchemaImpl)redefinedSchema).getRedef initionMap().get(this); </tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;
XSDSimpleTypeDefinitionImpl theSimpleType = (XSDSimpleTypeDefinitionImpl)getSimpleType();</tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
(XSDComplexTypeDefinitionImpl)getXSDFactory().createXSDCompl exTypeDefinition(); </tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
container = (XSDConcreteComponentImpl)getContainer();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
container = (XSDConcreteComponentImpl)getContainer();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
content = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
content = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
((XSDSimpleTypeDefinitionImpl.AssessmentImpl)assessment).ass ignDiagnostics(this,
element, attributeName);</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(XSDConcreteComponentImpl)xsdConcreteComponent :</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; XSDSchemaImpl
xsdSchema = (XSDSchemaImpl)getSchema();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; ((XSDConcreteComponentImpl)xsdConcreteComponent).isReconcili ng
= true;</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; childElement
= ((XSDConcreteComponentImpl)xsdConcreteComponent).createEleme nt(); </tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; ((XSDConcreteComponentImpl)xsdConcreteComponent).isReconcili ng
= false;</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; ((XSDConcreteComponentImpl)xsdConcreteComponent).adoptBy(xsd Schema); </tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
childXSDConcreteComponent = (XSDConcreteComponentImpl)components.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; ((XSDConcreteComponentImpl)xsdConcreteComponent).orphanBy(xs dSchema); </tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
childXSDConcreteComponent = (XSDConcreteComponentImpl)components.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; XSDConcreteComponentImpl
container = (XSDConcreteComponentImpl)getContainer();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
(XSDConcreteComponentImpl)container.getContainer() :</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
childXSDConcreteComponent = (XSDConcreteComponentImpl)components.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; String uriReferenceLabel
= ((XSDConcreteComponentImpl)xsdConcreteComponent).getURIRefer enceLabel(); </tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
sibling = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
XSDConcreteComponentImpl child = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
xsdConcreteComponent = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
content = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
XSDConcreteComponentImpl content = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDElementDeclarationImpl.java:&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp; Element
child = ((XSDConcreteComponentImpl)anonymousTypeDefinition).createEl ement(); </tt>
<br><tt> XSDElementDeclarationImpl.java:&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)theSubstitutionGroupAffiliation). analyze(); </tt>
<br><tt> XSDElementDeclarationImpl.java:&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp; (XSDElementDeclarationImpl)getXSDFactory().createXSDElementD eclaration(); </tt>
<br><tt> XSDEnumerationFacetImpl.java:&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue()); </tt>
<br><tt> XSDEnumerationFacetImpl.java:&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp; (XSDEnumerationFacetImpl)getXSDFactory().createXSDEnumeratio nFacet(); </tt>
<br><tt> XSDFeatureImpl.java:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();</tt >
<br><tt> XSDFractionDigitsFacetImpl.java:&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;
(XSDFractionDigitsFacetImpl)getXSDFactory().createXSDFractio nDigitsFacet(); </tt>
<br><tt> XSDIdentityConstraintDefinitionImpl.java:&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;
(XSDIdentityConstraintDefinitionImpl)getXSDFactory().createX SDIdentityConstraintDefinition(); </tt>
<br><tt> XSDImportImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp; ((XSDSchemaImpl)xsdSchema).imported(this);</tt>
<br><tt> XSDImportImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp; (XSDImportImpl)getXSDFactory().createXSDImport();</tt>
<br><tt> XSDIncludeImpl.java:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; ((XSDSchemaImpl)xsdSchema).included(this);</tt>
<br><tt> XSDIncludeImpl.java:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; (XSDIncludeImpl)getXSDFactory().createXSDInclude();</tt>
<br><tt> XSDLengthFacetImpl.java:&nbsp;&nbsp;&nbsp;&n bsp;&nbsp; (XSDLengthFacetImpl)getXSDFactory().createXSDLengthFacet();</tt >
<br><tt> XSDMaxExclusiveFacetImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; (XSDMaxExclusiveFacetImpl)getXSDFactory().createXSDMaxExclus iveFacet(); </tt>
<br><tt> XSDMaxFacetImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue()); </tt>
<br><tt> XSDMaxInclusiveFacetImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; (XSDMaxInclusiveFacetImpl)getXSDFactory().createXSDMaxInclus iveFacet(); </tt>
<br><tt> XSDMaxLengthFacetImpl.java:&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp; (XSDMaxLengthFacetImpl)getXSDFactory().createXSDMaxLengthFac et(); </tt>
<br><tt> XSDMinExclusiveFacetImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; (XSDMinExclusiveFacetImpl)getXSDFactory().createXSDMinExclus iveFacet(); </tt>
<br><tt> XSDMinFacetImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue()); </tt>
<br><tt> XSDMinInclusiveFacetImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; (XSDMinInclusiveFacetImpl)getXSDFactory().createXSDMinInclus iveFacet(); </tt>
<br><tt> XSDMinLengthFacetImpl.java:&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp; (XSDMinLengthFacetImpl)getXSDFactory().createXSDMinLengthFac et(); </tt>
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();</tt >
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
Element modelGroupElement = ((XSDConcreteComponentImpl)theModelGroup).createElement();</tt >
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)theResolvedModelGroupDefinition). analyze(); </tt>
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;
((XSDModelGroupImpl)getModelGroup()).validateRoot();</tt>
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;
(XSDModelGroupDefinition)((XSDSchemaImpl)redefinedSchema).ge tRedefinitionMap().get(newResolvedModelGroupDefinition); </tt>
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
(XSDModelGroupDefinitionImpl)getXSDFactory().createXSDModelG roupDefinition(); </tt>
<br><tt> XSDModelGroupImpl.java:&nbsp;&nbsp;&nbsp;&nb sp;&nbsp; Element newParticleElement
= ((XSDConcreteComponentImpl)xsdParticle).createElement();</tt >
<br><tt> XSDModelGroupImpl.java:&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();</tt >
<br><tt> XSDModelGroupImpl.java:&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;
XSDConcreteComponentImpl container = (XSDConcreteComponentImpl)getContainer();</tt>
<br><tt> XSDModelGroupImpl.java:&nbsp;&nbsp;&nbsp;&nb sp;&nbsp; (XSDModelGroupImpl)getXSDFactory().createXSDModelGroup();</tt >
<br><tt> XSDNamedComponentImpl.java:&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
XSDSchemaImpl xsdSchema = (XSDSchemaImpl)getSchema();</tt>
<br><tt> XSDNotationDeclarationImpl.java:&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;
(XSDNotationDeclarationImpl)getXSDFactory().createXSDNotatio nDeclaration(); </tt>
<br><tt>XSDPackageImpl.java:&nbsp;&nbsp;&nbsp; XSDPackageImpl theXSDPackage
= (XSDPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EPackage
? EPackage.Registry.INSTANCE.get(eNS_URI) : new XSDPackageImpl());</tt>
<br><tt> XSDParticleImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; newElement
= ((XSDConcreteComponentImpl)theContent).createElement();</tt >
<br><tt> XSDParticleImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
XSDParticle substititonGroupMemberParticle = ((XSDParticleImpl)xsdParticle).getXSDFactory().createXSDPart icle(); </tt>
<br><tt> XSDParticleImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; (XSDParticleImpl)getXSDFactory().createXSDParticle();</tt>
<br><tt> XSDPatternFacetImpl.java:&nbsp;&nbsp;&nbsp;& nbsp;&nbsp; (XSDPatternFacetImpl)getXSDFactory().createXSDPatternFacet() ; </tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; Element contentElement
= ((XSDConcreteComponentImpl)xsdRedefineContent).createElement (); </tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; ((XSDSchemaImpl)xsdSchema).redefined(this);</tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
((XSDConcreteComponentImpl)xsdModelGroupDefinition).createDi agnostic </tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
if (!((XSDParticleImpl)xsdParticle).isSubset(otherXSDParticle, true))</tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdModelGroupDefinition).createDi agnostic </tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
((XSDConcreteComponentImpl)xsdParticle).createDiagnostic</tt >
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
XSDConcreteComponentImpl xsdConcreteComponent = (XSDConcreteComponentImpl)j.next();</tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).crea teDiagnostic </tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition,</tt >
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
XSDConcreteComponentImpl xsdConcreteComponent = (XSDConcreteComponentImpl)j.next();</tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; (XSDRedefineImpl)getXSDFactory().createXSDRedefine();</tt>
<br><tt> XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;
XSDSchema importedSchema = ((XSDImportImpl)xsdImport).importSchema();</tt>
<br><tt> XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;
((XSDSchemaImpl)incorporatedVersion).incorporate(xsdRedefine ); </tt>
<br><tt> XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp; XSDSchemaImpl
redefinedSchema = (XSDSchemaImpl)cloneConcreteComponent(true, true);</tt>
<br><tt> XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
XSDSchemaImpl incorporatedVersion = (XSDSchemaImpl)incorporatedVersions.next();</tt>
<br><tt> XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp; XSDSchemaImpl
includedSchema = (XSDSchemaImpl)cloneConcreteComponent(true, true);</tt>
<br><tt>XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp; XSDSchemaImpl clonedSchema
= (XSDSchemaImpl)getXSDFactory().createXSDSchema();</tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
XSDComplexTypeDefinition xsdComplexTypeDefinition = (XSDComplexTypeDefinitionImpl)container;</tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;
((XSDConcreteComponentImpl)complexBaseTypeDefinition).analyz e(); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
((XSDTypeDefinitionImpl)theBaseTypeDefinition).analyze();</tt >
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDTypeDefinitionImpl)theItemTypeDefinition).analyze();</tt >
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
((XSDTypeDefinitionImpl)theMemberTypeDefinition).analyze();</tt >
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
((XSDComplexTypeDefinitionImpl)getContainer()).handleNewBase TypeDefinition(newComplexBaseTypeDefinition); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;
(XSDSimpleTypeDefinition)((XSDSchemaImpl)redefinedSchema).ge tRedefinitionMap().get(this); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
effectiveEnumerationFacet = (XSDEnumerationFacetImpl)getXSDFactory().createXSDEnumeratio nFacet(); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
effectivePatternFacet = (XSDPatternFacetImpl)getXSDFactory().createXSDPatternFacet() ; </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
XSDDiagnostic result = ((XSDConcreteComponentImpl)xsdConstrainingFacet).getXSDFacto ry().createXSDDiagnostic(); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
((XSDSimpleTypeDefinitionImpl)memberTypeDefinition).assess(n estedAssessment); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDSimpleTypeDefinitionImpl)getItemTypeDefinition()).asses s(nestedAssessment); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
(XSDSimpleTypeDefinitionImpl)getXSDFactory().createXSDSimple TypeDefinition(); </tt>
<br><tt> XSDTotalDigitsFacetImpl.java:&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp; (XSDTotalDigitsFacetImpl)getXSDFactory().createXSDTotalDigit sFacet(); </tt>
<br><tt> XSDWhiteSpaceFacetImpl.java:&nbsp;&nbsp;&nbsp;&a mp;nbsp;&nbsp; (XSDWhiteSpaceFacetImpl)getXSDFactory().createXSDWhiteSpaceF acet(); </tt>
<br><tt> XSDWildcardImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;
((XSDSchemaImpl)getSchema()).resolveSchema(string);</tt>
<br><tt> XSDWildcardImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();</tt >
<br><tt> XSDWildcardImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; (XSDWildcardImpl)getXSDFactory().createXSDWildcard();</tt>
<br><tt> XSDXPathDefinitionImpl.java:&nbsp;&nbsp;&nbsp;&a mp;nbsp;&nbsp; (XSDXPathDefinitionImpl)getXSDFactory().createXSDXPathDefini tion(); </tt></blockquote>
I'm not clear why you would need Java dynamic proxies for the XSD model
since we don't even use EMF proxies in the XSD model.&nbsp; With so many
places that cast to impls, I definitely need to understand better which
types of objects will be wrapped in Java dynamic proxies, and I guess I'd
really like to understand why it is necessary too, but perhaps that's none
of my business...
<br>&nbsp;
<p>Lance Phillips wrote:
<blockquote TYPE=CITE>Ed,
<br>&nbsp;&nbsp;&nbsp; We've run into a significant snag in our use of
XSD.&nbsp; If you recall, we
<br>are wrapping all of our EObject instances in java dynamic proxies.&nbsp;
This is
<br>a central piece of our implementation that we can not do without.&nbsp;
However,
<br>this requires that there be no casts to Impl classes in the EMF and
XSD
<br>code.&nbsp; The proxies are smart enough to pass instanceof checks
for the
<br>interfaces, but not the impls.&nbsp; The current place we are seeing
this problem
<br>is in XSDConcreteComponentImpl.adoptContent, near the end of the method
<br>there is a cast to XSDConcreteComponentImpl.
<p>&nbsp;&nbsp;&nbsp; Our only recourse is to override the classes and
methods where
<br>possible... but I don't even see a way to do that here since this method
<br>does not exist on the XSDConcreteComponent interface.
<p>thanks,
<p>Lance Phillips</blockquote>
</html>

--------------CE2150225FF773D197B5DF66--
Re: Help with Xsd Metamodel [message #578543 is a reply to message #30318] Sat, 27 September 2003 11:04 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31357
Registered: July 2009
Senior Member
--------------CE2150225FF773D197B5DF66
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Lance,

These places all cast to an XSDXyzImpl:

XSDAnnotationImpl.java: XSDAnnotationImpl clonedAnnotation =
(XSDAnnotationImpl)getXSDFactory().createXSDAnnotation();
XSDAttributeDeclarationImpl.java: Element child =
((XSDConcreteComponentImpl)anonymousTypeDefinition).createEl ement();
XSDAttributeDeclarationImpl.java:
(XSDAttributeDeclarationImpl)getXSDFactory().createXSDAttrib uteDeclaration();

XSDAttributeGroupDefinitionImpl.java: Element
attributeGroupDefinitionElement =
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).crea teElement();

XSDAttributeGroupDefinitionImpl.java: Element
attributeUseElement =
((XSDConcreteComponentImpl)xsdAttributeUse).createElement();
XSDAttributeGroupDefinitionImpl.java: effectiveWildcard =
(XSDWildcardImpl)getXSDFactory().createXSDWildcard();
XSDAttributeGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupContent).analyze ();
XSDAttributeGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).anal yze();
XSDAttributeGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupContent).analyze ();
XSDAttributeGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).anal yze();
XSDAttributeGroupDefinitionImpl.java:
(XSDAttributeGroupDefinition)((XSDSchemaImpl)redefinedSchema ).getRedefinitionMap().get(newResolvedAttributeGroupDefiniti on);

XSDAttributeGroupDefinitionImpl.java:
(XSDAttributeGroupDefinitionImpl)getXSDFactory().createXSDAt tributeGroupDefinition();

XSDAttributeUseImpl.java: newElement =
((XSDConcreteComponentImpl)theContent).createElement();
XSDAttributeUseImpl.java:
(XSDAttributeUseImpl)getXSDFactory().createXSDAttributeUse() ;
XSDComplexTypeDefinitionImpl.java: Element simpleContentElement
= ((XSDConcreteComponentImpl)theContent).createElement();
XSDComplexTypeDefinitionImpl.java: Element simpleContentElement =
((XSDConcreteComponentImpl)theContent).createElement();
XSDComplexTypeDefinitionImpl.java: Element attributeElement =
((XSDConcreteComponentImpl)xsdAttributeGroupContent).createE lement();
XSDComplexTypeDefinitionImpl.java:
((XSDConcreteComponentImpl)theBaseTypeDefinition).analyze();
XSDComplexTypeDefinitionImpl.java: effectiveWildcard =
(XSDWildcardImpl)getXSDFactory().createXSDWildcard();
XSDComplexTypeDefinitionImpl.java:
((XSDModelGroupImpl)getComplexType().getTerm()).validateRoot ();
XSDComplexTypeDefinitionImpl.java: else if
(!((XSDParticleImpl)getComplexType()).isSubset(xsdComplexTyp eDefinition.getComplexType(),
true))
XSDComplexTypeDefinitionImpl.java: target =
(XSDConcreteComponentImpl)containedWildcard;
XSDComplexTypeDefinitionImpl.java:
(XSDTypeDefinition)((XSDSchemaImpl)redefinedSchema).getRedef initionMap().get(this);

XSDComplexTypeDefinitionImpl.java:
XSDSimpleTypeDefinitionImpl theSimpleType =
(XSDSimpleTypeDefinitionImpl)getSimpleType();
XSDComplexTypeDefinitionImpl.java:
(XSDComplexTypeDefinitionImpl)getXSDFactory().createXSDCompl exTypeDefinition();

XSDConcreteComponentImpl.java: XSDConcreteComponentImpl container
= (XSDConcreteComponentImpl)getContainer();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl container
= (XSDConcreteComponentImpl)getContainer();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl content =
(XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl content =
(XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java:
((XSDSimpleTypeDefinitionImpl.AssessmentImpl)assessment).ass ignDiagnostics(this,
element, attributeName);
XSDConcreteComponentImpl.java:
(XSDConcreteComponentImpl)xsdConcreteComponent :
XSDConcreteComponentImpl.java: XSDSchemaImpl xsdSchema =
(XSDSchemaImpl)getSchema();
XSDConcreteComponentImpl.java:
((XSDConcreteComponentImpl)xsdConcreteComponent).isReconcili ng = true;

XSDConcreteComponentImpl.java: childElement =
((XSDConcreteComponentImpl)xsdConcreteComponent).createEleme nt();
XSDConcreteComponentImpl.java:
((XSDConcreteComponentImpl)xsdConcreteComponent).isReconcili ng =
false;
XSDConcreteComponentImpl.java:
((XSDConcreteComponentImpl)xsdConcreteComponent).adoptBy(xsd Schema);
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl
childXSDConcreteComponent =
(XSDConcreteComponentImpl)components.next();
XSDConcreteComponentImpl.java:
((XSDConcreteComponentImpl)xsdConcreteComponent).orphanBy(xs dSchema);
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl
childXSDConcreteComponent =
(XSDConcreteComponentImpl)components.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl container =
(XSDConcreteComponentImpl)getContainer();
XSDConcreteComponentImpl.java:
(XSDConcreteComponentImpl)container.getContainer() :
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl
childXSDConcreteComponent =
(XSDConcreteComponentImpl)components.next();
XSDConcreteComponentImpl.java: String uriReferenceLabel =
((XSDConcreteComponentImpl)xsdConcreteComponent).getURIRefer enceLabel();

XSDConcreteComponentImpl.java: XSDConcreteComponentImpl sibling =
(XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl child
= (XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl
xsdConcreteComponent = (XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl content =
(XSDConcreteComponentImpl)contents.next();
XSDConcreteComponentImpl.java: XSDConcreteComponentImpl content
= (XSDConcreteComponentImpl)contents.next();
XSDElementDeclarationImpl.java: Element child =
((XSDConcreteComponentImpl)anonymousTypeDefinition).createEl ement();
XSDElementDeclarationImpl.java:
((XSDConcreteComponentImpl)theSubstitutionGroupAffiliation). analyze();

XSDElementDeclarationImpl.java:
(XSDElementDeclarationImpl)getXSDFactory().createXSDElementD eclaration();

XSDEnumerationFacetImpl.java:
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue());

XSDEnumerationFacetImpl.java:
(XSDEnumerationFacetImpl)getXSDFactory().createXSDEnumeratio nFacet();
XSDFeatureImpl.java:
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();
XSDFractionDigitsFacetImpl.java:
(XSDFractionDigitsFacetImpl)getXSDFactory().createXSDFractio nDigitsFacet();

XSDIdentityConstraintDefinitionImpl.java:
(XSDIdentityConstraintDefinitionImpl)getXSDFactory().createX SDIdentityConstraintDefinition();

XSDImportImpl.java: ((XSDSchemaImpl)xsdSchema).imported(this);
XSDImportImpl.java:
(XSDImportImpl)getXSDFactory().createXSDImport();
XSDIncludeImpl.java: ((XSDSchemaImpl)xsdSchema).included(this);
XSDIncludeImpl.java:
(XSDIncludeImpl)getXSDFactory().createXSDInclude();
XSDLengthFacetImpl.java:
(XSDLengthFacetImpl)getXSDFactory().createXSDLengthFacet();
XSDMaxExclusiveFacetImpl.java:
(XSDMaxExclusiveFacetImpl)getXSDFactory().createXSDMaxExclus iveFacet();

XSDMaxFacetImpl.java:
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue());

XSDMaxInclusiveFacetImpl.java:
(XSDMaxInclusiveFacetImpl)getXSDFactory().createXSDMaxInclus iveFacet();

XSDMaxLengthFacetImpl.java:
(XSDMaxLengthFacetImpl)getXSDFactory().createXSDMaxLengthFac et();
XSDMinExclusiveFacetImpl.java:
(XSDMinExclusiveFacetImpl)getXSDFactory().createXSDMinExclus iveFacet();

XSDMinFacetImpl.java:
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue());

XSDMinInclusiveFacetImpl.java:
(XSDMinInclusiveFacetImpl)getXSDFactory().createXSDMinInclus iveFacet();

XSDMinLengthFacetImpl.java:
(XSDMinLengthFacetImpl)getXSDFactory().createXSDMinLengthFac et();
XSDModelGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();
XSDModelGroupDefinitionImpl.java: Element modelGroupElement =
((XSDConcreteComponentImpl)theModelGroup).createElement();
XSDModelGroupDefinitionImpl.java:
((XSDConcreteComponentImpl)theResolvedModelGroupDefinition). analyze();

XSDModelGroupDefinitionImpl.java:
((XSDModelGroupImpl)getModelGroup()).validateRoot();
XSDModelGroupDefinitionImpl.java:
(XSDModelGroupDefinition)((XSDSchemaImpl)redefinedSchema).ge tRedefinitionMap().get(newResolvedModelGroupDefinition);

XSDModelGroupDefinitionImpl.java:
(XSDModelGroupDefinitionImpl)getXSDFactory().createXSDModelG roupDefinition();

XSDModelGroupImpl.java: Element newParticleElement =
((XSDConcreteComponentImpl)xsdParticle).createElement();
XSDModelGroupImpl.java:
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();
XSDModelGroupImpl.java: XSDConcreteComponentImpl container =
(XSDConcreteComponentImpl)getContainer();
XSDModelGroupImpl.java:
(XSDModelGroupImpl)getXSDFactory().createXSDModelGroup();
XSDNamedComponentImpl.java: XSDSchemaImpl xsdSchema =
(XSDSchemaImpl)getSchema();
XSDNotationDeclarationImpl.java:
(XSDNotationDeclarationImpl)getXSDFactory().createXSDNotatio nDeclaration();

XSDPackageImpl.java: XSDPackageImpl theXSDPackage =
(XSDPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof
EPackage ? EPackage.Registry.INSTANCE.get(eNS_URI) : new
XSDPackageImpl());
XSDParticleImpl.java: newElement =
((XSDConcreteComponentImpl)theContent).createElement();
XSDParticleImpl.java: XSDParticle
substititonGroupMemberParticle =
((XSDParticleImpl)xsdParticle).getXSDFactory().createXSDPart icle();
XSDParticleImpl.java:
(XSDParticleImpl)getXSDFactory().createXSDParticle();
XSDPatternFacetImpl.java:
(XSDPatternFacetImpl)getXSDFactory().createXSDPatternFacet() ;
XSDRedefineImpl.java: Element contentElement =
((XSDConcreteComponentImpl)xsdRedefineContent).createElement ();
XSDRedefineImpl.java: ((XSDSchemaImpl)xsdSchema).redefined(this);

XSDRedefineImpl.java:
((XSDConcreteComponentImpl)xsdModelGroupDefinition).createDi agnostic
XSDRedefineImpl.java: if
(!((XSDParticleImpl)xsdParticle).isSubset(otherXSDParticle, true))
XSDRedefineImpl.java:
((XSDConcreteComponentImpl)xsdModelGroupDefinition).createDi agnostic
XSDRedefineImpl.java:
((XSDConcreteComponentImpl)xsdParticle).createDiagnostic
XSDRedefineImpl.java: XSDConcreteComponentImpl
xsdConcreteComponent = (XSDConcreteComponentImpl)j.next();
XSDRedefineImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).crea teDiagnostic

XSDRedefineImpl.java:
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition,
XSDRedefineImpl.java: XSDConcreteComponentImpl
xsdConcreteComponent = (XSDConcreteComponentImpl)j.next();
XSDRedefineImpl.java:
(XSDRedefineImpl)getXSDFactory().createXSDRedefine();
XSDSchemaImpl.java: XSDSchema importedSchema =
((XSDImportImpl)xsdImport).importSchema();
XSDSchemaImpl.java:
((XSDSchemaImpl)incorporatedVersion).incorporate(xsdRedefine );
XSDSchemaImpl.java: XSDSchemaImpl redefinedSchema =
(XSDSchemaImpl)cloneConcreteComponent(true, true);
XSDSchemaImpl.java: XSDSchemaImpl incorporatedVersion =
(XSDSchemaImpl)incorporatedVersions.next();
XSDSchemaImpl.java: XSDSchemaImpl includedSchema =
(XSDSchemaImpl)cloneConcreteComponent(true, true);
XSDSchemaImpl.java: XSDSchemaImpl clonedSchema =
(XSDSchemaImpl)getXSDFactory().createXSDSchema();
XSDSimpleTypeDefinitionImpl.java: XSDComplexTypeDefinition
xsdComplexTypeDefinition = (XSDComplexTypeDefinitionImpl)container;
XSDSimpleTypeDefinitionImpl.java:
((XSDConcreteComponentImpl)complexBaseTypeDefinition).analyz e();
XSDSimpleTypeDefinitionImpl.java:
((XSDTypeDefinitionImpl)theBaseTypeDefinition).analyze();
XSDSimpleTypeDefinitionImpl.java:
((XSDTypeDefinitionImpl)theItemTypeDefinition).analyze();
XSDSimpleTypeDefinitionImpl.java:
((XSDTypeDefinitionImpl)theMemberTypeDefinition).analyze();
XSDSimpleTypeDefinitionImpl.java:
((XSDComplexTypeDefinitionImpl)getContainer()).handleNewBase TypeDefinition(newComplexBaseTypeDefinition);

XSDSimpleTypeDefinitionImpl.java:
(XSDSimpleTypeDefinition)((XSDSchemaImpl)redefinedSchema).ge tRedefinitionMap().get(this);

XSDSimpleTypeDefinitionImpl.java: effectiveEnumerationFacet =
(XSDEnumerationFacetImpl)getXSDFactory().createXSDEnumeratio nFacet();
XSDSimpleTypeDefinitionImpl.java: effectivePatternFacet =
(XSDPatternFacetImpl)getXSDFactory().createXSDPatternFacet() ;
XSDSimpleTypeDefinitionImpl.java: XSDDiagnostic result =
((XSDConcreteComponentImpl)xsdConstrainingFacet).getXSDFacto ry().createXSDDiagnostic();

XSDSimpleTypeDefinitionImpl.java:
((XSDSimpleTypeDefinitionImpl)memberTypeDefinition).assess(n estedAssessment);

XSDSimpleTypeDefinitionImpl.java:
((XSDSimpleTypeDefinitionImpl)getItemTypeDefinition()).asses s(nestedAssessment);

XSDSimpleTypeDefinitionImpl.java:
(XSDSimpleTypeDefinitionImpl)getXSDFactory().createXSDSimple TypeDefinition();

XSDTotalDigitsFacetImpl.java:
(XSDTotalDigitsFacetImpl)getXSDFactory().createXSDTotalDigit sFacet();
XSDWhiteSpaceFacetImpl.java:
(XSDWhiteSpaceFacetImpl)getXSDFactory().createXSDWhiteSpaceF acet();
XSDWildcardImpl.java:
((XSDSchemaImpl)getSchema()).resolveSchema(string);
XSDWildcardImpl.java:
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();
XSDWildcardImpl.java:
(XSDWildcardImpl)getXSDFactory().createXSDWildcard();
XSDXPathDefinitionImpl.java:
(XSDXPathDefinitionImpl)getXSDFactory().createXSDXPathDefini tion();

I'm not clear why you would need Java dynamic proxies for the XSD model since we
don't even use EMF proxies in the XSD model. With so many places that cast to
impls, I definitely need to understand better which types of objects will be
wrapped in Java dynamic proxies, and I guess I'd really like to understand why
it is necessary too, but perhaps that's none of my business...


Lance Phillips wrote:

> Ed,
> We've run into a significant snag in our use of XSD. If you recall, we
> are wrapping all of our EObject instances in java dynamic proxies. This is
> a central piece of our implementation that we can not do without. However,
> this requires that there be no casts to Impl classes in the EMF and XSD
> code. The proxies are smart enough to pass instanceof checks for the
> interfaces, but not the impls. The current place we are seeing this problem
> is in XSDConcreteComponentImpl.adoptContent, near the end of the method
> there is a cast to XSDConcreteComponentImpl.
>
> Our only recourse is to override the classes and methods where
> possible... but I don't even see a way to do that here since this method
> does not exist on the XSDConcreteComponent interface.
>
> thanks,
>
> Lance Phillips

--------------CE2150225FF773D197B5DF66
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Lance,
<p>These places all cast to an XSDXyzImpl:
<blockquote><tt>XSDAnnotationImpl.java:&nbsp;&nbsp;&nbsp; XSDAnnotationImpl
clonedAnnotation = (XSDAnnotationImpl)getXSDFactory().createXSDAnnotation();</tt >
<br><tt> XSDAttributeDeclarationImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
Element child = ((XSDConcreteComponentImpl)anonymousTypeDefinition).createEl ement(); </tt>
<br><tt> XSDAttributeDeclarationImpl.java:&nbsp;&nbsp;&nb sp;&nbsp; (XSDAttributeDeclarationImpl)getXSDFactory().createXSDAttrib uteDeclaration(); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Element attributeGroupDefinitionElement = ((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).crea teElement(); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Element attributeUseElement = ((XSDConcreteComponentImpl)xsdAttributeUse).createElement(); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
effectiveWildcard = (XSDWildcardImpl)getXSDFactory().createXSDWildcard();</tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupContent).analyze (); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).anal yze(); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupContent).analyze (); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).anal yze(); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;
(XSDAttributeGroupDefinition)((XSDSchemaImpl)redefinedSchema ).getRedefinitionMap().get(newResolvedAttributeGroupDefiniti on); </tt>
<br><tt> XSDAttributeGroupDefinitionImpl.java:&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;
(XSDAttributeGroupDefinitionImpl)getXSDFactory().createXSDAt tributeGroupDefinition(); </tt>
<br><tt> XSDAttributeUseImpl.java:&nbsp;&nbsp;&nbsp;& nbsp;&nbsp; newElement
= ((XSDConcreteComponentImpl)theContent).createElement();</tt >
<br><tt> XSDAttributeUseImpl.java:&nbsp;&nbsp;&nbsp;& nbsp;&nbsp; (XSDAttributeUseImpl)getXSDFactory().createXSDAttributeUse() ; </tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;
Element simpleContentElement = ((XSDConcreteComponentImpl)theContent).createElement();</tt >
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
Element simpleContentElement = ((XSDConcreteComponentImpl)theContent).createElement();</tt >
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
Element attributeElement = ((XSDConcreteComponentImpl)xsdAttributeGroupContent).createE lement(); </tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)theBaseTypeDefinition).analyze(); </tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;
effectiveWildcard = (XSDWildcardImpl)getXSDFactory().createXSDWildcard();</tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
((XSDModelGroupImpl)getComplexType().getTerm()).validateRoot (); </tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
else if (!((XSDParticleImpl)getComplexType()).isSubset(xsdComplexTyp eDefinition.getComplexType(),
true))</tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;
target = (XSDConcreteComponentImpl)containedWildcard;</tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;
(XSDTypeDefinition)((XSDSchemaImpl)redefinedSchema).getRedef initionMap().get(this); </tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;
XSDSimpleTypeDefinitionImpl theSimpleType = (XSDSimpleTypeDefinitionImpl)getSimpleType();</tt>
<br><tt> XSDComplexTypeDefinitionImpl.java:&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
(XSDComplexTypeDefinitionImpl)getXSDFactory().createXSDCompl exTypeDefinition(); </tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
container = (XSDConcreteComponentImpl)getContainer();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
container = (XSDConcreteComponentImpl)getContainer();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
content = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
content = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
((XSDSimpleTypeDefinitionImpl.AssessmentImpl)assessment).ass ignDiagnostics(this,
element, attributeName);</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(XSDConcreteComponentImpl)xsdConcreteComponent :</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; XSDSchemaImpl
xsdSchema = (XSDSchemaImpl)getSchema();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; ((XSDConcreteComponentImpl)xsdConcreteComponent).isReconcili ng
= true;</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; childElement
= ((XSDConcreteComponentImpl)xsdConcreteComponent).createEleme nt(); </tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; ((XSDConcreteComponentImpl)xsdConcreteComponent).isReconcili ng
= false;</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; ((XSDConcreteComponentImpl)xsdConcreteComponent).adoptBy(xsd Schema); </tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
childXSDConcreteComponent = (XSDConcreteComponentImpl)components.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; ((XSDConcreteComponentImpl)xsdConcreteComponent).orphanBy(xs dSchema); </tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
childXSDConcreteComponent = (XSDConcreteComponentImpl)components.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; XSDConcreteComponentImpl
container = (XSDConcreteComponentImpl)getContainer();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
(XSDConcreteComponentImpl)container.getContainer() :</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
childXSDConcreteComponent = (XSDConcreteComponentImpl)components.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; String uriReferenceLabel
= ((XSDConcreteComponentImpl)xsdConcreteComponent).getURIRefer enceLabel(); </tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
sibling = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
XSDConcreteComponentImpl child = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
xsdConcreteComponent = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; XSDConcreteComponentImpl
content = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDConcreteComponentImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
XSDConcreteComponentImpl content = (XSDConcreteComponentImpl)contents.next();</tt>
<br><tt> XSDElementDeclarationImpl.java:&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp; Element
child = ((XSDConcreteComponentImpl)anonymousTypeDefinition).createEl ement(); </tt>
<br><tt> XSDElementDeclarationImpl.java:&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)theSubstitutionGroupAffiliation). analyze(); </tt>
<br><tt> XSDElementDeclarationImpl.java:&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp; (XSDElementDeclarationImpl)getXSDFactory().createXSDElementD eclaration(); </tt>
<br><tt> XSDEnumerationFacetImpl.java:&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue()); </tt>
<br><tt> XSDEnumerationFacetImpl.java:&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp; (XSDEnumerationFacetImpl)getXSDFactory().createXSDEnumeratio nFacet(); </tt>
<br><tt> XSDFeatureImpl.java:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();</tt >
<br><tt> XSDFractionDigitsFacetImpl.java:&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;
(XSDFractionDigitsFacetImpl)getXSDFactory().createXSDFractio nDigitsFacet(); </tt>
<br><tt> XSDIdentityConstraintDefinitionImpl.java:&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;
(XSDIdentityConstraintDefinitionImpl)getXSDFactory().createX SDIdentityConstraintDefinition(); </tt>
<br><tt> XSDImportImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp; ((XSDSchemaImpl)xsdSchema).imported(this);</tt>
<br><tt> XSDImportImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp; (XSDImportImpl)getXSDFactory().createXSDImport();</tt>
<br><tt> XSDIncludeImpl.java:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; ((XSDSchemaImpl)xsdSchema).included(this);</tt>
<br><tt> XSDIncludeImpl.java:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; (XSDIncludeImpl)getXSDFactory().createXSDInclude();</tt>
<br><tt> XSDLengthFacetImpl.java:&nbsp;&nbsp;&nbsp;&n bsp;&nbsp; (XSDLengthFacetImpl)getXSDFactory().createXSDLengthFacet();</tt >
<br><tt> XSDMaxExclusiveFacetImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; (XSDMaxExclusiveFacetImpl)getXSDFactory().createXSDMaxExclus iveFacet(); </tt>
<br><tt> XSDMaxFacetImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue()); </tt>
<br><tt> XSDMaxInclusiveFacetImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; (XSDMaxInclusiveFacetImpl)getXSDFactory().createXSDMaxInclus iveFacet(); </tt>
<br><tt> XSDMaxLengthFacetImpl.java:&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp; (XSDMaxLengthFacetImpl)getXSDFactory().createXSDMaxLengthFac et(); </tt>
<br><tt> XSDMinExclusiveFacetImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; (XSDMinExclusiveFacetImpl)getXSDFactory().createXSDMinExclus iveFacet(); </tt>
<br><tt> XSDMinFacetImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(XSDSimpleTypeDefinitionImpl.AssessmentImpl)baseTypeDefiniti on.assess(getLexicalValue()); </tt>
<br><tt> XSDMinInclusiveFacetImpl.java:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; (XSDMinInclusiveFacetImpl)getXSDFactory().createXSDMinInclus iveFacet(); </tt>
<br><tt> XSDMinLengthFacetImpl.java:&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp; (XSDMinLengthFacetImpl)getXSDFactory().createXSDMinLengthFac et(); </tt>
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();</tt >
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
Element modelGroupElement = ((XSDConcreteComponentImpl)theModelGroup).createElement();</tt >
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)theResolvedModelGroupDefinition). analyze(); </tt>
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;
((XSDModelGroupImpl)getModelGroup()).validateRoot();</tt>
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;
(XSDModelGroupDefinition)((XSDSchemaImpl)redefinedSchema).ge tRedefinitionMap().get(newResolvedModelGroupDefinition); </tt>
<br><tt> XSDModelGroupDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
(XSDModelGroupDefinitionImpl)getXSDFactory().createXSDModelG roupDefinition(); </tt>
<br><tt> XSDModelGroupImpl.java:&nbsp;&nbsp;&nbsp;&nb sp;&nbsp; Element newParticleElement
= ((XSDConcreteComponentImpl)xsdParticle).createElement();</tt >
<br><tt> XSDModelGroupImpl.java:&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();</tt >
<br><tt> XSDModelGroupImpl.java:&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;
XSDConcreteComponentImpl container = (XSDConcreteComponentImpl)getContainer();</tt>
<br><tt> XSDModelGroupImpl.java:&nbsp;&nbsp;&nbsp;&nb sp;&nbsp; (XSDModelGroupImpl)getXSDFactory().createXSDModelGroup();</tt >
<br><tt> XSDNamedComponentImpl.java:&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
XSDSchemaImpl xsdSchema = (XSDSchemaImpl)getSchema();</tt>
<br><tt> XSDNotationDeclarationImpl.java:&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;
(XSDNotationDeclarationImpl)getXSDFactory().createXSDNotatio nDeclaration(); </tt>
<br><tt>XSDPackageImpl.java:&nbsp;&nbsp;&nbsp; XSDPackageImpl theXSDPackage
= (XSDPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EPackage
? EPackage.Registry.INSTANCE.get(eNS_URI) : new XSDPackageImpl());</tt>
<br><tt> XSDParticleImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; newElement
= ((XSDConcreteComponentImpl)theContent).createElement();</tt >
<br><tt> XSDParticleImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
XSDParticle substititonGroupMemberParticle = ((XSDParticleImpl)xsdParticle).getXSDFactory().createXSDPart icle(); </tt>
<br><tt> XSDParticleImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; (XSDParticleImpl)getXSDFactory().createXSDParticle();</tt>
<br><tt> XSDPatternFacetImpl.java:&nbsp;&nbsp;&nbsp;& nbsp;&nbsp; (XSDPatternFacetImpl)getXSDFactory().createXSDPatternFacet() ; </tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; Element contentElement
= ((XSDConcreteComponentImpl)xsdRedefineContent).createElement (); </tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; ((XSDSchemaImpl)xsdSchema).redefined(this);</tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
((XSDConcreteComponentImpl)xsdModelGroupDefinition).createDi agnostic </tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
if (!((XSDParticleImpl)xsdParticle).isSubset(otherXSDParticle, true))</tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdModelGroupDefinition).createDi agnostic </tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
((XSDConcreteComponentImpl)xsdParticle).createDiagnostic</tt >
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
XSDConcreteComponentImpl xsdConcreteComponent = (XSDConcreteComponentImpl)j.next();</tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).crea teDiagnostic </tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition,</tt >
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;
XSDConcreteComponentImpl xsdConcreteComponent = (XSDConcreteComponentImpl)j.next();</tt>
<br><tt> XSDRedefineImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; (XSDRedefineImpl)getXSDFactory().createXSDRedefine();</tt>
<br><tt> XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;
XSDSchema importedSchema = ((XSDImportImpl)xsdImport).importSchema();</tt>
<br><tt> XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;
((XSDSchemaImpl)incorporatedVersion).incorporate(xsdRedefine ); </tt>
<br><tt> XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp; XSDSchemaImpl
redefinedSchema = (XSDSchemaImpl)cloneConcreteComponent(true, true);</tt>
<br><tt> XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
XSDSchemaImpl incorporatedVersion = (XSDSchemaImpl)incorporatedVersions.next();</tt>
<br><tt> XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp; XSDSchemaImpl
includedSchema = (XSDSchemaImpl)cloneConcreteComponent(true, true);</tt>
<br><tt>XSDSchemaImpl.java:&nbsp;&nbsp;&nbsp; XSDSchemaImpl clonedSchema
= (XSDSchemaImpl)getXSDFactory().createXSDSchema();</tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
XSDComplexTypeDefinition xsdComplexTypeDefinition = (XSDComplexTypeDefinitionImpl)container;</tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;
((XSDConcreteComponentImpl)complexBaseTypeDefinition).analyz e(); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
((XSDTypeDefinitionImpl)theBaseTypeDefinition).analyze();</tt >
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDTypeDefinitionImpl)theItemTypeDefinition).analyze();</tt >
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
((XSDTypeDefinitionImpl)theMemberTypeDefinition).analyze();</tt >
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
((XSDComplexTypeDefinitionImpl)getContainer()).handleNewBase TypeDefinition(newComplexBaseTypeDefinition); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;
(XSDSimpleTypeDefinition)((XSDSchemaImpl)redefinedSchema).ge tRedefinitionMap().get(this); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
effectiveEnumerationFacet = (XSDEnumerationFacetImpl)getXSDFactory().createXSDEnumeratio nFacet(); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
effectivePatternFacet = (XSDPatternFacetImpl)getXSDFactory().createXSDPatternFacet() ; </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
XSDDiagnostic result = ((XSDConcreteComponentImpl)xsdConstrainingFacet).getXSDFacto ry().createXSDDiagnostic(); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
((XSDSimpleTypeDefinitionImpl)memberTypeDefinition).assess(n estedAssessment); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDSimpleTypeDefinitionImpl)getItemTypeDefinition()).asses s(nestedAssessment); </tt>
<br><tt> XSDSimpleTypeDefinitionImpl.java:&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
(XSDSimpleTypeDefinitionImpl)getXSDFactory().createXSDSimple TypeDefinition(); </tt>
<br><tt> XSDTotalDigitsFacetImpl.java:&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp; (XSDTotalDigitsFacetImpl)getXSDFactory().createXSDTotalDigit sFacet(); </tt>
<br><tt> XSDWhiteSpaceFacetImpl.java:&nbsp;&nbsp;&nbsp;&a mp;nbsp;&nbsp; (XSDWhiteSpaceFacetImpl)getXSDFactory().createXSDWhiteSpaceF acet(); </tt>
<br><tt> XSDWildcardImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;
((XSDSchemaImpl)getSchema()).resolveSchema(string);</tt>
<br><tt> XSDWildcardImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((XSDConcreteComponentImpl)getContainer()).isUpdatingDOM();</tt >
<br><tt> XSDWildcardImpl.java:&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp; (XSDWildcardImpl)getXSDFactory().createXSDWildcard();</tt>
<br><tt> XSDXPathDefinitionImpl.java:&nbsp;&nbsp;&nbsp;&a mp;nbsp;&nbsp; (XSDXPathDefinitionImpl)getXSDFactory().createXSDXPathDefini tion(); </tt></blockquote>
I'm not clear why you would need Java dynamic proxies for the XSD model
since we don't even use EMF proxies in the XSD model.&nbsp; With so many
places that cast to impls, I definitely need to understand better which
types of objects will be wrapped in Java dynamic proxies, and I guess I'd
really like to understand why it is necessary too, but perhaps that's none
of my business...
<br>&nbsp;
<p>Lance Phillips wrote:
<blockquote TYPE=CITE>Ed,
<br>&nbsp;&nbsp;&nbsp; We've run into a significant snag in our use of
XSD.&nbsp; If you recall, we
<br>are wrapping all of our EObject instances in java dynamic proxies.&nbsp;
This is
<br>a central piece of our implementation that we can not do without.&nbsp;
However,
<br>this requires that there be no casts to Impl classes in the EMF and
XSD
<br>code.&nbsp; The proxies are smart enough to pass instanceof checks
for the
<br>interfaces, but not the impls.&nbsp; The current place we are seeing
this problem
<br>is in XSDConcreteComponentImpl.adoptContent, near the end of the method
<br>there is a cast to XSDConcreteComponentImpl.
<p>&nbsp;&nbsp;&nbsp; Our only recourse is to override the classes and
methods where
<br>possible... but I don't even see a way to do that here since this method
<br>does not exist on the XSDConcreteComponent interface.
<p>thanks,
<p>Lance Phillips</blockquote>
</html>

--------------CE2150225FF773D197B5DF66--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Help with Xsd Metamodel
Next Topic:Help with XSDSimpleTypes
Goto Forum:
  


Current Time: Fri Aug 07 23:35:58 GMT 2020

Powered by FUDForum. Page generated in 0.02636 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top