org.geotools.feature.type
Class SchemaImpl

Object
  extended by SchemaImpl
All Implemented Interfaces:
Map<Name,AttributeType>, Schema
Direct Known Subclasses:
GMLSchema, GMLSchema, SimpleSchema, SMIL20LANGSchema, SMIL20Schema, XSSchema

public class SchemaImpl
extends Object
implements Schema

Implementation of Schema.

Author:
Justin Deoliveira, The Open Planning Project
Module:
modules/library/main (gt-main.jar)

Nested Class Summary
 
Nested classes/interfaces inherited from interface Map
Map.Entry<K,V>
 
Constructor Summary
SchemaImpl(String uri)
          Schema constructed w/ respect to provided URI
 
Method Summary
 void add(AttributeType type)
           
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<Name,AttributeType>> entrySet()
           
 boolean equals(Object obj)
           
 AttributeType get(Object key)
           
 String getURI()
           
 int hashCode()
           
 boolean isEmpty()
           
 Set<Name> keySet()
           
 Schema profile(Set<Name> profile)
           
 AttributeType put(Name name, AttributeType type)
           
 void putAll(Map<? extends Name,? extends AttributeType> t)
           
 AttributeType remove(Object key)
           
 int size()
           
 String toString()
           
 Collection<AttributeType> values()
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaImpl

public SchemaImpl(String uri)
Schema constructed w/ respect to provided URI

Method Detail

keySet

public Set<Name> keySet()
Specified by:
keySet in interface Map<Name,AttributeType>

size

public int size()
Specified by:
size in interface Map<Name,AttributeType>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<Name,AttributeType>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<Name,AttributeType>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<Name,AttributeType>

get

public AttributeType get(Object key)
Specified by:
get in interface Map<Name,AttributeType>

put

public AttributeType put(Name name,
                         AttributeType type)
Specified by:
put in interface Map<Name,AttributeType>

remove

public AttributeType remove(Object key)
Specified by:
remove in interface Map<Name,AttributeType>

putAll

public void putAll(Map<? extends Name,? extends AttributeType> t)
Specified by:
putAll in interface Map<Name,AttributeType>

clear

public void clear()
Specified by:
clear in interface Map<Name,AttributeType>

values

public Collection<AttributeType> values()
Specified by:
values in interface Map<Name,AttributeType>

entrySet

public Set<Map.Entry<Name,AttributeType>> entrySet()
Specified by:
entrySet in interface Map<Name,AttributeType>

hashCode

public int hashCode()
Specified by:
hashCode in interface Map<Name,AttributeType>
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Specified by:
equals in interface Map<Name,AttributeType>
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getURI

public String getURI()
Specified by:
getURI in interface Schema

add

public void add(AttributeType type)
Specified by:
add in interface Schema

profile

public Schema profile(Set<Name> profile)
Specified by:
profile in interface Schema


Copyright © 1996-2009 Geotools. All Rights Reserved.