本文整理了Java中org.apache.ws.commons.schema.XmlSchemaSerializer.serializeAll()
方法的一些代码示例,展示了XmlSchemaSerializer.serializeAll()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlSchemaSerializer.serializeAll()
方法的具体详情如下:
包路径:org.apache.ws.commons.schema.XmlSchemaSerializer
类名称:XmlSchemaSerializer
方法名:serializeAll
[英]* Element serializeAll(Document doc, XmlSchemaAll allObj, 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. allObj - XmlSchemaAll that will be serialized. schema - Schema Document object of the parent.
Return: Element of particle all. *
[中]元素serializeAll(Document doc,XmlSchemaAll allObj,XmlSchema schema)抛出XmlSchemaSerializerException{
每个复杂类型的成员都将被追加并传递所创建的元素。根据w3c 2001年5月2日建议处理的复杂类型。
参数:doc-记录父级使用。allObj-XmlSchemaAll,将被序列化。schema-父级的schema文档对象。
Return:particle all的元素
代码示例来源:origin: org.apache.ws.schema/XmlSchema
group.appendChild(choice);
} else if (groupObj.particle instanceof XmlSchemaAll) {
Element all = serializeAll(doc,
(XmlSchemaAll) groupObj.particle, schema);
group.appendChild(all);
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
group.appendChild(choice);
} else if (groupObj.particle instanceof XmlSchemaAll) {
Element all = serializeAll(doc,
(XmlSchemaAll) groupObj.particle, schema);
group.appendChild(all);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
group.appendChild(choice);
} else if (groupObj.particle instanceof XmlSchemaAll) {
Element all = serializeAll(doc,
(XmlSchemaAll) groupObj.particle, schema);
group.appendChild(all);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
serializedComplexType.appendChild(choice);
} else if (complexTypeObj.particle instanceof XmlSchemaAll) {
Element all = serializeAll(doc,
(XmlSchemaAll) complexTypeObj.particle, schema);
serializedComplexType.appendChild(all);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
serializedComplexType.appendChild(choice);
} else if (complexTypeObj.particle instanceof XmlSchemaAll) {
Element all = serializeAll(doc,
(XmlSchemaAll) complexTypeObj.particle, schema);
serializedComplexType.appendChild(all);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
serializeSequence(doc,(XmlSchemaSequence) groupRefObj.particle, schema);
else if (groupRefObj.particle instanceof XmlSchemaAll)
serializeAll(doc,(XmlSchemaAll) groupRefObj.particle, schema);
else
throw new XmlSchemaSerializerException("The content of group "
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
serializedComplexType.appendChild(choice);
} else if (complexTypeObj.particle instanceof XmlSchemaAll) {
Element all = serializeAll(doc,
(XmlSchemaAll) complexTypeObj.particle, schema);
serializedComplexType.appendChild(all);
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
restriction.appendChild(choiceParticle);
} else if (restrictionObj.particle instanceof XmlSchemaAll) {
Element allParticle = serializeAll(doc,
(XmlSchemaAll) restrictionObj.particle, schema);
restriction.appendChild(allParticle);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
restriction.appendChild(choiceParticle);
} else if (restrictionObj.particle instanceof XmlSchemaAll) {
Element allParticle = serializeAll(doc,
(XmlSchemaAll) restrictionObj.particle, schema);
restriction.appendChild(allParticle);
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
extension.appendChild(choiceParticle);
} else if (extensionObj.particle instanceof XmlSchemaAll) {
Element allParticle = serializeAll(doc,
(XmlSchemaAll) extensionObj.particle, schema);
extension.appendChild(allParticle);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
restriction.appendChild(choiceParticle);
} else if (restrictionObj.particle instanceof XmlSchemaAll) {
Element allParticle = serializeAll(doc,
(XmlSchemaAll) restrictionObj.particle, schema);
restriction.appendChild(allParticle);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
extension.appendChild(choiceParticle);
} else if (extensionObj.particle instanceof XmlSchemaAll) {
Element allParticle = serializeAll(doc,
(XmlSchemaAll) extensionObj.particle, schema);
extension.appendChild(allParticle);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
extension.appendChild(choiceParticle);
} else if (extensionObj.particle instanceof XmlSchemaAll) {
Element allParticle = serializeAll(doc,
(XmlSchemaAll) extensionObj.particle, schema);
extension.appendChild(allParticle);
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
serializeSequence(doc,(XmlSchemaSequence) groupRefObj.particle, schema);
else if (groupRefObj.particle instanceof XmlSchemaAll)
serializeAll(doc,(XmlSchemaAll) groupRefObj.particle, schema);
else
throw new XmlSchemaSerializerException("The content of group "
代码示例来源:origin: org.apache.ws.schema/XmlSchema
serializeSequence(doc,(XmlSchemaSequence) groupRefObj.particle, schema);
else if (groupRefObj.particle instanceof XmlSchemaAll)
serializeAll(doc,(XmlSchemaAll) groupRefObj.particle, schema);
else
throw new XmlSchemaSerializerException("The content of group "
内容来源于网络,如有侵权,请联系作者删除!