|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.rmi.server.RemoteObject java.rmi.server.RemoteServer java.rmi.server.UnicastRemoteObject org.geotools.cv.Coverage.Export
Export a Geotools Coverage
as an OpenGIS CV_Coverage
object.
This class is suitable for RMI use. User should not create instance of this
class directly. The method Adapters.export(Coverage)
should be used
instead.
Field Summary | |
protected Adapters |
adapters
The originating adapter. |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
protected |
Coverage.Export(Adapters adapters)
Constructs a remote object. |
Method Summary | |
java.lang.Object |
evaluate(org.opengis.pt.PT_CoordinatePoint point)
Return the value vector for a given point in the coverage. |
boolean[] |
evaluateAsBoolean(org.opengis.pt.PT_CoordinatePoint point)
Return a sequence of Boolean values for a given point in the coverage. |
byte[] |
evaluateAsByte(org.opengis.pt.PT_CoordinatePoint point)
Return a sequence of unsigned byte values for a given point in the coverage. |
double[] |
evaluateAsDouble(org.opengis.pt.PT_CoordinatePoint point)
Return a sequence of double values for a given point in the coverage. |
int[] |
evaluateAsInteger(org.opengis.pt.PT_CoordinatePoint point)
Return a sequence of integer values for a given point in the coverage. |
org.opengis.cs.CS_CoordinateSystem |
getCoordinateSystem()
Returns coordinate system used when accessing a coverage or grid coverage with the evaluate methods. |
java.lang.String[] |
getDimensionNames()
Returns the names of each dimension in the coverage. |
org.opengis.pt.PT_Envelope |
getEnvelope()
Returns the bounding box for the coverage domain in coordinate system coordinates. |
java.lang.String[] |
getMetadataNames()
Returns the list of metadata keywords for a coverage. |
java.lang.String |
getMetadataValue(java.lang.String name)
Retrieve the metadata value for a given metadata name. |
int |
getNumSampleDimensions()
Returns The number of sample dimensions in the coverage. |
int |
getNumSources()
Returns the number of grid coverages which the grid coverage was derived from. |
java.lang.Object |
getProperty(java.lang.String name)
Returns the value of a property. |
java.lang.Class |
getPropertyClass(java.lang.String name)
Returns the class expected to be returned by a request for the property with the specified name. |
java.lang.String[] |
getPropertyNames()
Returns an array of String s recognized as names by this property source.
|
java.lang.String[] |
getPropertyNames(java.lang.String prefix)
Returns an array of String s recognized as names by this property source
that begin with the supplied prefix. |
org.opengis.cv.CV_SampleDimension |
getSampleDimension(int index)
Retrieve sample dimension information for the coverage. |
org.opengis.gc.GC_GridCoverage |
getSource(int sourceDataIndex)
Returns the source data for a grid coverage. |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final Adapters adapters
Constructor Detail |
protected Coverage.Export(Adapters adapters) throws java.rmi.RemoteException
Coverage
object. The cached Export
instance
can be queried with Adapters.export(Coverage)
.
adapters
- The originating adapter.
java.rmi.RemoteException
- if this object can't be exported through RMI.Method Detail |
public java.lang.String[] getDimensionNames() throws java.rmi.RemoteException
Coverage.getDimensionNames(java.util.Locale)
.
getDimensionNames
in interface org.opengis.cv.CV_Coverage
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public int getNumSampleDimensions() throws java.rmi.RemoteException
Coverage.getSampleDimensions()
.
getNumSampleDimensions
in interface org.opengis.cv.CV_Coverage
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public org.opengis.cv.CV_SampleDimension getSampleDimension(int index) throws java.rmi.RemoteException
Coverage.getSampleDimensions()
.
getSampleDimension
in interface org.opengis.cv.CV_Coverage
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public int getNumSources() throws java.rmi.RemoteException
0
.
getNumSources
in interface org.opengis.cv.CV_Coverage
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public org.opengis.gc.GC_GridCoverage getSource(int sourceDataIndex) throws java.rmi.RemoteException
ArrayIndexOutOfBoundsException
,
since getNumSources()
returned 0.
getSource
in interface org.opengis.cv.CV_Coverage
sourceDataIndex
- Source grid coverage index. Indexes start at 0.
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public java.lang.String[] getMetadataNames() throws java.rmi.RemoteException
getPropertyNames()
.
getMetadataNames
in interface org.opengis.cv.CV_Coverage
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public java.lang.String getMetadataValue(java.lang.String name) throws java.rmi.RemoteException
getProperty(java.lang.String)
and replace Image.UndefinedProperty
by
null
.
getMetadataValue
in interface org.opengis.cv.CV_Coverage
name
- Metadata keyword for which to retrieve data.
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public java.lang.String[] getPropertyNames()
String
s recognized as names by this property source.
The default implementation invokes PropertySourceImpl.getPropertyNames()
.
getPropertyNames
in interface javax.media.jai.PropertySource
null
.public java.lang.String[] getPropertyNames(java.lang.String prefix)
String
s recognized as names by this property source
that begin with the supplied prefix. The default implementation invokes PropertySourceImpl.getPropertyNames(String)
.
getPropertyNames
in interface javax.media.jai.PropertySource
public java.lang.Class getPropertyClass(java.lang.String name)
null
will
be returned.
getPropertyClass
in interface javax.media.jai.PropertySource
name
- the name of the property.
null
.public java.lang.Object getProperty(java.lang.String name)
Image.UndefinedProperty
will be returned.
getProperty
in interface javax.media.jai.PropertySource
name
- the name of the property.
Image.UndefinedProperty
.public org.opengis.cs.CS_CoordinateSystem getCoordinateSystem() throws java.rmi.RemoteException
evaluate
methods. The default implementation invokes
Coverage.getCoordinateSystem()
.
getCoordinateSystem
in interface org.opengis.cv.CV_Coverage
evaluate
methods.
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public org.opengis.pt.PT_Envelope getEnvelope() throws java.rmi.RemoteException
Coverage.getEnvelope()
.
getEnvelope
in interface org.opengis.cv.CV_Coverage
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public java.lang.Object evaluate(org.opengis.pt.PT_CoordinatePoint point) throws java.rmi.RemoteException
CV_Coverage
method
(for example evaluateAsDouble(org.opengis.pt.PT_CoordinatePoint)
) according the underlying data type.
evaluate
in interface org.opengis.cv.CV_Coverage
point
- point at which to find the grid values.
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public boolean[] evaluateAsBoolean(org.opengis.pt.PT_CoordinatePoint point) throws java.rmi.RemoteException
Coverage.evaluate(CoordinatePoint, boolean[])
.
evaluateAsBoolean
in interface org.opengis.cv.CV_Coverage
point
- point at which to find the coverage values.
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public byte[] evaluateAsByte(org.opengis.pt.PT_CoordinatePoint point) throws java.rmi.RemoteException
Coverage.evaluate(CoordinatePoint, byte[])
.
evaluateAsByte
in interface org.opengis.cv.CV_Coverage
point
- point at which to find the coverage values.
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public int[] evaluateAsInteger(org.opengis.pt.PT_CoordinatePoint point) throws java.rmi.RemoteException
Coverage.evaluate(CoordinatePoint, int[])
.
evaluateAsInteger
in interface org.opengis.cv.CV_Coverage
point
- point at which to find the grid values.
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.public double[] evaluateAsDouble(org.opengis.pt.PT_CoordinatePoint point) throws java.rmi.RemoteException
Coverage.evaluate(CoordinatePoint, double[])
.
evaluateAsDouble
in interface org.opengis.cv.CV_Coverage
point
- point at which to find the grid values.
java.rmi.RemoteException
- if a remote call failed. More specifically, the exception will
be an instance of ServerException
if an error occurs on the server side.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |