org.geotoolkit.image.io.plugin
Class NetcdfTranscoder.Responsible

Object
  extended by NetcdfTranscoder.Responsible
Enclosing class:
NetcdfTranscoder

public static class NetcdfTranscoder.Responsible
extends Object

Holds the attribute names describing a responsible party. Values are:

Attribute NetcdfTranscoder.CREATOR NetcdfTranscoder.CONTRIBUTOR NetcdfTranscoder.PUBLISHER
NAME "creator_name" "contributor_name" "publisher_name"
INSTITUTION "institution"
URL "creator_url" "contributor_url" "publisher_url"
EMAIL "creator_email" "contributor_email" "publisher_email"
ROLE "contributor_role"
DEFAULT_ROLE Role.ORIGINATOR Role.PUBLISHER
Note: The member names in this class are upper-cases because they should be considered as constants. For example NetcdfTranscoder.CREATOR.EMAIL maps exactly to the "creator_email" string and nothing else. A lower-case email member name could be misleading since it would suggest that the field contains the actual name value rather than the key by which the value is identified in a NetCDF file.

Since:
3.20
Version:
3.20
Author:
Martin Desruisseaux (Geomatys)
Module:
coverage/geotk-coverageio-netcdf (download)    View source code for this class

Field Summary
 Role DEFAULT_ROLE
          The role to use as a fallback if no attribute value is associated to the ROLE key.
 String EMAIL
          The attribute name for the responsible's email address.
 String INSTITUTION
          The attribute name for the responsible's institution, or null if none.
 String NAME
          The attribute name for the responsible's name.
 String ROLE
          The attribute name for the responsible's role, or null if none.
 String URL
          The attribute name for the responsible's URL.
 
Constructor Summary
NetcdfTranscoder.Responsible(String name, String institution, String url, String email, String role, Role defaultRole)
          Creates a new set of attribute names.
 
Method Summary
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public final String NAME
The attribute name for the responsible's name. Possible values are "creator_name", "contributor_name" or "publisher_name".

Path:


INSTITUTION

public final String INSTITUTION
The attribute name for the responsible's institution, or null if none. Possible value is "institution".

Path:


URL

public final String URL
The attribute name for the responsible's URL. Possible values are "creator_url", "contributor_url" or "publisher_url".

Path:


EMAIL

public final String EMAIL
The attribute name for the responsible's email address. Possible values are "creator_email", "contributor_email" or "publisher_email".

Path:


ROLE

public final String ROLE
The attribute name for the responsible's role, or null if none. Possible value is "contributor_role".

Path:

See Also:
Role

DEFAULT_ROLE

public final Role DEFAULT_ROLE
The role to use as a fallback if no attribute value is associated to the ROLE key.

Constructor Detail

NetcdfTranscoder.Responsible

public NetcdfTranscoder.Responsible(String name,
                                    String institution,
                                    String url,
                                    String email,
                                    String role,
                                    Role defaultRole)
Creates a new set of attribute names. Any argument can be null if not applicable.

Parameters:
name - The attribute name for the responsible's name.
institution - The attribute name for the responsible's institution.
url - The attribute name for the responsible's URL.
email - The attribute name for the responsible's email address.
role - The attribute name for the responsible's role.
defaultRole - The role to use as a fallback if no attribute value is associated to the role key.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.