本文整理了Java中org.codehaus.enunciate.config.WsdlInfo.lookupSchema()
方法的一些代码示例,展示了WsdlInfo.lookupSchema()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WsdlInfo.lookupSchema()
方法的具体详情如下:
包路径:org.codehaus.enunciate.config.WsdlInfo
类名称:WsdlInfo
方法名:lookupSchema
[英]Convenience method to lookup a namespace schema given a namespace.
[中]查找给定名称空间的名称空间架构的便捷方法。
代码示例来源:origin: org.codehaus.enunciate/enunciate-core
/**
* Get the schema associated with this WSDL.
*
* @return The schema associated with this WSDL.
*/
public SchemaInfo getAssociatedSchema() {
return lookupSchema(getTargetNamespace());
}
代码示例来源:origin: org.codehaus.enunciate/enunciate-full
/**
* Get the schema associated with this WSDL.
*
* @return The schema associated with this WSDL.
*/
public SchemaInfo getAssociatedSchema() {
return lookupSchema(getTargetNamespace());
}
代码示例来源:origin: org.codehaus.enunciate/enunciate-full
/**
* The list of imported schemas.
*
* @return The list of imported schemas.
*/
public List<SchemaInfo> getImportedSchemas() {
Set<String> importedNamespaces = getImportedNamespaces();
importedNamespaces.remove(getTargetNamespace()); //the "associated" schema is either inlined or included, but not imported.
List<SchemaInfo> schemas = new ArrayList<SchemaInfo>();
for (String ns : importedNamespaces) {
SchemaInfo schema = lookupSchema(ns);
if (schema != null) {
schemas.add(schema);
}
}
return schemas;
}
代码示例来源:origin: org.codehaus.enunciate/enunciate-core
/**
* The list of imported schemas.
*
* @return The list of imported schemas.
*/
public List<SchemaInfo> getImportedSchemas() {
Set<String> importedNamespaces = getImportedNamespaces();
importedNamespaces.remove(getTargetNamespace()); //the "associated" schema is either inlined or included, but not imported.
List<SchemaInfo> schemas = new ArrayList<SchemaInfo>();
for (String ns : importedNamespaces) {
SchemaInfo schema = lookupSchema(ns);
if (schema != null) {
schemas.add(schema);
}
}
return schemas;
}
内容来源于网络,如有侵权,请联系作者删除!