if (getLogger().isDebugEnabled()) {
getLogger().debug("cocoon-URI changed to " + iSS);
}
dataSource = new URLDataSource(new URL(iSS));
} else {
dataSource = new URLDataSource(new URL(inputSource.getURI()));
}
messageBodyPart.setDataHandler(new DataHandler(dataSource));
} else if (aD.isFileSource()) {
inputSource = resolver.resolveURI(aD.strAttrFile);
dataSource = new URLDataSource(new URL(inputSource.getURI()));
messageBodyPart.setDataHandler(new DataHandler(dataSource));
}
} else {
messageBodyPart.setContent(aD.strContent,
aD.strAttrMimeType);