Module header_data :: Class Cpublic
[hide private]
[frames] | no frames]

Class Cpublic

source code

This class encapsulates the public element in the header

Instance Methods [hide private]
 
__init__(self, node=None)
Constructor of the object
source code
 
get_node(self) source code
string
get_publicid(self)
Returne the publicId
source code
string
get_uri(self)
Returns the uri
source code
 
set_publicid(self, a)
Sets the publicId
source code
 
set_uri(self, t)
Sets the uri
source code
Method Details [hide private]

__init__(self, node=None)
(Constructor)

source code 

Constructor of the object

Parameters:
  • node (xml Element or None (to create and empty one)) - this is the node of the element. If it is None it will create a new object

get_publicid(self)

source code 

Returne the publicId

Returns: string
title

get_uri(self)

source code 

Returns the uri

Returns: string
uri

set_publicid(self, a)

source code 

Sets the publicId

Parameters:
  • a (string) - title

set_uri(self, t)

source code 

Sets the uri

Parameters:
  • t (string) - uri