Package lxml :: Module etree :: Class XMLSchema
[show private | hide private]
[frames | no frames]

Type XMLSchema

object --+    
         |    
_Validator --+
             |
            XMLSchema


Turn a document into an XML Schema validator.
Method Summary
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __call__(x, ...)
x.__call__(...) <==> x(...)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
    Inherited from _Validator
  assert_(...)
Raises AssertionError if the document does not comply with the schema.
  assertValid(...)
Raises DocumentInvalid if the document does not comply with the schema.
  validate(...)
Validate the document using this schema.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
    Inherited from _Validator
getset_descriptor error_log = <attribute 'error_log' of 'lxml.etree._Valid...

Method Details

__init__(...)
(Constructor)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides:
lxml.etree._Validator.__init__

__call__(x, ...)
(Call operator)

x.__call__(...) <==> x(...)
Returns:
x(...)

__new__(T, S, ...)

T.__new__(S, ...) -> a new object with type S, a subtype of T
Returns:
a new object with type S, a subtype of T
Overrides:
lxml.etree._Validator.__new__

Generated by Epydoc 2.1 on Sat Aug 18 12:44:28 2007 http://epydoc.sf.net