001 package com.thaiopensource.validate.auto;
002
003 import com.thaiopensource.validate.auto.SchemaReceiver;
004 import com.thaiopensource.validate.Option;
005 import com.thaiopensource.util.PropertyMap;
006 import com.thaiopensource.util.PropertyId;
007 import com.thaiopensource.util.PropertyMapBuilder;
008
009 public interface SchemaReceiverFactory {
010 public static class SchemaReceiverFactoryPropertyId extends PropertyId {
011 public SchemaReceiverFactoryPropertyId(String name) {
012 super(name, SchemaReceiverFactory.class);
013 }
014
015 public SchemaReceiverFactory get(PropertyMap properties) {
016 return (SchemaReceiverFactory)properties.get(this);
017 }
018
019 public SchemaReceiverFactory put(PropertyMapBuilder builder, SchemaReceiverFactory value) {
020 return (SchemaReceiverFactory)builder.put(this, value);
021 }
022 }
023
024 static final SchemaReceiverFactoryPropertyId PROPERTY
025 = new SchemaReceiverFactoryPropertyId("SCHEMA_RECEIVER_FACTORY");
026 SchemaReceiver createSchemaReceiver(String namespaceUri,
027 PropertyMap properties);
028 Option getOption(String uri);
029
030 }