Package org.apache.synapse.mediators

Examples of org.apache.synapse.mediators.Value


     * @param xpath String key value (static key) to create Value object
     * @return immutable Value list with one Value element
     */
    private List<Value> createKeyListFromDynamicKey(SynapseXPath xpath) {
        // create static key using given string key name
        Value xsdKey = new Value(xpath);
        return Collections.singletonList(xsdKey);
    }
View Full Code Here


     */
    private List<Value> createKeyListFromMoreKeys(String... keyNames) {
        List<Value> keyList = new ArrayList<Value>();
        for (String keyName : keyNames) {
            // create static key using given string key name
            Value xsdKey = new Value(keyName);
            keyList.add(xsdKey);

        }
        return keyList;
    }
View Full Code Here

            return null;
        }

        List<ConfigurationObject> providers = new ArrayList<ConfigurationObject>();
        XSLTMediator xsltMediator = (XSLTMediator) m;
        Value xsltKey = xsltMediator.getXsltKey();
        if (xsltKey.getKeyValue() != null) {
            addProvider(new ConfigurationObject(ConfigurationObject.TYPE_ENTRY,
                    xsltKey.getKeyValue()),
                    providers);
        }

        if (xsltMediator.getResourceMap() != null) {
            ResourceMap resources = xsltMediator.getResourceMap();
View Full Code Here

            return null;
        }

        List<ConfigurationObject> providers = new ArrayList<ConfigurationObject>();
        XQueryMediator xqueryMediator = (XQueryMediator) m;
        Value key = xqueryMediator.getQueryKey();
        if (key.getKeyValue() != null) {
            addProvider(new ConfigurationObject(ConfigurationObject.TYPE_ENTRY,
                                                key.getKeyValue()), providers);
        }

        List<MediatorVariable> variables = xqueryMediator.getVariables();
        if (variables != null) {
            for (MediatorVariable var : variables) {
View Full Code Here

        }

        List<ConfigurationObject> providers = new ArrayList<ConfigurationObject>();
        ScriptMediator scriptMediator  = (ScriptMediator) m;

        Value key = scriptMediator.getKey();
        if (key != null && key.getKeyValue() != null) {
            addProvider(new ConfigurationObject(ConfigurationObject.TYPE_ENTRY,
                    key.getKeyValue()), providers);
        }
        return providers;
    }
View Full Code Here

TOP

Related Classes of org.apache.synapse.mediators.Value

Copyright © 2018 www.massapicom. 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.