gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-18 15:28:40 27 4
gpt4 key购买 nike

本文整理了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);

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com