manifest.py 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. # Copyright (C) 2006-2007 Søren Roug, European Environment Agency
  4. #
  5. # This library is free software; you can redistribute it and/or
  6. # modify it under the terms of the GNU Lesser General Public
  7. # License as published by the Free Software Foundation; either
  8. # version 2.1 of the License, or (at your option) any later version.
  9. #
  10. # This library is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. # Lesser General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU Lesser General Public
  16. # License along with this library; if not, write to the Free Software
  17. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  18. #
  19. # Contributor(s):
  20. #
  21. #
  22. import sys, os.path
  23. sys.path.append(os.path.dirname(__file__))
  24. from odf.namespaces import MANIFESTNS
  25. from odf.element import Element
  26. # Autogenerated
  27. def Manifest(**args):
  28. return Element(qname = (MANIFESTNS,'manifest'), **args)
  29. def FileEntry(**args):
  30. return Element(qname = (MANIFESTNS,'file-entry'), **args)
  31. def EncryptionData(**args):
  32. return Element(qname = (MANIFESTNS,'encryption-data'), **args)
  33. def Algorithm(**args):
  34. return Element(qname = (MANIFESTNS,'algorithm'), **args)
  35. def KeyDerivation(**args):
  36. return Element(qname = (MANIFESTNS,'key-derivation'), **args)