|
|
__init__(self,
collection,
existing_member=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
initiate(self,
id)
Creates a default Atom entry document with its id, published, updated
and edited children set. |
source code
|
|
|
|
|
|
|
|
|
|
|
amara.bindery.root_base subclass
|
add_element(self,
name,
content=None,
attributes=None,
prefix=None,
ns=None,
parent=None)
Adds a child to an element |
source code
|
|
amara.bindery.root_base subclass
|
copy_element(self,
name,
source=None,
destination=None,
ns=None)
Copies an element into another element |
source code
|
|
|
|
copy_elements(self,
name,
source=None,
destination=None,
ns=None)
Copies a list of elements into another element |
source code
|
|
|
bool
|
|
|
bool
|
|
|
bool
|
requires_author(self)
Returns True if the entry requires an atom:author to be
added based on section 4.1.2 of RFC 4287. |
source code
|
|
|
|
validate(self)
Validates this entry by following section 4.1.2 of RFC 4287 |
source code
|
|
|
|
|
|
|
copy_from(self,
entry,
include_content=True)
Copies elements from the entry into
self.entry and ensures this process keeps
self.entry valid as per RFC 4287. |
source code
|
|
|
|
clone(self,
entry,
preserve_id=False,
preserve_dates=False,
include_content=True)
Makes a clone of the provided entry but keeps from
self.entry some element values based on the parameters
of the function call. |
source code
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|