return obj;
}
public void marshal(RegistryObject object,Element parent)
{
Address address = (Address)object;
String generic = getGeneric(null);
String namespace = getUDDINamespace(generic);
Element element = parent.getOwnerDocument().createElementNS(namespace,TAG_NAME);
String useType = address.getUseType();
if ((useType != null) && (useType.trim().length() > 0))
element.setAttribute("useType",useType);
String sortCode = address.getSortCode();
if ((sortCode != null) && (sortCode.trim().length() > 0))
element.setAttribute("sortCode",sortCode);
String tModelKey = address.getTModelKey();
if ((tModelKey != null) && (tModelKey.trim().length() > 0))
element.setAttribute("tModelKey",tModelKey);
Vector vector = address.getAddressLineVector();
if ((vector!=null) && (vector.size() > 0))
{
AbstractHandler handler = maker.lookup(AddressLineHandler.TAG_NAME);
for (int i=0; i < vector.size(); i++)
{