this.maker = maker;
}
public RegistryObject unmarshal(Element element)
{
DispositionReport obj = new DispositionReport();
Vector nodeList = null;
AbstractHandler handler = null;
// We could use the generic attribute value to
// determine which version of UDDI was used to
// format the request XML. - Steve
// Attributes
obj.setGeneric(element.getAttribute("generic"));
obj.setOperator(element.getAttribute("operator"));
// We can ignore the xmlns attribute since we
// can always determine it's value using the
// "generic" attribute. - Steve
// Text Node Value
// {none}
// Child Elements
nodeList = XMLUtils.getChildElementsByTagName(element,ResultHandler.TAG_NAME);
for (int i=0; i<nodeList.size(); i++)
{
handler = maker.lookup(ResultHandler.TAG_NAME);
obj.addResult((Result)handler.unmarshal((Element)nodeList.elementAt(i)));
}
return obj;
}