-
Notifications
You must be signed in to change notification settings - Fork 5
/
GMLCOVExtension.R
37 lines (37 loc) · 1.07 KB
/
GMLCOVExtension.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#' GMLCOVExtension
#'
#' @docType class
#' @export
#' @keywords GML GMLCOV Coverage
#' @return Object of \code{\link{R6Class}} for modelling a GMLCOV Extension
#' @format \code{\link{R6Class}} object.
#'
#' @section Methods:
#' \describe{
#' \item{\code{new(xml, element, attrs, defaults, wrap)}}{
#' This method is used to create a GMLCOV extension
#' }
#' }
#'
#' @references
#' GML 3.2.1 Application Schema for Coverages http://www.opengis.net/gmlcov/1.0
#'
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com>
#'
GMLCOVExtension <- R6Class("GMLCOVExtension",
inherit = ISOAbstractObject,
lock_objects = FALSE,
private = list(
xmlElement = "Extension",
xmlNamespacePrefix = "GMLCOV"
),
public = list(
anyElement = TRUE,
initialize = function(xml = NULL, element = NULL, attrs = list(),
defaults = list(), wrap = TRUE){
if(is.null(element)) element <- private$xmlElement
super$initialize(xml, element = element, attrs = attrs,
defaults = defaults, wrap = wrap)
}
)
)