SWEElement

SWEElement

Format

R6Class object.

Value

Object of R6Class for modelling an GML element

Note

Class used by geometa internal XML decoder/encoder

Methods

new(xml, element, attrs, defaults)

This method is used to instantiate a GML element

References

ISO/TS 19103:2005 Geographic information – Conceptual schema language

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Methods

Inherited methods


Method new()

Initializes a generic abstract SWE element

Usage

SWEElement$new(
  xml = NULL,
  element = NULL,
  attrs = list(),
  defaults = list(),
  xmlNamespacePrefix = "SWE"
)

Arguments

xml

object of class XMLInternalNode-class from XML

element

element

attrs

attrs

defaults

defaults

xmlNamespacePrefix

XML namespace prefix. Default is "SWE"


Method decode()

Decodes object from XML

Usage

SWEElement$decode(xml)

Arguments

xml

object of class XMLInternalNode-class from XML


Method clone()

The objects of this class are cloneable with this method.

Usage

SWEElement$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.