Vector elements = te.getContainedElements();
Vector elements = te.getContainedElements();
private ComplexTypeDescriptor constructComplexType(DefinedElement type) { ComplexTypeDescriptor result = new ComplexTypeDescriptor(); if (cachedComplexTypes.get(type.getQName().toString()) != null) { result = copyFromCache(type.getQName().toString()); } else { // caching the type is not really to improve performance, but is // to handle types that contain elements that reference // itself or another parent. Without the caching, this could lead to // infinate // recursion. cachedComplexTypes.put(type.getQName().toString(), result); result.setType(type.getQName().getLocalPart()); result.setQname(type.getQName()); List containedElements = type.getRefType().getContainedElements(); if (containedElements != null) { result.getElements().addAll( constructElements(containedElements)); } } return result; }
Vector elements = te.getContainedElements();
/** * getBeanWriter * * @param emitter * @param type * @param base * @return */ protected JavaWriter getBeanWriter(Emitter emitter, TypeEntry type, TypeEntry base) { // CONTAINED_ELEM_AND_ATTR Vector elements = type.getContainedElements(); Vector attributes = type.getContainedAttributes(); // If this complexType is referenced in a // fault context, emit a bean-like exception // class Boolean isComplexFault = (Boolean) type.getDynamicVar( JavaGeneratorFactory.COMPLEX_TYPE_FAULT); if ((isComplexFault != null) && isComplexFault.booleanValue()) { return new JavaBeanFaultWriter(emitter, type, elements, base, attributes, getBeanHelperWriter(emitter, type, elements, base, attributes, true)); } return new JavaBeanWriter(emitter, type, elements, base, attributes, getBeanHelperWriter(emitter, type, elements, base, attributes, false)); }
/** * getBeanWriter * * @param emitter * @param type * @param base * @return */ protected JavaWriter getBeanWriter(Emitter emitter, TypeEntry type, TypeEntry base) { // CONTAINED_ELEM_AND_ATTR Vector elements = type.getContainedElements(); Vector attributes = type.getContainedAttributes(); // If this complexType is referenced in a // fault context, emit a bean-like exception // class Boolean isComplexFault = (Boolean) type.getDynamicVar( JavaGeneratorFactory.COMPLEX_TYPE_FAULT); if ((isComplexFault != null) && isComplexFault.booleanValue()) { return new JavaBeanFaultWriter(emitter, type, elements, base, attributes, getBeanHelperWriter(emitter, type, elements, base, attributes, true)); } return new JavaBeanWriter(emitter, type, elements, base, attributes, getBeanHelperWriter(emitter, type, elements, base, attributes, false)); }
/** * getBeanWriter * * @param emitter * @param type * @param base * @return */ protected JavaWriter getBeanWriter(Emitter emitter, TypeEntry type, TypeEntry base) { // CONTAINED_ELEM_AND_ATTR Vector elements = type.getContainedElements(); Vector attributes = type.getContainedAttributes(); // If this complexType is referenced in a // fault context, emit a bean-like exception // class Boolean isComplexFault = (Boolean) type.getDynamicVar( JavaGeneratorFactory.COMPLEX_TYPE_FAULT); if ((isComplexFault != null) && isComplexFault.booleanValue()) { return new JavaBeanFaultWriter(emitter, type, elements, base, attributes, getBeanHelperWriter(emitter, type, elements, base, attributes, true)); } return new JavaBeanWriter(emitter, type, elements, base, attributes, getBeanHelperWriter(emitter, type, elements, base, attributes, false)); }
parentIsMixed = true; Vector hisElements = parent.getContainedElements(); for (int i = 0; hisElements != null && i < hisElements.size(); i++) { ElementDecl elem = (ElementDecl) hisElements.get(i);
parentIsMixed = true; Vector hisElements = parent.getContainedElements(); for (int i = 0; hisElements != null && i < hisElements.size(); i++) { ElementDecl elem = (ElementDecl) hisElements.get(i);
parentIsMixed = true; Vector hisElements = parent.getContainedElements(); for (int i = 0; hisElements != null && i < hisElements.size(); i++) { ElementDecl elem = (ElementDecl) hisElements.get(i);
Vector elements = tEntry.getContainedElements(); if (elements != null) { for (int i = 0; i < elements.size(); i++) {
Vector elements = tEntry.getContainedElements(); if (elements != null) { for (int i = 0; i < elements.size(); i++) {
Vector elements = tEntry.getContainedElements(); if (elements != null) { for (int i = 0; i < elements.size(); i++) {
vTypes = typeEntry.getContainedElements();
vTypes = typeEntry.getContainedElements();
vTypes = typeEntry.getContainedElements();
Vector elements = type.getContainedElements(); Vector attributes = type.getContainedAttributes();