Package org.geotools.feature.type
Class SchemaImpl
- Object
- 
- SchemaImpl
 
- 
- All Implemented Interfaces:
- Map<Name,AttributeType>,- Schema
 - Direct Known Subclasses:
- GCOSchema,- GMDSchema,- GMLSchema,- GMLSchema,- GMLSchema,- GMXSchema,- GSRSchema,- GSSSchema,- GTSSchema,- SimpleSchema,- SMIL20LANGSchema,- SMIL20Schema,- XLINKSchema,- XSSchema
 
 public class SchemaImpl extends Object implements Schema Implementation of Schema.- Author:
- Justin Deoliveira, The Open Planning Project
 
- 
- 
Constructor SummaryConstructors Constructor Description SchemaImpl(String uri)Schema constructed w/ respect to provided URI
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(AttributeType type)Adds a type to the schema.voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<Name,AttributeType>>entrySet()booleanequals(Object obj)AttributeTypeget(Object key)StringgetURI()The uri of the schema.inthashCode()booleanisEmpty()Set<Name>keySet()Schemaprofile(Set<Name> profile)Profiles the schema, creating a new schema in the process.AttributeTypeput(Name name, AttributeType type)voidputAll(Map<? extends Name,? extends AttributeType> t)AttributeTyperemove(Object key)intsize()StringtoString()Collection<AttributeType>values()- 
Methods inherited from interface Mapcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
 
- 
 
- 
- 
- 
Constructor Detail- 
SchemaImplpublic SchemaImpl(String uri) Schema constructed w/ respect to provided URI
 
- 
 - 
Method Detail- 
sizepublic int size() - Specified by:
- sizein interface- Map<Name,AttributeType>
 
 - 
isEmptypublic boolean isEmpty() - Specified by:
- isEmptyin interface- Map<Name,AttributeType>
 
 - 
containsKeypublic boolean containsKey(Object key) - Specified by:
- containsKeyin interface- Map<Name,AttributeType>
 
 - 
containsValuepublic boolean containsValue(Object value) - Specified by:
- containsValuein interface- Map<Name,AttributeType>
 
 - 
getpublic AttributeType get(Object key) - Specified by:
- getin interface- Map<Name,AttributeType>
 
 - 
putpublic AttributeType put(Name name, AttributeType type) - Specified by:
- putin interface- Map<Name,AttributeType>
 
 - 
removepublic AttributeType remove(Object key) - Specified by:
- removein interface- Map<Name,AttributeType>
 
 - 
putAllpublic void putAll(Map<? extends Name,? extends AttributeType> t) - Specified by:
- putAllin interface- Map<Name,AttributeType>
 
 - 
clearpublic void clear() - Specified by:
- clearin interface- Map<Name,AttributeType>
 
 - 
valuespublic Collection<AttributeType> values() - Specified by:
- valuesin interface- Map<Name,AttributeType>
 
 - 
entrySetpublic Set<Map.Entry<Name,AttributeType>> entrySet() - Specified by:
- entrySetin interface- Map<Name,AttributeType>
 
 - 
hashCodepublic int hashCode() 
 - 
equalspublic boolean equals(Object obj) 
 - 
getURIpublic String getURI() Description copied from interface:SchemaThe uri of the schema.This method is a convenience for keySet().getURI().
 - 
addpublic void add(AttributeType type) Description copied from interface:SchemaAdds a type to the schema.This method is a convenience for put(type.getName(),type).
 - 
profilepublic Schema profile(Set<Name> profile) Description copied from interface:SchemaProfiles the schema, creating a new schema in the process.A profile of a schema is a subset of the schema, and it also a schema itself. Used to select a subset of types for a specific application. Profiles often are used to express limitiations of a source of data. 
 
- 
 
-