ocrd_models.ocrd_agent module¶
API to mets:agent
-
class
ocrd_models.ocrd_agent.OcrdAgent(el=None, name=None, _type=None, othertype=None, role=None, otherrole=None)[source]¶ Bases:
objectRepresents a <mets:agent>
- Parameters
el (LxmlElement) –
name (string) –
_type (string) –
othertype (string) –
role (string) –
otherrole (string) –
-
property
type¶ Get the
TYPEattribute value.
-
property
othertype¶ Get the
OTHERTYPEattribute value.
-
property
role¶ Get the
ROLEattribute value.
-
property
otherrole¶ Get the
OTHERROLEattribute value.
-
property
name¶ Get the
mets:nameelement value.