|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeFactory
Factory interface for the typing system.
This interface supports setter dependency injection:
|
Method Summary | |
---|---|
AssociationDescriptor |
createAssociationDescriptor(AssociationType type,
Name name,
int minOccurs,
int maxOCcurs)
Creates a new association descriptor. |
AssociationType |
createAssociationType(Name name,
AttributeType referenceType,
boolean isIdentifiable,
boolean isAbstract,
Set<Filter> restrictions,
AssociationType superType,
InternationalString description)
|
AttributeDescriptor |
createAttributeDescriptor(AttributeType type,
Name name,
int minOccurs,
int maxOccurs,
boolean isNillable,
Object defaultValue)
Creates a new attribute descriptor. |
AttributeType |
createAttributeType(Name name,
Class<?> binding,
boolean isIdentifiable,
boolean isAbstract,
Set<Filter> restrictions,
AttributeType superType,
InternationalString description)
|
ComplexType |
createComplexType(Name name,
Collection<StructuralDescriptor> schema,
boolean isIdentifiable,
boolean isAbstract,
Set<Filter> restrictions,
AttributeType superType,
InternationalString description)
|
FeatureCollectionType |
createFeatureCollectionType(Name name,
Collection<StructuralDescriptor> schema,
Collection<AssociationDescriptor> members,
AttributeDescriptor defaultGeom,
CoordinateReferenceSystem crs,
boolean isAbstract,
Set<Filter> restrictions,
AttributeType superType,
InternationalString description)
|
FeatureType |
createFeatureType(Name name,
Collection<StructuralDescriptor> schema,
AttributeDescriptor defaultGeometry,
CoordinateReferenceSystem crs,
boolean isAbstract,
Set<Filter> restrictions,
AttributeType superType,
InternationalString description)
|
GeometryType |
createGeometryType(Name name,
Class<?> binding,
CoordinateReferenceSystem crs,
boolean isIdentifiable,
boolean isAbstract,
Set<Filter> restrictions,
AttributeType superType,
InternationalString description)
|
OperationDescriptor |
createOperationDescriptor(OperationType type,
boolean isImplemented)
Creates a new operation descriptor. |
Schema |
createSchema(String namespaceURI)
Creates a Schema to hold instances of Types created by this factory. |
CRSFactory |
getCRSFactory()
Returns the CRS factory used to create CRS info for created types. |
FilterFactory |
getFilterFactory()
Returns the Filter Facotry used to create type restrictions. |
void |
setCRSFactory(CRSFactory crsFactory)
Sets the CRS factory used to create CRS info for created types. |
void |
setFilterFactory(FilterFactory filterFactory)
Sets the filter factory used to create type restrictions. |
Method Detail |
---|
CRSFactory getCRSFactory()
void setCRSFactory(CRSFactory crsFactory)
FilterFactory getFilterFactory()
void setFilterFactory(FilterFactory filterFactory)
Schema createSchema(String namespaceURI)
namespaceURI
-
AttributeDescriptor createAttributeDescriptor(AttributeType type, Name name, int minOccurs, int maxOccurs, boolean isNillable, Object defaultValue)
type
- The type of the described attribute.name
- The name of the described attribute.minOccurs
- The minimum number of occurences of the described attribute.maxOccurs
- The maximum number of occurences of the described attribute.isNillable
- Flag indicating if the described attribute may have a null value.defaulValue
- The default value of the described attribute.AssociationDescriptor createAssociationDescriptor(AssociationType type, Name name, int minOccurs, int maxOCcurs)
type
- The type of the described association.name
- The name of the described association.minOccurs
- The minimum number of occurences of the described association.maxOCcurs
- The maximum number of occurences of the described association.OperationDescriptor createOperationDescriptor(OperationType type, boolean isImplemented)
type
- The type of the described operation.isImplemented
- Flag indicating if the described operation is implemented or not.AssociationType createAssociationType(Name name, AttributeType referenceType, boolean isIdentifiable, boolean isAbstract, Set<Filter> restrictions, AssociationType superType, InternationalString description)
AttributeType createAttributeType(Name name, Class<?> binding, boolean isIdentifiable, boolean isAbstract, Set<Filter> restrictions, AttributeType superType, InternationalString description)
ComplexType createComplexType(Name name, Collection<StructuralDescriptor> schema, boolean isIdentifiable, boolean isAbstract, Set<Filter> restrictions, AttributeType superType, InternationalString description)
GeometryType createGeometryType(Name name, Class<?> binding, CoordinateReferenceSystem crs, boolean isIdentifiable, boolean isAbstract, Set<Filter> restrictions, AttributeType superType, InternationalString description)
FeatureType createFeatureType(Name name, Collection<StructuralDescriptor> schema, AttributeDescriptor defaultGeometry, CoordinateReferenceSystem crs, boolean isAbstract, Set<Filter> restrictions, AttributeType superType, InternationalString description)
FeatureCollectionType createFeatureCollectionType(Name name, Collection<StructuralDescriptor> schema, Collection<AssociationDescriptor> members, AttributeDescriptor defaultGeom, CoordinateReferenceSystem crs, boolean isAbstract, Set<Filter> restrictions, AttributeType superType, InternationalString description)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |