org.geotools.data.wps
Class WPSFactory
java.lang.Object
org.geotools.process.impl.SingleProcessFactory
org.geotools.data.wps.WPSFactory
- All Implemented Interfaces:
- Factory, OptionalFactory, ProcessFactory
public class WPSFactory
- extends SingleProcessFactory
This class acts as a ProcessFactory for any process. It handles converting related bean
structures into a ProcessFactory object, and can be created from a describeprocess response and
can be passed around as a process encompassing object for ease of use. This factory can make a
representation of a process and its "execute" method will actually build a request to the server
to execute the process and return the results.
- Author:
- GDavis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WPSFactory
public WPSFactory(ProcessDescriptionType pdt,
java.net.URL serverUrl)
create
public Process create()
- Create a representation of a process
- Specified by:
create
in class SingleProcessFactory
getDescription
public org.opengis.util.InternationalString getDescription()
- Specified by:
getDescription
in class SingleProcessFactory
getParameterInfo
public java.util.Map<java.lang.String,Parameter<?>> getParameterInfo()
- Specified by:
getParameterInfo
in class SingleProcessFactory
getResultInfo
public java.util.Map<java.lang.String,Parameter<?>> getResultInfo(java.util.Map<java.lang.String,java.lang.Object> parameters)
throws java.lang.IllegalArgumentException
- Specified by:
getResultInfo
in class SingleProcessFactory
- Throws:
java.lang.IllegalArgumentException
getTitle
public org.opengis.util.InternationalString getTitle()
- Description copied from class:
SingleProcessFactory
- Name suitable for display to end user.
- Specified by:
getTitle
in interface ProcessFactory
- Overrides:
getTitle
in class SingleProcessFactory
- Returns:
- A short name suitable for display in a user interface.
getIdentifier
public java.lang.String getIdentifier()
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in class SingleProcessFactory
supportsProgress
public boolean supportsProgress()
- Specified by:
supportsProgress
in class SingleProcessFactory
getProcessDescriptionType
public ProcessDescriptionType getProcessDescriptionType()
getServerURL
public java.net.URL getServerURL()
Copyright © 1996-2010 Geotools. All Rights Reserved.