public RegistryObject unmarshal(Element element)
{
Vector nodeList = null;
AbstractHandler handler = null;
DeletePublisherAssertions obj = new DeletePublisherAssertions();
// Attributes
String generic = element.getAttribute("generic");
if ((generic != null && (generic.trim().length() > 0)))
obj.setGeneric(generic);
nodeList = XMLUtils.getChildElementsByTagName(element,AuthInfoHandler.TAG_NAME);
if (nodeList != null && nodeList.size() == 1)
{
handler = maker.lookup(AuthInfoHandler.TAG_NAME);
obj.setAuthInfo((AuthInfo)handler.unmarshal((Element)nodeList.elementAt(0)));
}
nodeList = XMLUtils.getChildElementsByTagName(element,PublisherAssertionHandler.TAG_NAME);
if (nodeList != null && nodeList.size() > 0)
{
handler = maker.lookup(PublisherAssertionHandler.TAG_NAME);
for (int index = 0; index < nodeList.size(); ++index)
{
obj.addPublisherAssertion(
(PublisherAssertion) handler.unmarshal(
(Element) nodeList.elementAt(index)));
}
}
return obj;