KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thaiopensource > validate > auto > SchemaReceiverFactory


1 package com.thaiopensource.validate.auto;
2
3 import com.thaiopensource.validate.auto.SchemaReceiver;
4 import com.thaiopensource.validate.Option;
5 import com.thaiopensource.util.PropertyMap;
6 import com.thaiopensource.util.PropertyId;
7 import com.thaiopensource.util.PropertyMapBuilder;
8
9 public interface SchemaReceiverFactory {
10   public static class SchemaReceiverFactoryPropertyId extends PropertyId {
11     public SchemaReceiverFactoryPropertyId(String JavaDoc name) {
12       super(name, SchemaReceiverFactory.class);
13     }
14
15     public SchemaReceiverFactory get(PropertyMap properties) {
16       return (SchemaReceiverFactory)properties.get(this);
17     }
18
19     public SchemaReceiverFactory put(PropertyMapBuilder builder, SchemaReceiverFactory value) {
20       return (SchemaReceiverFactory)builder.put(this, value);
21     }
22   }
23
24   static final SchemaReceiverFactoryPropertyId PROPERTY
25           = new SchemaReceiverFactoryPropertyId("SCHEMA_RECEIVER_FACTORY");
26   SchemaReceiver createSchemaReceiver(String JavaDoc namespaceUri,
27                                       PropertyMap properties);
28   Option getOption(String JavaDoc uri);
29
30 }
31
Popular Tags