private Element constructFacet(XmlSchemaFacet facetObj, Document doc, XmlSchema schema, String tagName) { Element facetEl = createNewElement(doc, tagName, schema.schema_ns_prefix, XmlSchema.SCHEMA_NS); facetEl.setAttribute("value", facetObj.value.toString()); if (facetObj.fixed) facetEl.setAttribute("fixed", "true"); if (facetObj.annotation != null) { Element annotation = serializeAnnotation(doc, facetObj.annotation, schema); facetEl.appendChild(annotation); } return facetEl; }
private Element constructFacet(XmlSchemaFacet facetObj, Document doc, XmlSchema schema, String tagName) { Element facetEl = createNewElement(doc, tagName, schema.schema_ns_prefix, XmlSchema.SCHEMA_NS); facetEl.setAttribute("value", facetObj.value.toString()); if (facetObj.fixed) facetEl.setAttribute("fixed", "true"); if (facetObj.annotation != null) { Element annotation = serializeAnnotation(doc, facetObj.annotation, schema); facetEl.appendChild(annotation); } return facetEl; }
private Element constructFacet(XmlSchemaFacet facetObj, Document doc, XmlSchema schema, String tagName) { Element facetEl = createNewElement(doc, tagName, schema.schema_ns_prefix, XmlSchema.SCHEMA_NS); facetEl.setAttribute("value", facetObj.value.toString()); if (facetObj.fixed) facetEl.setAttribute("fixed", "true"); if (facetObj.annotation != null) { Element annotation = serializeAnnotation(doc, facetObj.annotation, schema); facetEl.appendChild(annotation); } return facetEl; }
Element annotation = serializeAnnotation(doc, importObj.annotation, schema);
Element annotation = serializeAnnotation(doc, fieldObj.annotation, schema); field.appendChild(annotation);
Element annotation = serializeAnnotation(doc, fieldObj.annotation, schema); field.appendChild(annotation);
Element annotation = serializeAnnotation(doc, selectorObj.annotation, schema); selector.appendChild(annotation);
Element annotation = serializeAnnotation(doc, selectorObj.annotation, schema); selector.appendChild(annotation);
Element annotation = serializeAnnotation(doc, fieldObj.annotation, schema); field.appendChild(annotation);
Element annotation = serializeAnnotation(doc, listObj.annotation, schema); list.appendChild(annotation);
Element annotation = serializeAnnotation(doc, listObj.annotation, schema); list.appendChild(annotation);
Element annotation = serializeAnnotation(doc, selectorObj.annotation, schema); selector.appendChild(annotation);
Element annotation = serializeAnnotation(doc, listObj.annotation, schema); list.appendChild(annotation);
Element annotation = serializeAnnotation(doc, anyObj.annotation, schema); anyEl.appendChild(annotation);
Element annotation = serializeAnnotation(doc, attributeGroupObj.annotation, schema); attributeGroupRef.appendChild(annotation);
Element annotation = serializeAnnotation(doc, includeObj.annotation, schema); includeEl.appendChild(annotation);
Element annotation = serializeAnnotation(doc, includeObj.annotation, schema); includeEl.appendChild(annotation);
Element annotation = serializeAnnotation(doc, complexContentObj.annotation, schema); complexContent.appendChild(annotation);
Element annotation = serializeAnnotation(doc, allObj.annotation, schema); allEl.appendChild(annotation);
Element annotation = serializeAnnotation(doc, groupRefObj.annotation, schema); groupRef.appendChild(annotation);