This implementation retrieves the correct instance of AttachmentDao for the
AttacmentDataDao that is given, and wires the instance with the necessary
attributes.
Portions of this class copied from Apache commons-lang StringEscapeUtils -- it was easier to copy the relevant
bits than it was to upgrade commons-lang to 2.0 :)
====================================================================
The Apache Software License, Version 1.1
Copyright (c) 2002-2003 The Apache Software Foundation.