Public Member Functions | Public Attributes | Private Member Functions
pymavlink.generator.lib.genxmlif.xmlifBase.XmlIfBuilderExtensionBase Class Reference

XmlIf builder extension base class All not implemented methods have to be overloaded by the derived class!! More...

List of all members.

Public Member Functions

def __init__
def endElementHandler
def startElementHandler

Public Attributes

 absUrl
 baseUrlStack
 elementWrapperClass
 filePath
 treeWrapper

Private Member Functions

def __getBaseUrl

Detailed Description

XmlIf builder extension base class All not implemented methods have to be overloaded by the derived class!!

XmlIf builder extension base class.

This class provides additional data (e.g. line numbers or caches) 
for an element node which are stored in the element node object during parsing.

Definition at line 57 of file xmlifBase.py.


Constructor & Destructor Documentation

def pymavlink.generator.lib.genxmlif.xmlifBase.XmlIfBuilderExtensionBase.__init__ (   self,
  filePath,
  absUrl,
  treeWrapper,
  elementWrapperClass 
)
Constructor for this class

Input parameter:
    filePath:      contains the file path of the corresponding XML file
    absUrl:        contains the absolute URL of the corresponding XML file

Definition at line 64 of file xmlifBase.py.


Member Function Documentation

Retrieve base URL for the given element node.

Input parameter:
    elementWrapper:    wrapper of current element node

Definition at line 119 of file xmlifBase.py.

Called by the XML parser after creation of an element node.

Input parameter:
    curNode:          current element node
    endLineNumber:    last line number of the element tag in XML file

Definition at line 108 of file xmlifBase.py.

def pymavlink.generator.lib.genxmlif.xmlifBase.XmlIfBuilderExtensionBase.startElementHandler (   self,
  curNode,
  startLineNumber,
  curNs,
  attributes = [] 
)
Called by the XML parser at creation of an element node.

Input parameter:
    curNode:          current element node
    startLineNumber:  first line number of the element tag in XML file
    curNs:            namespaces visible for this element node
    attributes:       list of attributes and their values for this element node 
              (same sequence as int he XML file)

Definition at line 78 of file xmlifBase.py.


Member Data Documentation

Definition at line 69 of file xmlifBase.py.

Definition at line 69 of file xmlifBase.py.

Definition at line 69 of file xmlifBase.py.

Definition at line 69 of file xmlifBase.py.

Definition at line 69 of file xmlifBase.py.


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


mavlink
Author(s): Lorenz Meier
autogenerated on Wed Sep 9 2015 18:06:18