javax.wsdl.extensions.schema.Schema.getRedefines()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(123)

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

Schema.getRedefines介绍

[英]Get a list containing all of the redefines defined here. The list elements are schema references.
[中]获取包含此处定义的所有重定义的列表。列表元素是模式引用。

代码示例

代码示例来源:origin: wsdl4j/wsdl4j

allSchemaRefs.addAll(schema.getRedefines());

代码示例来源:origin: org.ow2.orchestra/orchestra-utils

final Element redefineElt = (Element) redefinesNl.item(i);
if (redefineElt.hasAttribute("schemaLocation")) {
 for (final SchemaReference schemaReference : (List<SchemaReference>) schema.getRedefines()) {
  if (schemaReference.getSchemaLocationURI() != null
    && schemaReference.getSchemaLocationURI().equals(redefineElt.getAttribute("schemaLocation"))) {

代码示例来源:origin: apache/cxf

protected void updateSchemaImports(Bus bus,
                  Schema schema,
                  String docBase,
                  Map<String, SchemaReference> doneSchemas,
                  String base,
                  String parentResolved) {
  Collection<List<?>>  imports = CastUtils.cast((Collection<?>)schema.getImports().values());
  for (List<?> lst : imports) {
    List<SchemaImport> impLst = CastUtils.cast(lst);
    for (SchemaImport imp : impLst) {
      processSchemaReference(imp, bus, schema, docBase, doneSchemas, base, parentResolved);
    }
  }
  List<SchemaReference> includes = CastUtils.cast(schema.getIncludes());
  for (SchemaReference included : includes) {
    processSchemaReference(included, bus, schema, docBase, doneSchemas, base, parentResolved);
  }
  List<SchemaReference> redefines = CastUtils.cast(schema.getRedefines());
  for (SchemaReference included : redefines) {
    processSchemaReference(included, bus, schema, docBase, doneSchemas, base, parentResolved);
  }
}

代码示例来源:origin: org.apache.cxf/cxf-rt-frontend-simple

protected void updateSchemaImports(Bus bus,
                  Schema schema,
                  String docBase,
                  Map<String, SchemaReference> doneSchemas,
                  String base,
                  String parentResolved) {
  Collection<List<?>>  imports = CastUtils.cast((Collection<?>)schema.getImports().values());
  for (List<?> lst : imports) {
    List<SchemaImport> impLst = CastUtils.cast(lst);
    for (SchemaImport imp : impLst) {
      processSchemaReference(imp, bus, schema, docBase, doneSchemas, base, parentResolved);
    }
  }
  List<SchemaReference> includes = CastUtils.cast(schema.getIncludes());
  for (SchemaReference included : includes) {
    processSchemaReference(included, bus, schema, docBase, doneSchemas, base, parentResolved);
  }
  List<SchemaReference> redefines = CastUtils.cast(schema.getRedefines());
  for (SchemaReference included : redefines) {
    processSchemaReference(included, bus, schema, docBase, doneSchemas, base, parentResolved);
  }
}

代码示例来源:origin: org.mule.modules/mule-module-cxf

List<SchemaReference> redefines = CastUtils.cast(schema.getRedefines());
for (SchemaReference included : redefines) {
  String start = included.getSchemaLocationURI();

代码示例来源:origin: org.jboss.ws.native/jbossws-native-core

allSchemaRefs.addAll(schema.getRedefines());

代码示例来源:origin: org.wso2.wsdl4j/wsdl4j

allSchemaRefs.addAll(schema.getRedefines());

相关文章