Package suds :: Package umx :: Module basic
[hide private]
[frames] | no frames]

Source Code for Module suds.umx.basic

 1  # This program is free software; you can redistribute it and/or modify 
 2  # it under the terms of the (LGPL) GNU Lesser General Public License as 
 3  # published by the Free Software Foundation; either version 3 of the  
 4  # License, or (at your option) any later version. 
 5  # 
 6  # This program is distributed in the hope that it will be useful, 
 7  # but WITHOUT ANY WARRANTY; without even the implied warranty of 
 8  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
 9  # GNU Library Lesser General Public License for more details at 
10  # ( http://www.gnu.org/licenses/lgpl.html ). 
11  # 
12  # You should have received a copy of the GNU Lesser General Public License 
13  # along with this program; if not, write to the Free Software 
14  # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
15  # written by: Jeff Ortel ( jortel@redhat.com ) 
16   
17  """ 
18  Provides basic unmarshaller classes. 
19  """ 
20   
21  from logging import getLogger 
22  from suds import * 
23  from suds.umx import * 
24  from suds.umx.core import Core 
25   
26   
27 -class Basic(Core):
28 """ 29 A object builder (unmarshaller). 30 """ 31
32 - def process(self, node):
33 """ 34 Process an object graph representation of the xml I{node}. 35 @param node: An XML tree. 36 @type node: L{sax.element.Element} 37 @return: A suds object. 38 @rtype: L{Object} 39 """ 40 content = Content(node) 41 return Core.process(self, content)
42