Creates a new instance of EncodingPolicyValidator serverSideSupportedAssertions.add(OPTIMIZED_MIME_SERIALIZATION_ASSERTION); serverSideSupportedAssertions.add(UTF816FFFE_CHARACTER_ENCODING_ASSERTION); serverSideSupportedAssertions.add(OPTIMIZED_FI_SERIALIZATION_ASSERTION); clientSideSupportedAssertions.add(SELECT_OPTIMAL_ENCODING_ASSERTION); clientSideSupportedAssertions.addAll(serverSideSupportedAssertions);
serverSideSupportedAssertions.add(OPTIMIZED_MIME_SERIALIZATION_ASSERTION); serverSideSupportedAssertions.add(UTF816FFFE_CHARACTER_ENCODING_ASSERTION); serverSideSupportedAssertions.add(OPTIMIZED_FI_SERIALIZATION_ASSERTION); clientSideSupportedAssertions.add(SELECT_OPTIMAL_ENCODING_ASSERTION); clientSideSupportedAssertions.addAll(serverSideSupportedAssertions);
return new String[] {OPTIMIZED_MIME_NS, ENCODING_NS, SUN_ENCODING_CLIENT_NS, SUN_FI_SERVICE_NS};
return clientSideSupportedAssertions.contains(assertion.getName()) ? Fitness.SUPPORTED : Fitness.UNKNOWN;
QName assertionName = assertion.getName(); if (serverSideSupportedAssertions.contains(assertionName)) { return Fitness.SUPPORTED; } else if (clientSideSupportedAssertions.contains(assertionName)) { return Fitness.UNSUPPORTED; } else { return Fitness.UNKNOWN; }