本文整理了Java中org.apache.ws.commons.schema.XmlSchemaSerializer.serializeFacet()
方法的一些代码示例,展示了XmlSchemaSerializer.serializeFacet()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlSchemaSerializer.serializeFacet()
方法的具体详情如下:
包路径:org.apache.ws.commons.schema.XmlSchemaSerializer
类名称:XmlSchemaSerializer
方法名:serializeFacet
[英]* Element serializeFacet(Document doc, XmlSchemaFacet facetObj, XmlSchema schema) throws XmlSchemaSerializerException{
detect what type of facet and cass appropriatelly, construct the element and pass it.
Parameter: doc - Document the parent use. facetObj - XmlSchemaFacet that will be serialized. schema - Schema Document object of the parent.
Return: Element of simple type with facet. *
[中]元素serializeFacet(文档文档文档,XmlSchemaFacet facetObj,XmlSchema schema)抛出XmlSchemaSerializerException{
检测合适的刻面和cass类型,构造元素并传递它。
参数:doc-记录父级使用。facetObj——将被序列化的XmlSchemaFacet。schema-父级的schema文档对象。
Return:带有facet的简单类型元素
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
int facetLength = facets.getCount();
for (int i = 0; i < facetLength; i++) {
Element facet = serializeFacet(doc,
(XmlSchemaFacet) facets.getItem(i), schema);
restriction.appendChild(facet);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
int facetLength = facets.getCount();
for (int i = 0; i < facetLength; i++) {
Element facet = serializeFacet(doc,
(XmlSchemaFacet) facets.getItem(i), schema);
restriction.appendChild(facet);
代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema
int facetsNum = restrictionObj.facets.getCount();
for (int i = 0; i < facetsNum; i++) {
Element facetEl = serializeFacet(doc,
(XmlSchemaFacet) restrictionObj.facets.getItem(i), schema);
serializedRestriction.appendChild(facetEl);
代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema
int facetsNum = restrictionObj.facets.getCount();
for (int i = 0; i < facetsNum; i++) {
Element facetEl = serializeFacet(doc,
(XmlSchemaFacet) restrictionObj.facets.getItem(i), schema);
serializedRestriction.appendChild(facetEl);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
int facetsNum = restrictionObj.facets.getCount();
for (int i = 0; i < facetsNum; i++) {
Element facetEl = serializeFacet(doc,
(XmlSchemaFacet) restrictionObj.facets.getItem(i), schema);
serializedRestriction.appendChild(facetEl);
代码示例来源:origin: org.apache.ws.schema/XmlSchema
int facetLength = facets.getCount();
for (int i = 0; i < facetLength; i++) {
Element facet = serializeFacet(doc,
(XmlSchemaFacet) facets.getItem(i), schema);
restriction.appendChild(facet);
内容来源于网络,如有侵权,请联系作者删除!