org.deegree_impl.model.cs
Class Projection.Export

java.lang.Object
  extended byorg.deegree_impl.model.cs.Info.Export
      extended byorg.deegree_impl.model.cs.Projection.Export
All Implemented Interfaces:
CS_Info, CS_Projection, java.rmi.Remote, java.io.Serializable
Enclosing class:
Projection

private final class Projection.Export
extends Info.Export
implements CS_Projection

Wrap a Projection object for use with OpenGIS. This class is suitable for RMI use.

Version:
1.0
Author:
Martin Desruisseaux

Field Summary
protected  Adapters adapters
          The originating adapter.
private  CS_ProjectionParameter[] parameters
          The set of parameters.
 
Constructor Summary
protected Projection.Export(java.lang.Object adapters)
          Construct a remote object.
 
Method Summary
 java.lang.String getAbbreviation()
          Gets the abbreviation.
 java.lang.String getAlias()
          Gets the alias.
 java.lang.String getAuthority()
          Gets the authority name.
 java.lang.String getAuthorityCode()
          Gets the authority-specific identification code.
 java.lang.String getClassName()
          Gets the projection classification name (e.g.
 java.lang.String getName()
          Gets the name.
 int getNumParameters()
          Gets number of parameters of the projection.
 CS_ProjectionParameter getParameter(int index)
          Gets an indexed parameter of the projection.
private  CS_ProjectionParameter[] getParameters()
          Returns the set of parameters.
 java.lang.String getRemarks()
          Gets the provider-supplied remarks.
 java.lang.String getWKT()
          Gets a Well-Known text representation of this object.
 java.lang.String getXML()
          Gets an XML representation of this object.
 java.lang.String toString()
          Returns a string representation of this info.
 Info unwrap()
          Returns the underlying implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.cs.CS_Info
getAbbreviation, getAlias, getAuthority, getAuthorityCode, getName, getRemarks, getWKT, getXML
 

Field Detail

parameters

private transient CS_ProjectionParameter[] parameters
The set of parameters. This array is constructed only the first time it is needed.


adapters

protected final transient Adapters adapters
The originating adapter.

Constructor Detail

Projection.Export

protected Projection.Export(java.lang.Object adapters)
Construct a remote object.

Method Detail

getNumParameters

public int getNumParameters()
                     throws java.rmi.RemoteException
Gets number of parameters of the projection.

Specified by:
getNumParameters in interface CS_Projection
Throws:
java.rmi.RemoteException - if a remote method call failed.

getParameter

public CS_ProjectionParameter getParameter(int index)
                                    throws java.rmi.RemoteException
Gets an indexed parameter of the projection.

Specified by:
getParameter in interface CS_Projection
Parameters:
index - Zero based index of parameter to fetch.
Throws:
java.rmi.RemoteException - if a remote method call failed.

getClassName

public java.lang.String getClassName()
                              throws java.rmi.RemoteException
Gets the projection classification name (e.g. 'Transverse_Mercator').

Specified by:
getClassName in interface CS_Projection
Throws:
java.rmi.RemoteException - if a remote method call failed.

getParameters

private CS_ProjectionParameter[] getParameters()
Returns the set of parameters.


unwrap

public final Info unwrap()
Returns the underlying implementation.


getName

public java.lang.String getName()
                         throws java.rmi.RemoteException
Gets the name.

Specified by:
getName in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getAuthority

public java.lang.String getAuthority()
                              throws java.rmi.RemoteException
Gets the authority name.

Specified by:
getAuthority in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getAuthorityCode

public java.lang.String getAuthorityCode()
                                  throws java.rmi.RemoteException
Gets the authority-specific identification code.

Specified by:
getAuthorityCode in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getAlias

public java.lang.String getAlias()
                          throws java.rmi.RemoteException
Gets the alias.

Specified by:
getAlias in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getAbbreviation

public java.lang.String getAbbreviation()
                                 throws java.rmi.RemoteException
Gets the abbreviation.

Specified by:
getAbbreviation in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getRemarks

public java.lang.String getRemarks()
                            throws java.rmi.RemoteException
Gets the provider-supplied remarks.

Specified by:
getRemarks in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getWKT

public java.lang.String getWKT()
                        throws java.rmi.RemoteException
Gets a Well-Known text representation of this object.

Specified by:
getWKT in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getXML

public java.lang.String getXML()
                        throws java.rmi.RemoteException
Gets an XML representation of this object.

Specified by:
getXML in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

toString

public java.lang.String toString()
Returns a string representation of this info.