Module indiclient :: Class _inditagfactory
[show private | hide private]
[frames | no frames]

Class _inditagfactory

_indinameconventions --+
                       |
                      _inditagfactory


A Class to create an indixmltag from its XML representation
Method Summary
  __init__(self)
Constructor
indixmltag create_tag(self, tag)
Return an indixmltag created according to the information given in tag
    Inherited from _indinameconventions
StringType _get_defelementtag(self, basename)
Return xml tag of an element that is send by the server when an IDDef* function is called on vector which contains the element (like defText).
StringType _get_defvectortag(self, basename)
Return xml tag of a vector that is send by the server when an IDDef* function is called(like defTextVector).
StringType _get_element_repr(self, basename)
Return printable representation of the type of the element .
StringType _get_message_tag(self)
Return xml tag of an INDI message.
StringType _get_newelementtag(self, basename)
Return xml tag of an element that is send by the client (like oneText).
StringType _get_newvectortag(self, basename)
Return xml tag of a vector that is send by the client (like newTextVector).
StringType _get_setelementtag(self, basename)
Return xml tag of an element that is send by the server when an IDSet* function is called on vector which contains the element (like oneText).
StringType _get_setvectortag(self, basename)
Return xml tag of a vector that is send by the server when am IDSet* function is called (like setTextVector).
StringType _get_vector_repr(self, basename)
Return printable representation of the type of the vector .

Instance Variable Summary
DictType dict: a dictionary mapping XML representations to the corresponding indixmltag objects
    Inherited from _indinameconventions
list of StringType basenames: The possible "Basenames" of an indiobject ["Text","Switch","Number","BLOB","Light"]

Method Details

__init__(self)
(Constructor)

Constructor
Overrides:
indiclient._indinameconventions.__init__

create_tag(self, tag)

Parameters:
tag - the XML tag denoting the vector
           (type=StringType)
Returns:
An indixmltag created according to the information given in tag
           (type=indixmltag)

Instance Variable Details

dict

a dictionary mapping XML representations to the corresponding indixmltag objects
Type:
DictType

Generated by Epydoc 2.1 on Sat Sep 10 10:26:03 2005 http://epydoc.sf.net