Skip to contents

PropertyIsLike

PropertyIsLike

Format

R6Class object.

Value

Object of R6Class for modelling an PropertyIsLike

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

ows4R::OGCAbstractObject -> ows4R::OGCExpression -> PropertyIsLike

Public fields

PropertyName

property name field for XML encoding

Literal

literal field for XML encoding

attrs

attributes for XML encoding

Methods

Inherited methods


Method new()

Initializes an object extending PropertyIsLike

Usage

PropertyIsLike$new(
  PropertyName,
  Literal,
  escapeChar = "\\",
  singleChar = "_",
  wildCard = "%",
  matchCase = NA
)

Arguments

PropertyName

property name

Literal

literal

escapeChar

escape character. Default is "\"

singleChar

single character. Default is "_"

wildCard

wildcard

matchCase

match case


Method clone()

The objects of this class are cloneable with this method.

Usage

PropertyIsLike$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  expr <- PropertyIsLike$new(PropertyName = "property", Literal = "value")
  expr_xml <- expr$encode() #see how it looks like in XML