KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thaiopensource > validate > mns > MnsSchemaReceiverFactory


1 package com.thaiopensource.validate.mns;
2
3 import com.thaiopensource.util.PropertyMap;
4 import com.thaiopensource.validate.auto.SchemaReceiver;
5 import com.thaiopensource.validate.auto.SchemaReceiverFactory;
6 import com.thaiopensource.validate.Option;
7
8 public class MnsSchemaReceiverFactory implements SchemaReceiverFactory {
9   public SchemaReceiver createSchemaReceiver(String JavaDoc namespaceUri, PropertyMap properties) {
10     if (!SchemaImpl.MNS_URI.equals(namespaceUri))
11       return null;
12     return new SchemaReceiverImpl(properties);
13   }
14
15   public Option getOption(String JavaDoc uri) {
16     return null;
17   }
18 }
19
Popular Tags