Learn R Programming

ows4R (version 0.4)

CSWConstraint: CSWConstraint

Description

CSWConstraint

CSWConstraint

Arguments

Value

Object of R6Class for modelling an CSW Constraint

Format

R6Class object.

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super class

ows4R::OGCAbstractObject -> CSWConstraint

Public fields

wrap

internal property for object XML encoding

CqlText

text to use as CQL filter

filter

Methods

Inherited methods


Method new()

Initializes a CSWConstraint object to be used to constrain CSW operations.

Usage

CSWConstraint$new(cqlText = NULL, filter = NULL, serviceVersion = "2.0.2")

Arguments

cqlText

cqlText, object of class character

filter

filter, object extending OGCFilter

serviceVersion

CSW service version. Default is "2.0.2"


Method setServiceVersion()

Set service version. This methods ensures that underlying filter property is properly set with the right OGC filter version.

Usage

CSWConstraint$setServiceVersion(serviceVersion)

Arguments

serviceVersion

service version


Method clone()

The objects of this class are cloneable with this method.

Usage

CSWConstraint$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

Run this code
  filter <- OGCFilter$new( PropertyIsEqualTo$new("apiso:Identifier", "12345") )
  cons <- CSWConstraint$new(filter = filter)
  cons_xml <- cons$encode() #how it looks like in XML

Run the code above in your browser using DataLab