def unmarshaller(self): """ Get the appropriate schema based XML decoder. @return: Typed unmarshaller. @rtype: L{UmxTyped} """ return UmxTyped(self.schema())
def unmarshaller(self, typed=True): """ Get the appropriate XML decoder. @return: Either the (basic|typed) unmarshaller. @rtype: L{UmxTyped} """ if typed: return UmxTyped(self.schema()) else: return UmxBasic()