/* */ {
/* 208 */ this.attributeForm = jbossXmlSchema.attributeFormDefault();
/* 209 */ this.elementForm = jbossXmlSchema.elementFormDefault();
/* */ }
/* */
/* 213 */ PackageInfo packageInfo = this.root.getPackage();
/* 214 */ if (packageInfo != null)
/* */ {
/* 216 */ jbossXmlSchema = (JBossXmlSchema)this.root.getUnderlyingAnnotation(JBossXmlSchema.class);
/* 217 */ if (jbossXmlSchema != null)
/* */ {
/* 219 */ if (this.attributeForm == XmlNsForm.UNSET)
/* 220 */ this.attributeForm = jbossXmlSchema.attributeFormDefault();
/* 221 */ if (this.elementForm == XmlNsForm.UNSET) {
/* 222 */ this.elementForm = jbossXmlSchema.elementFormDefault();
/* */ }
/* */ }
/* 225 */ XmlSchema xmlSchema = (XmlSchema)packageInfo.getUnderlyingAnnotation(XmlSchema.class);
/* 226 */ if (xmlSchema != null)
/* */ {
/* 228 */ String namespace = xmlSchema.namespace();
/* 229 */ if ((!"##default".equals(xmlSchema)) && ("".equals(this.defaultNamespace)))
/* */ {
/* 231 */ this.defaultNamespace = namespace;
/* 232 */ addNamespace(this.defaultNamespace, true);
/* */ }
/* */
/* 235 */ if (this.attributeForm == XmlNsForm.UNSET)
/* 236 */ this.attributeForm = xmlSchema.attributeFormDefault();
/* 237 */ if (this.elementForm == XmlNsForm.UNSET) {
/* 238 */ this.elementForm = xmlSchema.elementFormDefault();
/* */ }
/* */ }
/* */
/* 242 */ JBossXmlAdaptedTypes adaptedTypes = (JBossXmlAdaptedTypes)packageInfo.getUnderlyingAnnotation(JBossXmlAdaptedTypes.class);
/* 243 */ if (adaptedTypes != null)
/* */ {
/* 245 */ for (JBossXmlAdaptedType adaptedType : adaptedTypes.value())
/* 246 */ generateAdaptedType(adaptedType);
/* */ }
/* 248 */ JBossXmlAdaptedType adaptedType = (JBossXmlAdaptedType)packageInfo.getUnderlyingAnnotation(JBossXmlAdaptedType.class);
/* 249 */ if (adaptedType != null)
/* 250 */ generateAdaptedType(adaptedType);
/* */ }
/* */ }