Stationary solutions of the one-dimensional nonlinear Schrodinger equation: II. Case of attractive nonlinearity