processElement(property, classOutline, field, (ElementDecl) term); } else if (term instanceof DelayedRef.Element) { XSElementDecl xsElementDecl = ((DelayedRef.Element) term).get(); processElement(property, classOutline, field, (ElementDecl) xsElementDecl);
/** * Processes an xsd element. * <p> * Example: * <xsd:element name="someCollection" minOccurs="1" maxOccurs="unbounded"/> */ private void processElement(CElementPropertyInfo propertyInfo, ClassOutline co, List<FacetCustomization> customizations) { XSParticle particle = (XSParticle) propertyInfo.getSchemaComponent(); JFieldVar fieldVar = co.implClass.fields().get(propertyInfo.getName(false)); processMinMaxOccurs(particle, fieldVar); XSTerm term = particle.getTerm(); if (term instanceof XSElementDecl) { processTermElement(particle, fieldVar, (XSElementDecl) term, customizations); // When a complex type resides inside another complex type and thus gets lazily loaded or processed. } else if (term instanceof DelayedRef.Element) { processTermElement(particle, fieldVar, ((DelayedRef.Element) term).get(), customizations); } }
public XSTerm getTerm() { return get(); } }
public XSTerm getTerm() { return get(); } }
public XSTerm getTerm() { return get(); } }
public XSTerm getTerm() { return get(); } }
public XSTerm getTerm() { return get(); } }
/** * Processes an xsd element. * <p> * Example: * <xsd:element name="someCollection" minOccurs="1" maxOccurs="unbounded"/> */ private void processElement(CElementPropertyInfo propertyInfo, ClassOutline co, List<FacetCustomization> customizations) { XSParticle particle = (XSParticle) propertyInfo.getSchemaComponent(); JFieldVar fieldVar = co.implClass.fields().get(propertyInfo.getName(false)); processMinMaxOccurs(particle, fieldVar); XSTerm term = particle.getTerm(); if (term instanceof XSElementDecl) processTermElement(fieldVar, (XSElementDecl) term, customizations); // When a complex type resides inside another complex type and thus gets lazily loaded or processed. else if (term instanceof DelayedRef.Element) processTermElement(fieldVar, ((DelayedRef.Element) term).get(), customizations); }
private void action2()throws SAXException { substHeadRef = new DelayedRef.Element( $runtime, locator, $runtime.currentSchema, substRef ); }
private void action2()throws SAXException { substHeadRef = new DelayedRef.Element( $runtime, locator, $runtime.currentSchema, substRef ); }
private void action2()throws SAXException { substHeadRef = new DelayedRef.Element( $runtime, locator, $runtime.currentSchema, substRef ); }
private void action3()throws SAXException { result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.Element( $runtime, loc, $runtime.currentSchema, elementTypeName ), loc, occurs.max, occurs.min ); }
private void action3()throws SAXException { result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.Element( $runtime, loc, $runtime.currentSchema, elementTypeName ), loc, occurs.max, occurs.min ); }
private void action3()throws SAXException { result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.Element( $runtime, loc, $runtime.currentSchema, elementTypeName ), loc, occurs.max, occurs.min ); }
private void action2()throws SAXException { substHeadRef = new DelayedRef.Element( $runtime, locator, $runtime.currentSchema, substRef ); }
private void action3()throws SAXException { result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.Element( $runtime, loc, $runtime.currentSchema, elementTypeName ), loc, occurs.max, occurs.min ); }
private void action3()throws SAXException { result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.Element( $runtime, loc, $runtime.currentSchema, elementTypeName ), loc, occurs.max, occurs.min ); }
private void action2()throws SAXException { substHeadRef = new DelayedRef.Element( $runtime, locator, $runtime.currentSchema, substRef ); }