本文整理了Java中org.apache.ws.commons.schema.XmlSchemaSerializer.serializeAttributeGroupRef()
方法的一些代码示例,展示了XmlSchemaSerializer.serializeAttributeGroupRef()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlSchemaSerializer.serializeAttributeGroupRef()
方法的具体详情如下:
包路径:org.apache.ws.commons.schema.XmlSchemaSerializer
类名称:XmlSchemaSerializer
方法名:serializeAttributeGroupRef
[英]* Element serializeAttributeGroupRef(Document doc, XmlSchemaAttributeGroupRef attributeGroupObj, XmlSchema schema) throws XmlSchemaSerializerException
Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.
Parameter: doc - Document the parent use. attributeGroupObj - XmlSchemaAttributeGroupRef that will be serialized. schema - Schema Document object of the parent.
Return: Element of attribute group ref that part of type. *
[中]元素serializeAttributeGroupRef(文档文档文档,XmlSchemaAttributeGroupRef attributeGroupObj,XmlSchema schema)引发XmlSchemaSerializerException
每个复杂类型的成员都将被追加并传递所创建的元素。根据w3c 2001年5月2日建议处理的复杂类型。
参数:doc-记录父级使用。attributeGroupObj-将被序列化的XmlSchemaAttributeGroupRef。schema-父级的schema文档对象。
Return:属性组的元素引用类型的该部分
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
void setupAttr(Document doc, XmlSchemaObjectCollection collectionObj,
XmlSchema schema, Element container) throws XmlSchemaSerializerException {
int collectionLength = collectionObj.getCount();
for (int i = 0; i < collectionLength; i++) {
XmlSchemaObject obj = collectionObj.getItem(i);
if (obj instanceof XmlSchemaAttribute) {
XmlSchemaAttribute attr = (XmlSchemaAttribute) obj;
Element attrEl = serializeAttribute(doc, attr, schema);
container.appendChild(attrEl);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
XmlSchemaAttributeGroupRef attr = (XmlSchemaAttributeGroupRef) obj;
Element attrEl = serializeAttributeGroupRef(doc, attr, schema);
container.appendChild(attrEl);
}
}
}
代码示例来源:origin: org.apache.ws.schema/XmlSchema
void setupAttr(Document doc, XmlSchemaObjectCollection collectionObj,
XmlSchema schema, Element container) throws XmlSchemaSerializerException {
int collectionLength = collectionObj.getCount();
for (int i = 0; i < collectionLength; i++) {
XmlSchemaObject obj = collectionObj.getItem(i);
if (obj instanceof XmlSchemaAttribute) {
XmlSchemaAttribute attr = (XmlSchemaAttribute) obj;
Element attrEl = serializeAttribute(doc, attr, schema);
container.appendChild(attrEl);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
XmlSchemaAttributeGroupRef attr = (XmlSchemaAttributeGroupRef) obj;
Element attrEl = serializeAttributeGroupRef(doc, attr, schema);
container.appendChild(attrEl);
}
}
}
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
void setupAttr(Document doc, XmlSchemaObjectCollection collectionObj,
XmlSchema schema, Element container) throws XmlSchemaSerializerException {
int collectionLength = collectionObj.getCount();
for (int i = 0; i < collectionLength; i++) {
XmlSchemaObject obj = collectionObj.getItem(i);
if (obj instanceof XmlSchemaAttribute) {
XmlSchemaAttribute attr = (XmlSchemaAttribute) obj;
Element attrEl = serializeAttribute(doc, attr, schema);
container.appendChild(attrEl);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
XmlSchemaAttributeGroupRef attr = (XmlSchemaAttributeGroupRef) obj;
Element attrEl = serializeAttributeGroupRef(doc, attr, schema);
container.appendChild(attrEl);
}
}
}
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
attributeGroup.appendChild(attr);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attrGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
attributeGroup.appendChild(attrGroup);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
attributeGroup.appendChild(attr);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attrGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
attributeGroup.appendChild(attrGroup);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
attributeGroup.appendChild(attr);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attrGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
attributeGroup.appendChild(attrGroup);
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
extension.appendChild(attribute);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attributeGroupRef = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
extension.appendChild(attributeGroupRef);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
extension.appendChild(attribute);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attributeGroupRef = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
extension.appendChild(attributeGroupRef);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
extension.appendChild(attribute);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attributeGroupRef = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
extension.appendChild(attributeGroupRef);
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
redefine.appendChild(attributeGroup);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attributeGroupRef = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
redefine.appendChild(attributeGroupRef);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
redefine.appendChild(attributeGroup);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attributeGroupRef = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
redefine.appendChild(attributeGroupRef);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
redefine.appendChild(attributeGroup);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attributeGroupRef = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
redefine.appendChild(attributeGroupRef);
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
restriction.appendChild(attr);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attrGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
restriction.appendChild(attrGroup);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
restriction.appendChild(attr);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attrGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
restriction.appendChild(attrGroup);
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
extension.appendChild(attr);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attrGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
extension.appendChild(attrGroup);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
extension.appendChild(attr);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attrGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
extension.appendChild(attrGroup);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
extension.appendChild(attr);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attrGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
extension.appendChild(attrGroup);
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
restriction.appendChild(attribute);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attributeGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
restriction.appendChild(attributeGroup);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
restriction.appendChild(attribute);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attributeGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
restriction.appendChild(attributeGroup);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
restriction.appendChild(attribute);
} else if (obj instanceof XmlSchemaAttributeGroupRef) {
Element attributeGroup = serializeAttributeGroupRef(doc,
(XmlSchemaAttributeGroupRef) obj, schema);
restriction.appendChild(attributeGroup);
内容来源于网络,如有侵权,请联系作者删除!