-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9827118
commit 44a5f64
Showing
11 changed files
with
94 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,43 @@ | ||
#' Register S4 classes | ||
#' | ||
#' @description | ||
#' Classes are exported so they can be re-used within S4 classes, see [methods::setOldClass()]. | ||
#' | ||
#' `xml_document`: a complete document. | ||
#' | ||
#' @name xml_document-class | ||
#' @family xml_document | ||
#' @importFrom methods setOldClass | ||
#' @exportClass xml_document | ||
#' @rdname oldclass | ||
setOldClass("xml_document") | ||
|
||
#' xml_missing class | ||
#' | ||
#' `xml_missing`: a missing object, e.g. for an empty result set. | ||
#' | ||
#' @name xml_missing-class | ||
#' @family xml_missing | ||
#' @exportClass xml_missing | ||
#' @rdname oldclass | ||
setOldClass("xml_missing") | ||
|
||
#' xml_node Class | ||
#' | ||
#' `xml_node`: a single node in a document. | ||
#' | ||
#' @name xml_node-class | ||
#' @family xml_node | ||
#' @exportClass xml_node | ||
#' @rdname oldclass | ||
setOldClass("xml_node") | ||
|
||
#' xml_nodeset Class | ||
#' | ||
#' `xml_nodeset`: a _set_ of nodes within a document. | ||
#' | ||
#' @name xml_nodeset-class | ||
#' @family xml_nodeset | ||
#' @exportClass xml_nodeset | ||
#' @rdname oldclass | ||
setOldClass("xml_nodeset") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters