org.opengis.webservice
Class MetadataType

Show UML class diagram
Object
  extended by CodeList<MetadataType>
      extended by MetadataType
All Implemented Interfaces:
Serializable, Comparable<MetadataType>

public final class MetadataType
extends CodeList<MetadataType>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
 
Field Summary
static MetadataType DUBLIN_CORE
           
static MetadataType FGDC
           
static MetadataType NONE
           
static MetadataType TC211
           
 
Method Summary
 MetadataType[] family()
          Returns the list of codes of the same kind than this code list element.
static MetadataType valueOf(String code)
          Returns the metadata type that matches the given string, or returns a new one if none match it.
static MetadataType[] values()
          Returns the list of MetadataTypes.
 
Methods inherited from class CodeList
compareTo, equals, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TC211

public static final MetadataType TC211

FGDC

public static final MetadataType FGDC

DUBLIN_CORE

public static final MetadataType DUBLIN_CORE

NONE

public static final MetadataType NONE
Method Detail

values

public static MetadataType[] values()
Returns the list of MetadataTypes.

Returns:
The list of codes declared in the current JVM.

family

public MetadataType[] family()
Returns the list of codes of the same kind than this code list element. Invoking this method is equivalent to invoking values(), except that this method can be invoked on an instance of the parent CodeList class.

Specified by:
family in class CodeList<MetadataType>
Returns:
The codes of the same kind than this code.

valueOf

public static MetadataType valueOf(String code)
Returns the metadata type that matches the given string, or returns a new one if none match it. More specifically, this methods returns the first instance for which name().equals(code) returns true. If no existing instance is found, then a new one is created for the given name.

Parameters:
code - The name of the code to fetch or to create.
Returns:
A code matching the given name.


Copyright © 1994-2013 Open Geospatial Consortium. All Rights Reserved.