File: XMLAttributes-class.Rd

package info (click to toggle)
r-cran-xml 3.99-0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,688 kB
  • sloc: ansic: 6,659; xml: 2,890; asm: 486; sh: 12; makefile: 2
file content (48 lines) | stat: -rw-r--r-- 1,424 bytes parent folder | download | duplicates (7)
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
38
39
40
41
42
43
44
45
46
47
48
\name{XMLAttributes-class}
\Rdversion{1.1}
\docType{class}
\alias{XMLAttributes-class}
\alias{[,XMLAttributes-method}
\alias{show,XMLAttributes-method}

\title{Class \code{"XMLAttributes"}}
\description{A simple class to represent a named character vector of XML
  attributes some of which may have a namespace.
This maintains the name space}
\section{Objects from the Class}{
Objects can be created by calls of the form \code{new("XMLAttributes", ...)}.
These are typically generated via a call to \code{\link{xmlAttrs}}.
}
\section{Slots}{
  \describe{
    \item{\code{.Data}:}{Object of class \code{"character"}}
  }
}
\section{Extends}{
Class \code{"\linkS4class{character}"}, from data part.
Class \code{"\linkS4class{vector}"}, by class "character", distance 2.
Class \code{"\linkS4class{data.frameRowLabels}"}, by class "character", distance 2.
Class \code{"\linkS4class{SuperClassMethod}"}, by class "character", distance 2.
}
\section{Methods}{
  \describe{
    \item{[}{\code{signature(x = "XMLAttributes")}: ... }
    \item{show}{\code{signature(object = "XMLAttributes")}: ... }
	 }
}
\author{
Duncan Temple Lang
}

\seealso{
  \code{\link{xmlAttrs}}
  \code{\link{newXMLNode}}
  \code{\link{xmlParse}}  
}
\examples{
  nn = newXMLNode("foo", attrs = c(a = "123", 'r:show' = "true"),
                   namespaceDefinitions = c(r = "http://www.r-project.org"))
  a = xmlAttrs(nn)
  a["show"]
}
\keyword{classes}