org.apache.ws.commons.schema.XmlSchemaSerializer.serializeComplexType()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(100)

本文整理了Java中org.apache.ws.commons.schema.XmlSchemaSerializer.serializeComplexType()方法的一些代码示例,展示了XmlSchemaSerializer.serializeComplexType()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlSchemaSerializer.serializeComplexType()方法的具体详情如下:
包路径:org.apache.ws.commons.schema.XmlSchemaSerializer
类名称:XmlSchemaSerializer
方法名:serializeComplexType

XmlSchemaSerializer.serializeComplexType介绍

[英]* Element serializeComplexType(Document doc, XmlSchemaComplexType complexTypeObj, 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. complexTypeObj - XmlSchemaFacet that will be serialized. schema - Schema Document object of the parent.

Return: Element of complexType. *
[中]元素serializeComplexType(Document doc,XmlSchemaComplexType complexTypeObj,XmlSchema schema)抛出XmlSchemaSerializerException{
每个复杂类型的成员都将被追加并传递所创建的元素。根据w3c 2001年5月2日建议处理的复杂类型。
参数:doc-记录父级使用。complexTypeObj-将被序列化的XmlSchemaFacet。schema-父级的schema文档对象。
Return:complexType的元素

代码示例

代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema

serializedSchema.appendChild(e);
} else if (obj instanceof XmlSchemaComplexType) {
  Element e = serializeComplexType(serializedSchemaDocs,
      (XmlSchemaComplexType) obj, schemaObj);
  serializedSchema.appendChild(e);

代码示例来源:origin: org.apache.ws.schema/XmlSchema

serializedSchema.appendChild(e);
} else if (obj instanceof XmlSchemaComplexType) {
  Element e = serializeComplexType(serializedSchemaDocs,
      (XmlSchemaComplexType) obj, schemaObj);
  serializedSchema.appendChild(e);

代码示例来源:origin: org.apache.ws.schema/XmlSchema

if (elementObj.schemaType instanceof XmlSchemaComplexType) {
  Element complexType = serializeComplexType(doc,
      (XmlSchemaComplexType) elementObj.schemaType, schema);
  serializedEl.appendChild(complexType);

代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema

if (elementObj.schemaType instanceof XmlSchemaComplexType) {
  Element complexType = serializeComplexType(doc,
      (XmlSchemaComplexType) elementObj.schemaType, schema);
  serializedEl.appendChild(complexType);

代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

if (elementObj.schemaType instanceof XmlSchemaComplexType) {
  Element complexType = serializeComplexType(doc,
      (XmlSchemaComplexType) elementObj.schemaType, schema);
  serializedEl.appendChild(complexType);

代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

serializedSchema.appendChild(e);
} else if (obj instanceof XmlSchemaComplexType) {
  Element e = serializeComplexType(serializedSchemaDocs,
      (XmlSchemaComplexType) obj, schemaObj);
  serializedSchema.appendChild(e);

代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema

redefine.appendChild(simpleType);
} else if (obj instanceof XmlSchemaComplexType) {
  Element complexType = serializeComplexType(doc,
      (XmlSchemaComplexType) obj, schema);
  redefine.appendChild(complexType);

代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

redefine.appendChild(simpleType);
} else if (obj instanceof XmlSchemaComplexType) {
  Element complexType = serializeComplexType(doc,
      (XmlSchemaComplexType) obj, schema);
  redefine.appendChild(complexType);

代码示例来源:origin: org.apache.ws.schema/XmlSchema

redefine.appendChild(simpleType);
} else if (obj instanceof XmlSchemaComplexType) {
  Element complexType = serializeComplexType(doc,
      (XmlSchemaComplexType) obj, schema);
  redefine.appendChild(complexType);

相关文章

XmlSchemaSerializer类方法