Package com.volantis.xml.namespace

Examples of com.volantis.xml.namespace.MutableExpandedName


    }

    public void testGetName() throws Exception {
        ExpandedName name = new ImmutableExpandedName("uri://",
                                                      "fred");
        ExpandedName other = new MutableExpandedName("uri://",
                                                     "jim");
        Value value = new SimpleStringValue(factory, "hello");
        Variable nameVar = new SimpleVariable(factory,
                                              name,
                                              value);
View Full Code Here


    }

    public void testGetValue() throws Exception {
        ExpandedName name = new ImmutableExpandedName("uri://",
                                                      "fred");
        ExpandedName other = new MutableExpandedName("uri://",
                                                     "jim");
        Value value = new SimpleStringValue(factory, "hello");
        Variable nameVar = new SimpleVariable(factory,
                                              name,
                                              value);
View Full Code Here

     */
    public DynamicRuleProcess(DynamicProcess dynamicProcess,
                              DynamicProcessConfiguration configuration) {
        this.dynamicProcess = dynamicProcess;
        this.dynamicConfiguration = configuration;
        this.searchName = new MutableExpandedName();
    }
View Full Code Here

        DynamicRuleConfigurator configurator =
                factory.getRuleConfigurator();

        configurator.configure(configuration);

        MutableExpandedName expandedName = new MutableExpandedName();
        expandedName.setNamespaceURI(Namespace.PIPELINE.getURI());
       
        // ensure the cache rule has been added
        expandedName.setLocalName("cache");
        assertNotNull("Cache rule has not been added",
                      configuration.getRule(expandedName));
       
        // ensure the cacheBody rule has been added
        expandedName.setLocalName("cache");
        assertNotNull("Cache rule has not been added",
                      configuration.getRule(expandedName));
       
        // ensure the content rule has been added
        expandedName.setLocalName("content");
        assertNotNull("Cache rule has not been added",
                      configuration.getRule(expandedName));
       
        // ensure the transform rule has been added
        expandedName.setLocalName("transform");
        assertNotNull("Cache rule has not been added",
                      configuration.getRule(expandedName));
    }
View Full Code Here

     *
     * @param setters The set of {@link Setter}s.
     */
    public SetterFinder(Setters setters) {
        this.setters = setters;
        searchName = new MutableExpandedName();
    }
View Full Code Here

        DynamicRuleConfigurator configurator =
                factory.getRuleConfigurator();

        configurator.configure(configuration);

        MutableExpandedName expandedName = new MutableExpandedName();
        expandedName.setNamespaceURI(Namespace.SERVLET.getURI());
       
        // ensure the includeServlet rule has been added
        expandedName.setLocalName("includeServlet");
        assertNotNull("includeServlet rule has not been added",
                      configuration.getRule(expandedName));
       
        // ensure the includeJSP rule has been added
        expandedName.setLocalName("includeJSP");
        assertNotNull("includeJSP rule has not been added",
                      configuration.getRule(expandedName));       
    }   
View Full Code Here

        DynamicRuleConfigurator configurator =
                factory.getRuleConfigurator();

        configurator.configure(configuration);

        MutableExpandedName expandedName = new MutableExpandedName();
        expandedName.setNamespaceURI(Namespace.WEB_SERVICE_DRIVER.getURI());
       
        // ensure the request rule has been added
        expandedName.setLocalName("request");
        assertNotNull("request rule has not been added",
                      configuration.getRule(expandedName));       
       
        // ensure the message rule has been added
        expandedName.setLocalName("message");
        assertNotNull("message rule has not been added",
                      configuration.getRule(expandedName));
       
        // ensure the wsdl-operation rule has been added
        expandedName.setLocalName("wsdl-operation");
        assertNotNull("wsdl-operation rule has not been added",
                      configuration.getRule(expandedName));
    }
View Full Code Here

        DynamicRuleConfigurator configurator =
                factory.getRuleConfigurator();

        configurator.configure(configuration);

        MutableExpandedName expandedName = new MutableExpandedName();
        expandedName.setNamespaceURI(Namespace.URID.getURI());
       
        // ensure the fetch rule has been added
        expandedName.setLocalName("fetch");
        assertNotNull("fetch rule has not been added",
                      configuration.getRule(expandedName));
    }
View Full Code Here

        DynamicRuleConfigurator configurator =
                factory.getRuleConfigurator();

        configurator.configure(configuration);

        MutableExpandedName expandedName = new MutableExpandedName();
        expandedName.setNamespaceURI(Namespace.TEMPLATE.getURI());
       
        // ensure the apply rule has been added
        expandedName.setLocalName("apply");
        assertNotNull("apply rule has not been added",
                      configuration.getRule(expandedName));
       
        // ensure the binding rule has been added
        expandedName.setLocalName("binding");
        assertNotNull("binding rule has not been added",
                      configuration.getRule(expandedName));
       
        // ensure the definition rule has been added
        expandedName.setLocalName("definition");
        assertNotNull("definition rule has not been added",
                      configuration.getRule(expandedName));
       
        // ensure the documentation rule has been added
        expandedName.setLocalName("documentation");
        assertNotNull("documentation rule has not been added",
                      configuration.getRule(expandedName));
       
        // ensure the parameter rule has been added
        expandedName.setLocalName("parameter");
        assertNotNull("parameter rule has not been added",
                      configuration.getRule(expandedName));
       
        // ensure the value rule has been added
        expandedName.setLocalName("value");
        assertNotNull("value rule has not been added",
                      configuration.getRule(expandedName));
    }
View Full Code Here

TOP

Related Classes of com.volantis.xml.namespace.MutableExpandedName

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.