rpki.publication.publication_object_elt Class Reference

Inherits rpki::xml_utils::base_elt, and rpki::publication::publication_namespace.

Inherited by rpki.publication.certificate_elt, rpki.publication.crl_elt, rpki.publication.manifest_elt, and rpki.publication.roa_elt.

List of all members.

Public Member Functions

def endElement
def serve_dispatch
def serve_publish
def serve_withdraw
def toXML
def uri_to_filename

Static Public Attributes

tuple attributes = ("action", "tag", "client_id", "uri")
 XML attributes for this element.
 payload = None


Detailed Description

Virtual class for publishable objects.  These have very similar
syntax, differences lie in underlying datatype and methods.  XML
methods are a little different from the pattern used for objects
that support the create/set/get/list/destroy actions, but
publishable objects don't go in SQL either so these classes would be
different in any case.

Definition at line 170 of file publication.py.


Member Function Documentation

def rpki.publication.publication_object_elt.endElement (   self,
  stack,
  name,
  text 
)

Handle a publishable element element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 183 of file publication.py.

def rpki.publication.publication_object_elt.serve_dispatch (   self,
  r_msg,
  cb,
  eb 
)

Action dispatch handler.

Definition at line 201 of file publication.py.

def rpki.publication.publication_object_elt.serve_publish (   self  ) 

Publish an object.

Definition at line 220 of file publication.py.

def rpki.publication.publication_object_elt.serve_withdraw (   self  ) 

Withdraw an object.

Definition at line 233 of file publication.py.

def rpki.publication.publication_object_elt.toXML (   self  ) 

Generate XML element for publishable object.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 192 of file publication.py.

def rpki.publication.publication_object_elt.uri_to_filename (   self  ) 

Convert a URI to a local filename.

Definition at line 240 of file publication.py.


Member Data Documentation

tuple rpki.publication.publication_object_elt.attributes = ("action", "tag", "client_id", "uri") [static]

XML attributes for this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 180 of file publication.py.

Definition at line 181 of file publication.py.


The documentation for this class was generated from the following file:

Generated on Tue Jun 2 19:10:19 2009 for RPKI Engine by  doxygen 1.5.8