API Reference¶
This document explores the API of this package.
Interfaces¶
Static tree interfaces
Nodes¶
A node in the tree
Encoders¶
Static tree utilities
Adapters¶
Object adapters
This module contains adapters necessary to use common objects with
statictree. The most prominent ones are those for
zope.location.interfaces.ILocation and
zope.container.interfaces.IReadContainer. We also provide
adapters for any object, so we don’t end up with ComponentLookupErrors
whenever encounter unknown objects.
Filters¶
Filters
Child objects can be filtered out by certain criteria which are
defined by a filter. Writing your own filter should be very easy. All
you have to implement is the
zope.container.interfaces.IObjectFindFilter interface.
Already existing filters for the find machinery may be used with
statictree just as well.
Since commonly needed, this module provides two filters that filter by interface.
Browser Views¶
Browser views