getNodeType {redland} | R Documentation |
Determine the node type and return as a string
Description
A Node has a type that is assigned at initialization and can have one of the following values: 'resource', 'literal', 'blank' and 'unknown'.
Usage
getNodeType(.Object)
## S4 method for signature 'Node'
getNodeType(.Object)
Arguments
.Object |
a Node object |
Value
a character vector containing the Node type
Examples
world <- new("World")
node <- new("Node", world, uri="http://www.example.com")
nodeType <- getNodeType(node)
[Package redland version 1.0.17-18 Index]