Package org.n52.shetland.ogc.wps.data
Class Body
- java.lang.Object
-
- org.n52.shetland.ogc.wps.data.Body
-
- Direct Known Subclasses:
InlineBody,ReferencedBody
public abstract class Body extends Object
TODO JavaDoc
-
-
Constructor Summary
Constructors Constructor Description Body()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description InlineBodyasInline()ReferencedBodyasReferenced()abstract StringgetBody()static Bodyinline(String body)booleanisInline()booleanisReferenced()static Bodyreference(String uri)static Bodyreference(URI uri)
-
-
-
Method Detail
-
getBody
public abstract String getBody() throws IOException
- Throws:
IOException
-
isReferenced
public boolean isReferenced()
-
asReferenced
public ReferencedBody asReferenced()
-
isInline
public boolean isInline()
-
asInline
public InlineBody asInline()
-
-