* @param docType - The DocType this canonicizer is restricted to
* @return - a reference to the canonicizer added
* @throws Exception - if the canonicizer specified cannot be found or instanced
*/
public Canonicizer addCanonicizer(String action, Document.Type docType) throws Exception {
Canonicizer canonicizer = Canonicizers.getCanonicizer(action);
for (Document document : documents) {
if (document.getDocType().equals(docType)) {
addCanonicizer(canonicizer, document);
}
}