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

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

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

XmlSchemaSerializer.serializeSchemaElement介绍

暂无

代码示例

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

/**
 * Serialize an entire schema, returning an array of DOM Documents, one per XSL file. 
 * @param schemaObj The XML Schema.
 * @param serializeIncluded whether to create DOM trees for any included or imported 
 * schemas.
 * @return Documents. If serializeIncluded is false, the array with have one entry.
 * The main document is always first.
 * @throws XmlSchemaSerializerException
 */
public Document[] serializeSchema(XmlSchema schemaObj,
                     boolean serializeIncluded) throws XmlSchemaSerializerException {
  return serializeSchemaElement(schemaObj, serializeIncluded);
}

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

/**
 * Serialize an entire schema, returning an array of DOM Documents, one per XSL file.
 * @param schemaObj The XML Schema.
 * @param serializeIncluded whether to create DOM trees for any included or imported
 * schemas.
 * @return Documents. If serializeIncluded is false, the array with have one entry.
 * The main document is always first.
 * @throws XmlSchemaSerializerException
 */
public Document[] serializeSchema(XmlSchema schemaObj,
                     boolean serializeIncluded) throws XmlSchemaSerializerException {
  return serializeSchemaElement(schemaObj, serializeIncluded);
}

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

/**
 * *********************************************************************
 * Document[]  serializeSchema(XmlSchema schemaObj,
 * boolean serializeIncluded)
 * <p/>
 * Serialize XmlSchema object pass back the document containing a schema
 * element as its root.
 * <p/>
 * Parameter:
 * schemaObj - Schema object to serialize.
 * serialzeIncluded - whether to serialize the included(imported)
 * schema or not. pass true for serialize all included
 * schema.
 * <p/>
 * Return:
 * Array of Documents that include/imported.
 * **********************************************************************
 */
public Document[] serializeSchema(XmlSchema schemaObj,
                     boolean serializeIncluded) throws XmlSchemaSerializerException {
  return serializeSchemaElement(schemaObj, serializeIncluded);
}

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

importSeri.serializeSchemaElement(importObj.schema, serializeIncluded);
docs.addAll(importSeri.docs);

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

importSeri.serializeSchemaElement(importObj.schema, serializeIncluded);
docs.addAll(importSeri.docs);

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

importSeri.serializeSchemaElement(importObj.schema, serializeIncluded);
docs.addAll(importSeri.docs);

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

if (includedSchemaObj != null && serializeIncluded) {
  XmlSchemaSerializer includeSeri = new XmlSchemaSerializer();
  includeSeri.serializeSchemaElement(includedSchemaObj, true);

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

if (includedSchemaObj != null && serializeIncluded) {
  XmlSchemaSerializer includeSeri = new XmlSchemaSerializer();
  includeSeri.serializeSchemaElement(includedSchemaObj, true);

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

if (includedSchemaObj != null && serializeIncluded) {
  XmlSchemaSerializer includeSeri = new XmlSchemaSerializer();
  includeSeri.serializeSchemaElement(includedSchemaObj, true);

相关文章

XmlSchemaSerializer类方法