org.apache.ws.commons.schema.XmlSchemaRedefine类的使用及代码示例

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

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

XmlSchemaRedefine介绍

[英]Allows simple and complex types, groups, and attribute groups from external schema files to be redefined in the current schema. This class provides versioning for the schema elements. Represents the World Wide Web Consortium (W3C) redefine element.
[中]允许在当前架构中重新定义外部架构文件中的简单和复杂类型、组和属性组。此类为模式元素提供版本控制。代表万维网联盟(W3C)重新定义元素。

代码示例

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

private XmlSchemaRedefine handleRedefine(XmlSchema schema,
                     Element redefineEl, Element schemaEl) {
  XmlSchemaRedefine redefine = new XmlSchemaRedefine();
  redefine.schemaLocation =
      redefineEl.getAttribute("schemaLocation");
    } else if (el.getLocalName().equals("annotation")) {
      XmlSchemaAnnotation annotation = handleAnnotation(el);
      redefine.setAnnotation(annotation);

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

} else if (ext instanceof XmlSchemaRedefine) {
  SchemaReference imp = schemaImpl.createRedefine();
  imp.setSchemaLocationURI(((XmlSchemaRedefine)ext).getSchemaLocation());

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

} else if (ext instanceof XmlSchemaRedefine) {
  SchemaReference imp = schemaImpl.createRedefine();
  imp.setSchemaLocationURI(((XmlSchemaRedefine)ext).getSchemaLocation());

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

Element redefineEl, Element schemaEl) {
XmlSchemaRedefine redefine = new XmlSchemaRedefine();
redefine.schemaLocation = redefineEl.getAttribute("schemaLocation");
final TargetNamespaceValidator validator = newIncludeValidator(schema);
  } else if (el.getLocalName().equals("annotation")) {
    XmlSchemaAnnotation annotation = handleAnnotation(el);
    redefine.setAnnotation(annotation);

代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs

} else if (ext instanceof XmlSchemaRedefine) {
  SchemaReference imp = schemaImpl.createRedefine();
  imp.setSchemaLocationURI(((XmlSchemaRedefine)ext).getSchemaLocation());

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

Element redefineEl, Element schemaEl) {
XmlSchemaRedefine redefine = new XmlSchemaRedefine();
redefine.schemaLocation = redefineEl.getAttribute("schemaLocation");
final TargetNamespaceValidator validator = newIncludeValidator(schema);
  } else if (el.getLocalName().equals("annotation")) {
    XmlSchemaAnnotation annotation = handleAnnotation(el);
    redefine.setAnnotation(annotation);

相关文章