public static boolean canCanonicalize(final String canonicalizationMethod){
  if (transforms.contains(canonicalizationMethod)) {
    return false;
  }
  final boolean contains=canonicalizers.contains(canonicalizationMethod);
  return contains;
}

public static boolean canCanonicalize ( final String canonicalizationMethod ) { if ( transforms . contains ( canonicalizationMethod ) ) { return false ; } final boolean contains = canonicalizers . contains ( canonicalizationMethod ) ; return contains ; }
this method says if the framework can canonicalize an xml data with the provided method .
