org.geotools.feature.type
Class SchemaImpl

java.lang.Object
  extended by org.geotools.feature.type.SchemaImpl
All Implemented Interfaces:
java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>, org.opengis.feature.type.Schema
Direct Known Subclasses:
GMLSchema, GMLSchema, SimpleSchema, SMIL20LANGSchema, SMIL20Schema, XLINKSchema, XSSchema

public class SchemaImpl
extends java.lang.Object
implements org.opengis.feature.type.Schema

Implementation of Schema.

Author:
Justin Deoliveira, The Open Planning Project

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

Constructor Detail

SchemaImpl

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

Method Detail

keySet

public java.util.Set<org.opengis.feature.type.Name> keySet()
Specified by:
keySet in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

size

public int size()
Specified by:
size in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

containsKey

public boolean containsKey(java.lang.Object key)
Specified by:
containsKey in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

containsValue

public boolean containsValue(java.lang.Object value)
Specified by:
containsValue in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

get

public org.opengis.feature.type.AttributeType get(java.lang.Object key)
Specified by:
get in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

put

public org.opengis.feature.type.AttributeType put(org.opengis.feature.type.Name name,
                                                  org.opengis.feature.type.AttributeType type)
Specified by:
put in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

remove

public org.opengis.feature.type.AttributeType remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

putAll

public void putAll(java.util.Map<? extends org.opengis.feature.type.Name,? extends org.opengis.feature.type.AttributeType> t)
Specified by:
putAll in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

clear

public void clear()
Specified by:
clear in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

values

public java.util.Collection<org.opengis.feature.type.AttributeType> values()
Specified by:
values in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

entrySet

public java.util.Set<java.util.Map.Entry<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>> entrySet()
Specified by:
entrySet in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getURI

public java.lang.String getURI()
Specified by:
getURI in interface org.opengis.feature.type.Schema

add

public void add(org.opengis.feature.type.AttributeType type)
Specified by:
add in interface org.opengis.feature.type.Schema

profile

public org.opengis.feature.type.Schema profile(java.util.Set<org.opengis.feature.type.Name> profile)
Specified by:
profile in interface org.opengis.feature.type.Schema


Copyright © 1996-2010 Geotools. All Rights Reserved.