  We give a Herglotz-type representation of an arbitrary generalized spectral
measure. As an application, a new proof of the classical Naimark's dilation
theorem is given. The same approach is used to describe the spectrum of all
unitary rank-one perturbations of a given partial isometry.
