org.n52.wps.server
Class AbstractSelfDescribingAlgorithm
java.lang.Object
org.n52.wps.server.AbstractAlgorithm
org.n52.wps.server.AbstractSelfDescribingAlgorithm
- All Implemented Interfaces:
- IAlgorithm, ISubject
- Direct Known Subclasses:
- AddRasterValues, ConvexHullAlgorithm, DifferenceAlgorithm, DouglasPeuckerAlgorithm, IntersectionAlgorithm, SimpleBufferAlgorithm, TopologyPreservingSimplificationAlgorithm
public abstract class AbstractSelfDescribingAlgorithm
- extends AbstractAlgorithm
- implements ISubject
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSelfDescribingAlgorithm
public AbstractSelfDescribingAlgorithm()
initializeDescription
protected net.opengis.wps.x100.ProcessDescriptionType initializeDescription()
- Description copied from class:
AbstractAlgorithm
- This method should be overwritten, in case you want to have a way of initializing.
In detail it looks for a xml descfile, which is located in the same directory as the implementing class and has the same
name as the class, but with the extension XML.
- Overrides:
initializeDescription in class AbstractAlgorithm
- Returns:
getMinOccurs
public java.math.BigInteger getMinOccurs(java.lang.String identifier)
getMaxOccurs
public java.math.BigInteger getMaxOccurs(java.lang.String identifier)
getInputIdentifiers
public abstract java.util.List<java.lang.String> getInputIdentifiers()
getOutputIdentifiers
public abstract java.util.List<java.lang.String> getOutputIdentifiers()
getState
public java.lang.Object getState()
- Specified by:
getState in interface ISubject
update
public void update(java.lang.Object state)
- Specified by:
update in interface ISubject
addObserver
public void addObserver(IObserver o)
- Specified by:
addObserver in interface ISubject
removeObserver
public void removeObserver(IObserver o)
- Specified by:
removeObserver in interface ISubject
notifyObservers
public void notifyObservers()
getErrors
public java.util.List<java.lang.String> getErrors()
- Specified by:
getErrors in interface IAlgorithm
Copyright © 2007-2011 52north.org. All Rights Reserved.