|
|
__init__(self,
filename,
paths=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
|
|
find_file(self,
filename)
|
|
|
resource_factory(self,
tag)
|
|
|
requires_factory(self,
tag)
|
|
|
register_factory(cls,
name)
|
|
|
handle(self,
tag)
|
|
|
__contains__(self,
ref)
|
|
|
__getitem__(self,
ref)
|
|
|
find(self,
cls)
Find all elements of the given class in this resource.
|
|
|
findall(self,
cls,
ns='')
Find all elements of the given class in this resource and all
<require>'ed resources.
|
|
|
add_resource(self,
id,
resource)
|
|
|
get_resource(self,
ref)
|
|
|
save_xml(self,
filename)
Save this resource's XML to the indicated file.
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
__init__
(Constructor)
__init__(self,
filename,
paths=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
- Overrides:
-
object.__init__