public CoordinateReferenceSystem getCoordinateReferenceSystem() { return ((FeatureType) getSubject()).getCoordinateReferenceSystem(); }
private AttributeType createProxiedType( final Name assignedName, final XSDTypeDefinition typeDefinition, Map typeRegistry) { AttributeType type; if (null == typeDefinition.getSimpleType() && typeDefinition instanceof XSDComplexTypeDefinition) { if (helper.isFeatureType(typeDefinition)) { type = new FeatureTypeProxy(assignedName, typeRegistry); } else { type = new ComplexTypeProxy(assignedName, typeRegistry); } } else { if (helper.isGeometryType(typeDefinition)) { type = new GeometryTypeProxy(assignedName, typeRegistry); } else { type = new AttributeTypeProxy(assignedName, typeRegistry); } } return type; }
private AttributeType createProxiedType(final Name assignedName, final XSDTypeDefinition typeDefinition, Map typeRegistry) { AttributeType type; if (null == typeDefinition.getSimpleType() && typeDefinition instanceof XSDComplexTypeDefinition) { boolean isFeatureType = isDerivedFrom(typeDefinition, GML.getAbstractFeatureType()); if (isFeatureType) { type = new FeatureTypeProxy(assignedName, typeRegistry); } else { type = new ComplexTypeProxy(assignedName, typeRegistry); } } else { boolean isGeometryType = isDerivedFrom(typeDefinition, GML.getAbstractGeometryType()); if (isGeometryType) { type = new GeometryTypeProxy(assignedName, typeRegistry); } else { type = new AttributeTypeProxy(assignedName, typeRegistry); } } return type; }
public GeometryDescriptor getGeometryDescriptor() { return ((FeatureType) getSubject()).getGeometryDescriptor(); } }
public GeometryDescriptor getGeometryDescriptor() { return ((FeatureType) getSubject()).getGeometryDescriptor(); }
public CoordinateReferenceSystem getCoordinateReferenceSystem() { return ((FeatureType) getSubject()).getCoordinateReferenceSystem(); }