[rkward-cvs] SF.net SVN: rkward:[3872] trunk/rkward/rkward/rbackend/rpackages/XiMpLe
m-eik at users.sourceforge.net
m-eik at users.sourceforge.net
Sat Oct 1 20:34:03 UTC 2011
Revision: 3872
http://rkward.svn.sourceforge.net/rkward/?rev=3872&view=rev
Author: m-eik
Date: 2011-10-01 20:34:02 +0000 (Sat, 01 Oct 2011)
Log Message:
-----------
XiMpLe: added show methods for XiMpLe objects
Modified Paths:
--------------
trunk/rkward/rkward/rbackend/rpackages/XiMpLe/ChangeLog
trunk/rkward/rkward/rbackend/rpackages/XiMpLe/DESCRIPTION
trunk/rkward/rkward/rbackend/rpackages/XiMpLe/NAMESPACE
trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/XiMpLe-package.R
trunk/rkward/rkward/rbackend/rpackages/XiMpLe/inst/CITATION
trunk/rkward/rkward/rbackend/rpackages/XiMpLe/man/XiMpLe-package.Rd
Added Paths:
-----------
trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/show.XiMpLe.doc.R
trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/show.XiMpLe.node.R
trunk/rkward/rkward/rbackend/rpackages/XiMpLe/man/show-methods.Rd
Modified: trunk/rkward/rkward/rbackend/rpackages/XiMpLe/ChangeLog
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/XiMpLe/ChangeLog 2011-09-30 21:05:49 UTC (rev 3871)
+++ trunk/rkward/rkward/rbackend/rpackages/XiMpLe/ChangeLog 2011-10-01 20:34:02 UTC (rev 3872)
@@ -1,5 +1,8 @@
ChangeLog for package XiMpLe
+## 0.03-4 (2011-10-01)
+ - added show methods for objects of class XiMpLe.doc and XiMpLe.node
+
## 0.03-3 (2011-09-27)
- changed default 'shine' value of pasteXMLNode() and pasteXMLTree() from 2 to 1
- pasteXMLNode() and pasteXMLTree() now try to call each other if fed with the wrong class object,
Modified: trunk/rkward/rkward/rbackend/rpackages/XiMpLe/DESCRIPTION
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/XiMpLe/DESCRIPTION 2011-09-30 21:05:49 UTC (rev 3871)
+++ trunk/rkward/rkward/rbackend/rpackages/XiMpLe/DESCRIPTION 2011-10-01 20:34:02 UTC (rev 3872)
@@ -19,8 +19,8 @@
URL: http://rkward.sourceforge.net
Authors at R: c(person(given="Meik", family="Michalke",
email="meik.michalke at hhu.de", role=c("aut", "cre")))
-Version: 0.03-3
-Date: 2011-09-27
+Version: 0.03-4
+Date: 2011-10-01
Collate:
'XiMpLe.node-class.R'
'XiMpLe.doc-class.R'
@@ -29,6 +29,8 @@
'pasteXMLNode.R'
'pasteXMLTag.R'
'pasteXMLTree.R'
+ 'show.XiMpLe.doc.R'
+ 'show.XiMpLe.node.R'
'XiMpLe-internal.R'
'XiMpLe-internal.roxy.all.R'
'XiMpLe-package.R'
Modified: trunk/rkward/rkward/rbackend/rpackages/XiMpLe/NAMESPACE
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/XiMpLe/NAMESPACE 2011-09-30 21:05:49 UTC (rev 3871)
+++ trunk/rkward/rkward/rbackend/rpackages/XiMpLe/NAMESPACE 2011-10-01 20:34:02 UTC (rev 3872)
@@ -2,6 +2,7 @@
exportClasses(XiMpLe.node)
exportMethods(node)
exportMethods("node<-")
+exportMethods(show)
export(parseXMLTree)
export(pasteXMLNode)
export(pasteXMLTag)
Modified: trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/XiMpLe-package.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/XiMpLe-package.R 2011-09-30 21:05:49 UTC (rev 3871)
+++ trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/XiMpLe-package.R 2011-10-01 20:34:02 UTC (rev 3872)
@@ -3,8 +3,8 @@
#' \tabular{ll}{
#' Package: \tab XiMpLe\cr
#' Type: \tab Package\cr
-#' Version: \tab 0.03-3\cr
-#' Date: \tab 2011-09-27\cr
+#' Version: \tab 0.03-4\cr
+#' Date: \tab 2011-10-01\cr
#' Depends: \tab R (>= 2.9.0),methods\cr
#' Enhances: \tab rkward\cr
#' Encoding: \tab UTF-8\cr
Added: trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/show.XiMpLe.doc.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/show.XiMpLe.doc.R (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/show.XiMpLe.doc.R 2011-10-01 20:34:02 UTC (rev 3872)
@@ -0,0 +1,15 @@
+#' Show method for S4 objects of class \code{\link[XiMpLe:XiMpLe.doc-class]{XiMpLe.doc}}
+#'
+#' @title Show method for objects of class XiMpLe.doc
+#' @param object An object of class \code{XiMpLe.doc}
+#' @aliases show,-methods show,XiMpLe.doc-method
+#' @seealso \code{\link[XiMpLe:XiMpLe.doc-class]{XiMpLe.doc}}
+#' @keywords methods
+#' @exportMethod show
+#' @rdname show-methods
+setGeneric("show")
+
+#' @rdname show-methods
+setMethod("show", signature(object="XiMpLe.doc"), function(object){
+ cat(pasteXMLTree(object))
+})
Added: trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/show.XiMpLe.node.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/show.XiMpLe.node.R (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/XiMpLe/R/show.XiMpLe.node.R 2011-10-01 20:34:02 UTC (rev 3872)
@@ -0,0 +1,15 @@
+#' Show method for S4 objects of class \code{\link[XiMpLe:XiMpLe.node-class]{XiMpLe.node}}
+#'
+#' @title Show method for objects of class XiMpLe.node
+#' @param object An object of class \code{XiMpLe.node}
+#' @aliases show,-methods show,XiMpLe.node-method
+#' @seealso \code{\link[XiMpLe:XiMpLe.node-class]{XiMpLe.node}}
+#' @keywords methods
+#' @exportMethod show
+#' @rdname show-methods
+setGeneric("show")
+
+#' @rdname show-methods
+setMethod("show", signature(object="XiMpLe.node"), function(object){
+ cat(pasteXMLNode(object))
+})
Modified: trunk/rkward/rkward/rbackend/rpackages/XiMpLe/inst/CITATION
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/XiMpLe/inst/CITATION 2011-09-30 21:05:49 UTC (rev 3871)
+++ trunk/rkward/rkward/rbackend/rpackages/XiMpLe/inst/CITATION 2011-10-01 20:34:02 UTC (rev 3872)
@@ -2,12 +2,12 @@
title="XiMpLe: A simple XML tree parser and generator",
author="Meik Michalke",
year="2011",
- note="(Version 0.03-3)",
+ note="(Version 0.03-4)",
url="http://rkward.sourceforge.net",
textVersion =
paste("Michalke, M. (2011). ",
- "XiMpLe: A simple XML tree parser and generator (Version 0.03-3). ",
+ "XiMpLe: A simple XML tree parser and generator (Version 0.03-4). ",
"Available from http://rkward.sourceforge.net",
sep=""),
Modified: trunk/rkward/rkward/rbackend/rpackages/XiMpLe/man/XiMpLe-package.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/XiMpLe/man/XiMpLe-package.Rd 2011-09-30 21:05:49 UTC (rev 3871)
+++ trunk/rkward/rkward/rbackend/rpackages/XiMpLe/man/XiMpLe-package.Rd 2011-10-01 20:34:02 UTC (rev 3872)
@@ -8,8 +8,8 @@
}
\details{
\tabular{ll}{ Package: \tab XiMpLe\cr Type: \tab
- Package\cr Version: \tab 0.03-3\cr Date: \tab
- 2011-09-27\cr Depends: \tab R (>= 2.9.0),methods\cr
+ Package\cr Version: \tab 0.03-4\cr Date: \tab
+ 2011-10-01\cr Depends: \tab R (>= 2.9.0),methods\cr
Enhances: \tab rkward\cr Encoding: \tab UTF-8\cr License:
\tab GPL (>= 3)\cr LazyLoad: \tab yes\cr URL: \tab
http://rkward.sourceforge.net\cr }
Added: trunk/rkward/rkward/rbackend/rpackages/XiMpLe/man/show-methods.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/XiMpLe/man/show-methods.Rd (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/XiMpLe/man/show-methods.Rd 2011-10-01 20:34:02 UTC (rev 3872)
@@ -0,0 +1,25 @@
+\name{show}
+\alias{show}
+\alias{show,-methods}
+\alias{show,XiMpLe.doc-method}
+\alias{show,XiMpLe.node-method}
+\title{Show method for objects of class XiMpLe.doc}
+\arguments{
+ \item{object}{An object of class \code{XiMpLe.doc}}
+
+ \item{object}{An object of class \code{XiMpLe.node}}
+}
+\description{
+ Show method for S4 objects of class
+ \code{\link[XiMpLe:XiMpLe.doc-class]{XiMpLe.doc}}
+
+ Show method for S4 objects of class
+ \code{\link[XiMpLe:XiMpLe.node-class]{XiMpLe.node}}
+}
+\seealso{
+ \code{\link[XiMpLe:XiMpLe.doc-class]{XiMpLe.doc}}
+
+ \code{\link[XiMpLe:XiMpLe.node-class]{XiMpLe.node}}
+}
+\keyword{methods}
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list