Public Member Functions | Public Attributes | Private Member Functions
pymavlink.generator.lib.minixsv.xsvalErrorHandler.ErrorHandler Class Reference

Error-Handler class for XML schema validator handles only validator errors, no parser errors! More...

List of all members.

Public Member Functions

def __init__
def addError
 add error to errorList (raise exception only if error limit is reached)
def addInfo
 add info string to errorList
def addWarning
 add warning to warningList
def flushOutput
 raise exception with complete errorList as exception string (only if errors occurred)
def hasErrors
 check if errors have already been reported
def raiseError
 add error to errorList (if given) and raise exception

Public Attributes

 errorLimit
 errorList
 infoDict
 infoList
 noOfErrors
 verbose
 warningList
 warningProc

Private Member Functions

def _assembleOutputList
def _assembleOutString
def _raiseXsvalException
 Private methods.

Detailed Description

Error-Handler class for XML schema validator handles only validator errors, no parser errors!

Definition at line 52 of file xsvalErrorHandler.py.


Constructor & Destructor Documentation

def pymavlink.generator.lib.minixsv.xsvalErrorHandler.ErrorHandler.__init__ (   self,
  errorLimit,
  warningProc,
  verbose 
)

Definition at line 54 of file xsvalErrorHandler.py.


Member Function Documentation

def pymavlink.generator.lib.minixsv.xsvalErrorHandler.ErrorHandler._assembleOutputList (   self,
  outputList,
  sorted = 0 
) [private]

Definition at line 144 of file xsvalErrorHandler.py.

Definition at line 153 of file xsvalErrorHandler.py.

Private methods.

Definition at line 138 of file xsvalErrorHandler.py.

def pymavlink.generator.lib.minixsv.xsvalErrorHandler.ErrorHandler.addError (   self,
  errstr,
  element = None,
  endTag = 0 
)

add error to errorList (raise exception only if error limit is reached)

Definition at line 74 of file xsvalErrorHandler.py.

def pymavlink.generator.lib.minixsv.xsvalErrorHandler.ErrorHandler.addInfo (   self,
  infostr,
  element = None 
)

add info string to errorList

Definition at line 104 of file xsvalErrorHandler.py.

def pymavlink.generator.lib.minixsv.xsvalErrorHandler.ErrorHandler.addWarning (   self,
  warnstr,
  element = None 
)

add warning to warningList

Definition at line 92 of file xsvalErrorHandler.py.

raise exception with complete errorList as exception string (only if errors occurred)

Definition at line 120 of file xsvalErrorHandler.py.

check if errors have already been reported

Definition at line 68 of file xsvalErrorHandler.py.

def pymavlink.generator.lib.minixsv.xsvalErrorHandler.ErrorHandler.raiseError (   self,
  errstr,
  element = None 
)

add error to errorList (if given) and raise exception

Definition at line 111 of file xsvalErrorHandler.py.


Member Data Documentation

Definition at line 54 of file xsvalErrorHandler.py.

Definition at line 54 of file xsvalErrorHandler.py.

Definition at line 54 of file xsvalErrorHandler.py.

Definition at line 120 of file xsvalErrorHandler.py.

Definition at line 54 of file xsvalErrorHandler.py.

Definition at line 54 of file xsvalErrorHandler.py.

Definition at line 54 of file xsvalErrorHandler.py.

Definition at line 54 of file xsvalErrorHandler.py.


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


mavlink
Author(s): Lorenz Meier
autogenerated on Sun May 22 2016 04:05:44