Classes | Functions | Variables
pymavlink::generator::lib::minixsv::pyxsval Namespace Reference

Classes

class  XsValidator
 XML schema validator class. More...

Functions

def _interfaceFactory4Dom
def _interfaceFactoryElementTree
def _interfaceFactoryMinidom
def addUserSpecXmlIfClass
 access function for adding a user specific XML interface class
def getVersion
 retrieve version of minixsv
def parseAndValidate
 convenience function for validating 1.
def parseAndValidateString
 convenience function for validating 1.
def parseAndValidateXmlInput
 factory for validating 1.
def parseAndValidateXmlInputString
 factory for validating 1.
def parseAndValidateXmlSchema
 factory for validating only given XML schema file
def parseAndValidateXmlSchemaString
 factory for validating only given XML schema file

Variables

list __all__
string __author__ = "Roland Leuthe <roland@leuthe-net.de>"
string __date__ = "08. August 2008"
string __version__ = "0.9.0"
dictionary _xmlIfDict
int _XS_VAL_DEFAULT_ERROR_LIMIT = 20
 rulesTreeWrapper = None

Function Documentation

def pymavlink.generator.lib.minixsv.pyxsval._interfaceFactory4Dom (   verbose,
  useCaching,
  processXInclude 
) [private]

Definition at line 363 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval._interfaceFactoryElementTree (   verbose,
  useCaching,
  processXInclude 
) [private]

Definition at line 366 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval._interfaceFactoryMinidom (   verbose,
  useCaching,
  processXInclude 
) [private]

Definition at line 360 of file pyxsval.py.

access function for adding a user specific XML interface class

Definition at line 89 of file pyxsval.py.

retrieve version of minixsv

Definition at line 82 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval.parseAndValidate (   inputFile,
  xsdFile = None,
  kw 
)

convenience function for validating 1.

XML schema file 2. XML input file If xsdFile is specified, it will ONLY be used for validation if no schema file is specified in the input file If xsdFile=None, the schemaLocation attribute is expected in the root tag of the XML input file

Definition at line 104 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval.parseAndValidateString (   inputText,
  xsdText = None,
  kw 
)

convenience function for validating 1.

text string containing the XML schema 2. text string containing the XML input If xsdText is given, it will ONLY be used for validation if no schema file is specified in the input text If xsdText=None, the schemaLocation attribute is expected in the root tag of the XML input

Definition at line 116 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval.parseAndValidateXmlInput (   inputFile,
  xsdFile = None,
  validateSchema = 0,
  kw 
)

factory for validating 1.

XML schema file (only if validateSchema=1) 2. XML input file If xsdFile is specified, it will ONLY be used for validation if no schema file is specified in the input file If xsdFile=None, the schemaLocation attribute is expected in the root tag of the XML input file

Definition at line 128 of file pyxsval.py.

def pymavlink.generator.lib.minixsv.pyxsval.parseAndValidateXmlInputString (   inputText,
  xsdText = None,
  baseUrl = "",
  validateSchema = 0,
  kw 
)

factory for validating 1.

text string containing the XML schema (only if validateSchema=1) 2. text string containing the XML input If xsdText is given, it will ONLY be used for validation if no schema file is specified in the input text If xsdText=None, the schemaLocation attribute is expected in the root tag of the XML input

Definition at line 144 of file pyxsval.py.

factory for validating only given XML schema file

Definition at line 155 of file pyxsval.py.

factory for validating only given XML schema file

Definition at line 166 of file pyxsval.py.


Variable Documentation

Initial value:
00001 [
00002     # public symbols
00003     "addUserSpecXmlIfClass",
00004     "parseAndValidate",
00005     "parseAndValidateString",
00006     "parseAndValidateXmlInput",
00007     "parseAndValidateXmlInputString",
00008     "parseAndValidateXmlSchema",
00009     "parseAndValidateXmlSchemaString",
00010     "XsValidator",
00011     ]

Definition at line 47 of file pyxsval.py.

string pymavlink::generator::lib::minixsv::pyxsval::__author__ = "Roland Leuthe <roland@leuthe-net.de>"

Definition at line 69 of file pyxsval.py.

Definition at line 70 of file pyxsval.py.

Definition at line 71 of file pyxsval.py.

Initial value:
00001 {XMLIF_MINIDOM    :_interfaceFactoryMinidom,
00002               XMLIF_4DOM       :_interfaceFactory4Dom,
00003               XMLIF_ELEMENTTREE:_interfaceFactoryElementTree}

Definition at line 370 of file pyxsval.py.

Definition at line 74 of file pyxsval.py.

Definition at line 76 of file pyxsval.py.



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