Examples of PropertyMap


Examples of com.bradmcevoy.http.webdav.PropertyMap

    private static final Logger log = LoggerFactory.getLogger( ACLProtocol.class );
    private final PropertyMap propertyMap;

    public ACLProtocol(WebDavProtocol webDavProtocol) {
        propertyMap = new PropertyMap( WebDavProtocol.NS_DAV.getName() );
        propertyMap.add( new PrincipalUrl() );
        propertyMap.add( new PrincipalCollectionSetProperty() );
        log.debug( "registering the ACLProtocol as a property source");
        webDavProtocol.addPropertySource( this );
        //Adding supported reports
View Full Code Here

Examples of com.go.trove.util.PropertyMap

    public static final Plugin createPlugin(String name, PluginFactoryConfig config)
        throws PluginFactoryException
    {
        Plugin result;
        String className = config.getProperties().getString(cClassKey);
        PropertyMap props = config.getProperties().subMap(cInitKey);
        try {
            Class clazz = Class.forName(className);
            result = (Plugin) clazz.newInstance();
            PluginConfig pluginConfig = new PluginConfigSupport
                (props, config.getLog(), config.getPluginContext(), name);
View Full Code Here

Examples of com.go.trove.util.PropertyMap

   
    public static final Plugin[] createPlugins(PluginFactoryConfig config)
        throws PluginFactoryException
    {
        Plugin[] result;
        PropertyMap properties = config.getProperties().subMap(cPluginsKey);
        Set keySet = properties.subMapKeySet();   
        result = new Plugin[keySet.size()];     
        Iterator iterator = keySet.iterator();
        for (int i=0; iterator.hasNext(); i++) {
            String name = (String) iterator.next();
            PropertyMap initProps = properties.subMap(name);
            PluginFactoryConfig conf = new PluginFactoryConfigSupport
                (initProps, config.getLog(), config.getPluginContext());
            result[i] = createPlugin(name, conf);
        }
        return result;
View Full Code Here

Examples of com.thaiopensource.util.PropertyMap

        DefaultValidationErrorHandler errorHandler = new DefaultValidationErrorHandler();

        PropertyMapBuilder mapBuilder = new PropertyMapBuilder();
        mapBuilder.put(ValidateProperty.XML_READER_CREATOR, xmlCreator);
        mapBuilder.put(ValidateProperty.ERROR_HANDLER, errorHandler);
        PropertyMap propertyMap = mapBuilder.toPropertyMap();

        Validator validator = getSchema().createValidator(propertyMap);

        Message in = exchange.getIn();
        SAXSource saxSource = in.getBody(SAXSource.class);
View Full Code Here

Examples of com.thaiopensource.util.PropertyMap

        DefaultValidationErrorHandler errorHandler = new DefaultValidationErrorHandler();

        PropertyMapBuilder mapBuilder = new PropertyMapBuilder();
        mapBuilder.put(ValidateProperty.XML_READER_CREATOR, xmlCreator);
        mapBuilder.put(ValidateProperty.ERROR_HANDLER, errorHandler);
        PropertyMap propertyMap = mapBuilder.toPropertyMap();

        Validator validator = getSchema().createValidator(propertyMap);

        Message in = exchange.getIn();
        SAXSource saxSource = in.getBody(SAXSource.class);
View Full Code Here

Examples of juzu.PropertyMap

      this.mimeType = mimeType;
      return this;
    }

    public Dispatch with(PropertyMap properties) {
      this.properties = new PropertyMap(properties);
      return this;
    }
View Full Code Here

Examples of nexj.core.util.PropertyMap

         Metadata metadata = new MetadataLoaderDispatcher().load(null, null,
            MetadataLoader.DATASOURCE_ONLY | MetadataLoader.INTEGRATION_EXCLUDED, null);
         RelationalDatabase database = getDatabase(metadata);

         manager = getSchemaManager(database);
         manager.createDatabase((RelationalSchema)database.getSchema(), new PropertyMap()
         {
            public Object findValue(String sName, Object defaultValue)
            {
               Object value = getValue(sName);
View Full Code Here

Examples of org.apache.beehive.controls.api.properties.PropertyMap

            // If the returned value is itself a PropertyMap (i.e. a nested annotation type),
            // then wrap it in a PropertySetProxy instance before returning.
            if (value instanceof PropertyMap)
            {
                PropertyMap propertyMap = (PropertyMap)value;
                value = getProxy(propertyMap.getMapClass(), propertyMap);
            }
        }

        return value;
    }
View Full Code Here

Examples of org.apache.geronimo.interop.properties.PropertyMap

            p = passwordSystemProperty.getString();
        }
        username = u != null ? u.toString() : null;
        password = p != null ? p.toString() : null;

        PropertyMap props = urlInfo.getProperties();
        props.putAll(env);
        PropertyMap copyProps = new PropertyMap();
        copyProps.putAll(props);
        for (Iterator i = copyProps.entrySet().iterator(); i.hasNext();)
        {
            Map.Entry entry = (Map.Entry)i.next();
            String property = (String)entry.getKey();
            Object value = entry.getValue();
View Full Code Here

Examples of org.apache.geronimo.interop.properties.PropertyMap

    }

    // public methods

    public PropertyMap getProperties() {
        PropertyMap props = new PropertyMap();
        for (Iterator i = this.iterator(); i.hasNext();) {
            NamedValue nv = (NamedValue) i.next();
            props.put(nv.name, nv.value);
        }
        return props;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.