org.apache.ws.commons.schema.XmlSchemaSimpleContentRestriction.getBaseTypeName()方法的使用及代码示例

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

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

XmlSchemaSimpleContentRestriction.getBaseTypeName介绍

暂无

代码示例

代码示例来源:origin: apache/axis2-java

if (!isAlreadyProcessed(restriction.getBaseTypeName())) {
                        restriction.getBaseTypeName(),
                        COMPONENT_TYPE);
  if (resolvedSchema == null) {
    throw new SchemaCompilationException("can not find type " +
                       restriction.getBaseTypeName()
                       + " from the parent schema " +
                       parentSchema.getTargetNamespace());
  } else {
    XmlSchemaType type = resolvedSchema.getTypeByName(restriction.getBaseTypeName());
processSimpleRestrictionBaseType(restriction.getBaseTypeName(),
                 restriction.getBaseTypeName(),
                 metaInfHolder,
                 parentSchema);
metaInfHolder.setSimple(true);
if (!SchemaConstants.XSD_BOOLEAN.equals(restriction.getBaseTypeName())) {
  processFacets(restriction.getFacets(), restriction.getBaseTypeName(), metaInfHolder,
         parentSchema);

代码示例来源:origin: org.apache.axis2/axis2-adb-codegen

if (!isAlreadyProcessed(restriction.getBaseTypeName())) {
                        restriction.getBaseTypeName(),
                        COMPONENT_TYPE);
  if (resolvedSchema == null) {
    throw new SchemaCompilationException("can not find type " +
                       restriction.getBaseTypeName()
                       + " from the parent schema " +
                       parentSchema.getTargetNamespace());
  } else {
    XmlSchemaType type = resolvedSchema.getTypeByName(restriction.getBaseTypeName());
processSimpleRestrictionBaseType(restriction.getBaseTypeName(),
                 restriction.getBaseTypeName(),
                 metaInfHolder,
                 parentSchema);
metaInfHolder.setSimple(true);
if (!SchemaConstants.XSD_BOOLEAN.equals(restriction.getBaseTypeName())) {
  processFacets(restriction.getFacets(), restriction.getBaseTypeName(), metaInfHolder,
         parentSchema);

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

if (restrict.getBaseTypeName() != null) {
  basetype = processPrimitiveType(restrict.getBaseTypeName());
  base = getSchemaType(restrict.getBaseTypeName());
  basetype = convertSchemaToCorbaType(base, base.getQName(), base, null, false);

代码示例来源:origin: org.apache.axis2/axis2-adb-codegen

restriction.getBaseTypeName(), resolvedSchema);

代码示例来源:origin: apache/axis2-java

restriction.getBaseTypeName(), resolvedSchema);

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

} else if (content instanceof XmlSchemaSimpleContentRestriction) {
  XmlSchemaSimpleContentRestriction restriction = (XmlSchemaSimpleContentRestriction)content;
  XmlSchemaUtils.addImportIfNeeded(schema, restriction.getBaseTypeName());
  addCrossImportsAttributeList(schema, restriction.getAttributes());

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

} else if (content instanceof XmlSchemaSimpleContentRestriction) {
  XmlSchemaSimpleContentRestriction restriction = (XmlSchemaSimpleContentRestriction)content;
  XmlSchemaUtils.addImportIfNeeded(schema, restriction.getBaseTypeName());
  addCrossImportsAttributeList(schema, restriction.getAttributes());

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

} else if (content instanceof XmlSchemaSimpleContentRestriction) {
  XmlSchemaSimpleContentRestriction restriction = (XmlSchemaSimpleContentRestriction)content;
  XmlSchemaUtils.addImportIfNeeded(schema, restriction.getBaseTypeName());
  addCrossImportsAttributeList(schema, restriction.getAttributes());

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

} else if (content instanceof XmlSchemaSimpleContentRestriction) {
  XmlSchemaSimpleContentRestriction restriction = (XmlSchemaSimpleContentRestriction)content;
  XmlSchemaUtils.addImportIfNeeded(schema, restriction.getBaseTypeName());
  addCrossImportsAttributeList(schema, restriction.getAttributes());

代码示例来源:origin: org.apache.cxf/cxf-common-utilities

} else if (content instanceof XmlSchemaSimpleContentRestriction) {
  XmlSchemaSimpleContentRestriction restriction = (XmlSchemaSimpleContentRestriction)content;
  XmlSchemaUtils.addImportIfNeeded(schema, restriction.getBaseTypeName());
  addCrossImportsAttributeList(schema, restriction.getAttributes());

相关文章