Package lxml :: Package tests :: Module test_xmlschema :: Class ETreeXMLSchemaResolversTestCase :: Class simple_resolver |
[hide private]
[frames] | no frames]

# Class simple_resolver

source code

        object --+
                 |
    etree.Resolver --+
                     |
                    ETreeXMLSchemaResolversTestCase.simple_resolver

Instance Methods | [hide private]
__init__(self, schema) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
resolve(self, url, id, context) Override this method to resolve an external source by `system_url` and `public_id`. | source code
Inherited from `etree.Resolver`: `__new__`, `resolve_empty`, `resolve_file`, `resolve_filename`, `resolve_string` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, schema) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)

### resolve(self, url, id, context) | source code
Override this method to resolve an external source by `system_url` and `public_id`. The third argument is an opaque context object. Return the result of one of the `resolve_*()` methods. Overrides: etree.Resolver.resolve (inherited documentation)