本文整理了Java中org.apache.ws.commons.schema.XmlSchemaSerializer.serializeSimpleTypeRestriction()
方法的一些代码示例,展示了XmlSchemaSerializer.serializeSimpleTypeRestriction()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlSchemaSerializer.serializeSimpleTypeRestriction()
方法的具体详情如下:
包路径:org.apache.ws.commons.schema.XmlSchemaSerializer
类名称:XmlSchemaSerializer
方法名:serializeSimpleTypeRestriction
[英]* Element serializeSimpleTypeRestriction(Document doc, XmlSchemaSimpleTypeRestriction restrictionObj, XmlSchema schema) throws XmlSchemaSerializerException{
Each member of simple type will be appended and pass the element created. Simple type's processed according to w3c Recommendation May 2 2001.
Parameter: doc - Document the parent use. restrictionObj - XmlSchemaRestriction that will be serialized. schema - Schema Document object of the parent.
Return: Element of simple type restriction and its child. *
[中]元素serializeSimpleTypeRestriction(文档文档文档,XmlSchemaSimpleTypeRestrictionObj,XmlSchema schema)引发XmlSchemaSerializerException{
每个简单类型的成员都将被追加并传递所创建的元素。根据w3c 2001年5月2日的建议处理简单类型。
参数:doc-记录父级使用。restrictionObj-XmlSchemaRestriction将被序列化。schema-父级的schema文档对象。
Return:简单类型限制的元素及其子元素
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
Element restEl = serializeSimpleTypeRestriction(doc,
(XmlSchemaSimpleTypeRestriction) simpleTypeObj.content,
schema);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
Element restEl = serializeSimpleTypeRestriction(doc,
(XmlSchemaSimpleTypeRestriction) simpleTypeObj.content,
schema);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
Element restEl = serializeSimpleTypeRestriction(doc,
(XmlSchemaSimpleTypeRestriction) simpleTypeObj.content,
schema);
内容来源于网络,如有侵权,请联系作者删除!