本文整理了Java中org.apache.ws.commons.schema.XmlSchemaRedefine
类的一些代码示例,展示了XmlSchemaRedefine
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlSchemaRedefine
类的具体详情如下:
包路径:org.apache.ws.commons.schema.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);
内容来源于网络,如有侵权,请联系作者删除!