Package rsbxml :: Module xop :: Class Attachment
[hide private]
[frames] | no frames]

Class Attachment

source code

object --+
         |
        Attachment

Instances of this class represent individual binary data items associated to an XOP XML document.

For the XOP specification, see http://www.w3.org/TR/xop10/.


Author: jmoringe

Instance Methods [hide private]
 
__init__(self, uri, data)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getURI(self) source code
 
setURI(self, uri) source code
 
getData(self) source code
 
setData(self, data) source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]
  uri
  data

Inherited from object: __class__

Method Details [hide private]

__init__(self, uri, data)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

uri

Get Method:
getURI(self)
Set Method:
setURI(self, uri)

data

Get Method:
getData(self)
Set Method:
setData(self, data)