Skip to contents

WPSComplexData

WPSComplexData

Format

R6Class object.

Value

Object of R6Class for modelling a WPS Complex Data

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super class

ows4R::OGCAbstractObject -> WPSComplexData

Public fields

value

value

Methods

Inherited methods


Method new()

Initializes an object of class WPSComplexData

Usage

WPSComplexData$new(
  xml = NULL,
  value = NULL,
  schema = NULL,
  mimeType = NULL,
  serviceVersion = "1.0.0",
  cdata = TRUE
)

Arguments

xml

an object of class XMLInternalNode-class to initialize from XML

value

value

schema

schema

mimeType

mime type

serviceVersion

WPS service version

cdata

whether value has to be wrapped in a XML CDATA. Default is TRUE


Method decode()

Decodes an object of class WPSComplexData from XML

Usage

WPSComplexData$decode(xml)

Arguments

xml

an object of class XMLInternalNode-class to initialize from XML


Method checkValidity()

Check the object against a parameter description inherited from a WPS process description, object of class WPSComplexInputDescription. If not valid, the function will raise an error.

Usage

WPSComplexData$checkValidity(parameterDescription)

Arguments

parameterDescription

object of class WPSComplexInputDescription

Returns

an error if not valid


Method getFeatures()

Get features

Usage

WPSComplexData$getFeatures()

Returns

object of class sf


Method clone()

The objects of this class are cloneable with this method.

Usage

WPSComplexData$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.