}
}
@SuppressWarnings("unchecked")
private List setInclusiveNamespaces(ExcC14NParameterSpec spec){
com.sun.xml.security.core.dsig.ObjectFactory objFac = new com.sun.xml.security.core.dsig.ObjectFactory();
InclusiveNamespacesType incList = objFac.createInclusiveNamespaces();
List prefixList = spec.getPrefixList();
for(int j = 0; j < prefixList.size(); j++){
String prefix = (String)prefixList.get(j);
incList.addToPrefixList(prefix);
}
JAXBElement<InclusiveNamespacesType> je = objFac.createInclusiveNamespaces(incList);
List contentList = new ArrayList();
contentList.add(je);
return contentList;