@Test public void testMultiple() { FeatureTypeRegistry registry1 = new FeatureTypeRegistry( new ComplexFeatureTypeFactoryImpl(), new GmlFeatureTypeRegistryConfiguration("http: assertNotNull(registry1.getAttributeType(PolygonPropertyType)); FeatureTypeRegistry registry2 = new FeatureTypeRegistry( new ComplexFeatureTypeFactoryImpl(), new EmptyFeatureTypeRegistryConfiguration()); boolean exception; try { registry2.getAttributeType(PolygonPropertyType); exception = false; } catch (IllegalArgumentException e) { exception = true; } assertTrue(exception); }
public AttributeType getAttributeType(final Name typeName) { return getAttributeType(typeName, null, null); }
FeatureTypeRegistry { public AttributeType getAttributeType(final Name typeName) { return getAttributeType(typeName, null, null); } }
FeatureTypeRegistry { public AttributeType getAttributeType(final Name typeName) { return getAttributeType(typeName, null, null); } FeatureTypeRegistry(
            FeatureTypeFactory typeFactory, FeatureTypeRegistryConfiguration helper);  FeatureTypeRegistry(
            NamespaceSupport namespaces,
            FeatureTypeFactory typeFactory,
            FeatureTypeRegistryConfiguration helper);  FeatureTypeRegistry(
            NamespaceSupport namespaces,
            FeatureTypeFactory typeFactory,
            FeatureTypeRegistryConfiguration helper,
            boolean includeAttributes); }
FeatureTypeRegistry { public AttributeType getAttributeType(final Name typeName) { return getAttributeType(typeName, null, null); } FeatureTypeRegistry(
            FeatureTypeFactory typeFactory, FeatureTypeRegistryConfiguration helper);  FeatureTypeRegistry(
            NamespaceSupport namespaces,
            FeatureTypeFactory typeFactory,
            FeatureTypeRegistryConfiguration helper);  FeatureTypeRegistry(
            NamespaceSupport namespaces,
            FeatureTypeFactory typeFactory,
            FeatureTypeRegistryConfiguration helper,
            boolean includeAttributes); void addSchemas(final SchemaIndex schemaIndex); void disposeSchemaIndexes(); AttributeDescriptor getDescriptor(
            final Name descriptorName, CoordinateReferenceSystem crs); AttributeType getAttributeType(final Name typeName); AttributeType getAttributeType(
            final Name typeName, XSDTypeDefinition xsdType, CoordinateReferenceSystem crs); void register(AttributeType type); AttributeType getXmlAttributeType(); }
FeatureTypeRegistry { public AttributeType getAttributeType(final Name typeName) { return getAttributeType(typeName, null, null); } FeatureTypeRegistry(
            FeatureTypeFactory typeFactory, FeatureTypeRegistryConfiguration helper);  FeatureTypeRegistry(
            NamespaceSupport namespaces,
            FeatureTypeFactory typeFactory,
            FeatureTypeRegistryConfiguration helper);  FeatureTypeRegistry(
            NamespaceSupport namespaces,
            FeatureTypeFactory typeFactory,
            FeatureTypeRegistryConfiguration helper,
            boolean includeAttributes); void addSchemas(final SchemaIndex schemaIndex); void disposeSchemaIndexes(); AttributeDescriptor getDescriptor(
            final Name descriptorName, CoordinateReferenceSystem crs); AttributeType getAttributeType(final Name typeName); AttributeType getAttributeType(
            final Name typeName, XSDTypeDefinition xsdType, CoordinateReferenceSystem crs); void register(AttributeType type); AttributeType getXmlAttributeType();  }