public StringBuilder encodeBody(StringBuilder retval){
  if (address.getAddressType() == AddressImpl.ADDRESS_SPEC) {
    retval.append(LESS_THAN);
  }
  address.encode(retval);
  if (address.getAddressType() == AddressImpl.ADDRESS_SPEC) {
    retval.append(GREATER_THAN);
  }
  return retval;
}

public StringBuilder encodeBody ( StringBuilder retval ) { if ( address . getAddressType ( ) == AddressImpl . ADDRESS_SPEC ) { retval . append ( LESS_THAN ) ; } address . encode ( retval ) ; if ( address . getAddressType ( ) == AddressImpl . ADDRESS_SPEC ) { retval . append ( GREATER_THAN ) ; } return retval ; }
encode into canonical form .
