gpt4 book ai didi

org.geotools.xs.XSSchema类的使用及代码示例

转载 作者:知者 更新时间:2024-03-21 16:31:05 30 4
gpt4 key购买 nike

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

XSSchema介绍

[英]Schema for XML simple types.
[中]XML简单类型的模式。

代码示例

代码示例来源:origin: geotools/geotools

@Override
protected Schema buildTypeSchema() {
  return new XSSchema();
}

代码示例来源:origin: geotools/geotools

put(new NameImpl("http://www.w3.org/2001/XMLSchema", "anyType"), ANYTYPE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "anySimpleType"), ANYSIMPLETYPE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "NOTATION"), NOTATION_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "decimal"), DECIMAL_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "integer"), INTEGER_TYPE);
put(
    new NameImpl("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"),
    NONNEGATIVEINTEGER_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedLong"), UNSIGNEDLONG_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedInt"), UNSIGNEDINT_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedShort"), UNSIGNEDSHORT_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedByte"), UNSIGNEDBYTE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "QName"), QNAME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "string"), STRING_TYPE);
put(
    new NameImpl("http://www.w3.org/2001/XMLSchema", "normalizedString"),
    NORMALIZEDSTRING_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "token"), TOKEN_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "Name"), NAME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "NCName"), NCNAME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "ENTITY"), ENTITY_TYPE);
put(
    new NameImpl("http://www.w3.org/2001/XMLSchema", "simpleDerivationSet"),
    SIMPLEDERIVATIONSET_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "public"), PUBLIC_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "language"), LANGUAGE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "duration"), DURATION_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "blockSet"), BLOCKSET_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "float"), FLOAT_TYPE);

代码示例来源:origin: geotools/geotools

schemas.add(new XSSchema().profile()); // encoding of common java types
Schema hack = new SchemaImpl(XS.NAMESPACE);

代码示例来源:origin: geotools/geotools

private void createFoundationTypes() {
  synchronized (FOUNDATION_TYPES) {
    if (!FOUNDATION_TYPES.isEmpty()) {
      typeRegistry.putAll(FOUNDATION_TYPES);
      return;
    }
    importSchema(new XSSchema());
    for (Schema schema : helper.getSchemas()) {
      importSchema(schema);
    }
    for (Configuration config : helper.getConfigurations()) {
      addSchemas(Schemas.findSchemas(config));
    }
    FOUNDATION_TYPES.putAll(typeRegistry);
  }
}

代码示例来源:origin: org.geotools.xsd/gt-core

put(new NameImpl("http://www.w3.org/2001/XMLSchema", "anyType"), ANYTYPE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "anySimpleType"), ANYSIMPLETYPE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "NOTATION"), NOTATION_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "decimal"), DECIMAL_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "integer"), INTEGER_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"),
  NONNEGATIVEINTEGER_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedLong"), UNSIGNEDLONG_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedInt"), UNSIGNEDINT_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedShort"), UNSIGNEDSHORT_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedByte"), UNSIGNEDBYTE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "QName"), QNAME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "string"), STRING_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "normalizedString"), NORMALIZEDSTRING_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "token"), TOKEN_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "Name"), NAME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "NCName"), NCNAME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "ENTITY"), ENTITY_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "simpleDerivationSet"),
  SIMPLEDERIVATIONSET_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "public"), PUBLIC_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "language"), LANGUAGE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "duration"), DURATION_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "blockSet"), BLOCKSET_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "float"), FLOAT_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "dateTime"), DATETIME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "gYearMonth"), GYEARMONTH_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "ID"), ID_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "NMTOKEN"), NMTOKEN_TYPE);

代码示例来源:origin: org.geotools/gt-complex

private void createFoundationTypes() {
  synchronized (FOUNDATION_TYPES) {
    if (!FOUNDATION_TYPES.isEmpty()) {
      typeRegistry.putAll(FOUNDATION_TYPES);
      return;
    }
    importSchema(new XSSchema());
    for (Schema schema : helper.getSchemas()) {
      importSchema(schema);
    }
    for (Configuration config : helper.getConfigurations()) {
      addSchemas(Schemas.findSchemas(config));
    }
    FOUNDATION_TYPES.putAll(typeRegistry);
  }
}

代码示例来源:origin: org.geotools/gt2-xml-core

put(new TypeName("http://www.w3.org/2001/XMLSchema", "anyType"), ANYTYPE_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "anySimpleType"), ANYSIMPLETYPE_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "NOTATION"), NOTATION_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "decimal"), DECIMAL_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "integer"), INTEGER_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"),
  NONNEGATIVEINTEGER_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "unsignedLong"), UNSIGNEDLONG_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "unsignedInt"), UNSIGNEDINT_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "unsignedShort"), UNSIGNEDSHORT_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "unsignedByte"), UNSIGNEDBYTE_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "QName"), QNAME_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "string"), STRING_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "normalizedString"),
  NORMALIZEDSTRING_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "token"), TOKEN_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "Name"), NAME_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "NCName"), NCNAME_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "ENTITY"), ENTITY_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "simpleDerivationSet"),
  SIMPLEDERIVATIONSET_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "public"), PUBLIC_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "language"), LANGUAGE_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "duration"), DURATION_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "blockSet"), BLOCKSET_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "float"), FLOAT_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "dateTime"), DATETIME_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "gYearMonth"), GYEARMONTH_TYPE);
put(new TypeName("http://www.w3.org/2001/XMLSchema", "ID"), ID_TYPE);

代码示例来源:origin: org.geotools/gt-app-schema

schema = new XSSchema();
importSchema(schema);

代码示例来源:origin: org.geotools/gt2-xml-xsd

put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "allNNI"), ALLNNI_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "byte"), BYTE_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "short"), SHORT_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "nonNegativeInteger"), NONNEGATIVEINTEGER_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "anySimpleType"), ANYSIMPLETYPE_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "derivationSet"), DERIVATIONSET_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "negativeInteger"), NEGATIVEINTEGER_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "blockSet"), BLOCKSET_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "unsignedByte"), UNSIGNEDBYTE_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "anyURI"), ANYURI_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "gMonth"), GMONTH_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "normalizedString"), NORMALIZEDSTRING_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "NMTOKENS"), NMTOKENS_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",
    "dateTime"), DATETIME_TYPE);
put(new org.geotools.feature.Name("http://www.w3.org/2001/XMLSchema",

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