Public Member Functions | Public Attributes | Private Member Functions
pymavlink.generator.lib.minixsv.pyxsval.XsValidator Class Reference

XML schema validator class. More...

List of all members.

Public Member Functions

def __init__
def getVersion
 retrieve current version
def parse
 parse XML file 'file' may be a filepath or an URI
def parseString
 parse text string containing XML
def validateXmlInput
 validate XML input
def validateXmlInputString
 validate XML input
def validateXmlSchema
 validate XML schema separately

Public Attributes

 errorHandler
 errorLimit
 schemaDependancyList
 verbose
 warningProc
 xmlIf

Private Member Functions

def _readReferencedXsdFiles
 retrieve XML schema location from XML input tree
def _retrieveReferencedXsdFiles
 retrieve XML schema location from XML input tree
def _validateXmlInput
 validate XML input tree and xsd tree if requested
def _verbosePrint
 print if verbose flag is set

Detailed Description

XML schema validator class.

Definition at line 177 of file pyxsval.py.


Constructor & Destructor Documentation

def pymavlink.generator.lib.minixsv.pyxsval.XsValidator.__init__ (   self,
  xmlIfClass = XMLIF_MINIDOM,
  elementWrapperClass = XsvXmlElementWrapper,
  warningProc = IGNORE_WARNINGS,
  errorLimit = _XS_VAL_DEFAULT_ERROR_LIMIT,
  verbose = 0,
  useCaching = 1,
  processXInclude = 1 
)

Definition at line 178 of file pyxsval.py.


Member Function Documentation

def pymavlink.generator.lib.minixsv.pyxsval.XsValidator._readReferencedXsdFiles (   self,
  inputTreeWrapper,
  validateSchema 
) [private]

retrieve XML schema location from XML input tree

Definition at line 300 of file pyxsval.py.

retrieve XML schema location from XML input tree

Definition at line 327 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval.XsValidator._validateXmlInput (   self,
  xmlInputFile,
  inputTreeWrapper,
  xsdTreeWrapperList 
) [private]

validate XML input tree and xsd tree if requested

Definition at line 289 of file pyxsval.py.

print if verbose flag is set

Definition at line 352 of file pyxsval.py.

retrieve current version

Definition at line 200 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval.XsValidator.parse (   self,
  file,
  baseUrl = "",
  ownerDoc = None 
)

parse XML file 'file' may be a filepath or an URI

Definition at line 208 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval.XsValidator.parseString (   self,
  text,
  baseUrl = "" 
)

parse text string containing XML

Definition at line 216 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval.XsValidator.validateXmlInput (   self,
  xmlInputFile,
  inputTreeWrapper,
  xsdFile = None,
  validateSchema = 0 
)

validate XML input

Definition at line 224 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval.XsValidator.validateXmlInputString (   self,
  inputTreeWrapper,
  xsdText = None,
  validateSchema = 0 
)

validate XML input

Definition at line 246 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval.XsValidator.validateXmlSchema (   self,
  xsdFile,
  xsdTreeWrapper 
)

validate XML schema separately

Definition at line 270 of file pyxsval.py.


Member Data Documentation

Definition at line 178 of file pyxsval.py.

Definition at line 178 of file pyxsval.py.

Definition at line 178 of file pyxsval.py.

Definition at line 178 of file pyxsval.py.

Definition at line 178 of file pyxsval.py.

Definition at line 178 of file pyxsval.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