1717package org .springframework .xml .validation ;
1818
1919import java .io .IOException ;
20+ import javax .xml .validation .Validator ;
2021
2122import org .apache .commons .logging .Log ;
2223import org .apache .commons .logging .LogFactory ;
2526import org .springframework .xml .JaxpVersion ;
2627
2728/**
28- * Factory for <code> XmlValidator</code>s , being aware of JAXP 1.3 <code>XmlValidator</code> s, and JAXP 1.0 parsing
29+ * Factory for {@link XmlValidator} objects , being aware of JAXP 1.3 {@link Validator} s, and JAXP 1.0 parsing
2930 * capababilities. Mainly for internal use within the framework.
3031 * <p/>
3132 * The goal of this class is to avoid runtime dependencies on JAXP 1.3 by using the best validation implementation that
32- * is available. Prefers JAXP 1.3 <code> XmlValidator</code> implementations to a custom, SAX-based implementation.
33+ * is available. Prefers JAXP 1.3 {@link XmlValidator} implementations to a custom, SAX-based implementation.
3334 *
3435 * @author Arjen Poutsma
3536 * @see XmlValidator
@@ -46,8 +47,8 @@ public abstract class XmlValidatorFactory {
4647 public static final String SCHEMA_RELAX_NG = "http://relaxng.org/ns/structure/1.0" ;
4748
4849 /**
49- * Create a <code> XmlValidator</code> with the given schema resource and schema language type. The schema language
50- * must be one of the <code>SCHEMA_XXX</code> constants.
50+ * Create a {@link XmlValidator} with the given schema resource and schema language type. The schema language must
51+ * be one of the <code>SCHEMA_XXX</code> constants.
5152 *
5253 * @param schemaResource a resource that locates the schema to validate against
5354 * @param schemaLanguage the language of the schema
@@ -64,8 +65,8 @@ public static XmlValidator createValidator(Resource schemaResource, String schem
6465 }
6566
6667 /**
67- * Create a <code> XmlValidator</code> with the given schema resources and schema language type. The schema language
68- * must be one of the <code>SCHEMA_XXX</code> constants.
68+ * Create a {@link XmlValidator} with the given schema resources and schema language type. The schema language must
69+ * be one of the <code>SCHEMA_XXX</code> constants.
6970 *
7071 * @param schemaResources an array of resource that locate the schemas to validate against
7172 * @param schemaLanguage the language of the schemas
0 commit comments