1
package com.thaiopensource.relaxng.jarv;
3
import org.iso_relax.verifier.VerifierFactory;
4
import org.iso_relax.verifier.VerifierFactoryLoader;
5
import com.thaiopensource.xml.util.WellKnownNamespaces;
7
public class VerifierFactoryLoaderImpl implements VerifierFactoryLoader {
8
public VerifierFactory createFactory(String schemaLanguage) {
9
if (schemaLanguage.equals(WellKnownNamespaces.RELAX_NG)
10
|| schemaLanguage.equals(WellKnownNamespaces.RELAX_NG_0_9))
11
return new VerifierFactoryImpl();