Skip to contents

This class models a GeoServer layer. This class is to be used internally by geosapi for configuring layers or layer groups within an object of class GSLayerGroup

Format

R6Class object.

Value

Object of R6Class for modelling a GeoServer layer group publishable

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super class

geosapi::GSRESTResource -> GSPublishable

Public fields

full

full

name

name

attr_type

type of attribute

Methods

Inherited methods


Method new()

Initializes a GSPublishable

Usage

GSPublishable$new(xml = NULL, name, type)

Arguments

xml

an object of class xml_node-class

name

name

type

type


Method decode()

Decodes from XML

Usage

GSPublishable$decode(xml)

Arguments

xml

an object of class xml_node-class


Method setName()

set name

Usage

GSPublishable$setName(name)

Arguments

name

name


Method setType()

Set type

Usage

GSPublishable$setType(type)

Arguments

type

type


Method clone()

The objects of this class are cloneable with this method.

Usage

GSPublishable$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  publishable <- GSPublishable$new(name = "name", type = "layer")