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 help(type(x)) for signature | source code
resolve(self, url, id, context) Override this method to resolve an external source by `system_url` and `public_id`. The third argument is an opaque context object. | source code
Inherited from `etree.Resolver`: `__new__`, `resolve_empty`, `resolve_file`, `resolve_filename`, `resolve_string` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

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

Method Details | [hide private]

### __init__(self, schema) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) 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)