return obj;
}
public void marshal(RegistryObject object,Element parent)
{
Publisher publisher = (Publisher)object;
Element element = parent.getOwnerDocument().createElementNS(null,TAG_NAME);
AbstractHandler handler = null;
// Attributes (required)
String publisherID = publisher.getPublisherID();
if ((publisherID != null) && (publisherID.length() > 0))
element.setAttribute("publisherID",publisherID);
else
element.setAttribute("publisherID","");
String publisherName = publisher.getName();
if ((publisherName != null) && (publisherName.length() > 0))
element.setAttribute("publisherName",publisherName);
else
element.setAttribute("publisherName","");
element.setAttribute("admin",String.valueOf(publisher.isAdmin()));
element.setAttribute("enabled",String.valueOf(publisher.isEnabled()));
String emailAddress = publisher.getEmailAddress();
if ((emailAddress != null) && (emailAddress.length() > 0))
element.setAttribute("emailAddress",emailAddress);
// Text Node Value
// {none}