SWETextEncoding
SWETextEncoding
SWETextEncoding class
R6Class
object.
Object of R6Class
for modelling an SWE text encoding object
SWE Common Data Model Encoding Standard. https://www.ogc.org/standards/swecommon
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::SWEAbstractObject
-> geometa::SWEAbstractSWE
-> geometa::SWEAbstractEncoding
-> SWETextEncoding
new()
Initializes a SWE Text Encoding element
SWETextEncoding$new(
xml = NULL,
collapseWhiteSpaces = TRUE,
decimalSeparator = ".",
tokenSeparator = NULL,
blockSeparator = NULL
)
xml
: object of class XMLInternalNode-class from XML
collapseWhiteSpaces
: Indicates whether white spaces (i.e. space, tab, CR, LF) should be collapsed with separators when parsing the data stream. Default is TRUE
decimalSeparator
: Character used as the decimal separator. Default is TRUE
tokenSeparator
: Character sequence used as the token separator (i.e. between two successive values). Required
blockSeparator
: Character sequence used as the block separator (i.e. between two successive blocks in the data set. The end of a block is reached once all values from the data tree have been encoded once). Required
clone()
The objects of this class are cloneable with this method.
SWETextEncoding$clone(deep = FALSE)
deep
: Whether to make a deep clone.