Package com.volantis.xml.pipeline.sax.dynamic.rules

Examples of com.volantis.xml.pipeline.sax.dynamic.rules.AbstractAddAdapterRule


                NamespaceRuleSet ruleSet = configuration.getNamespaceRules(
                        Namespace.WEB_SERVICE_DRIVER.getURI(), true);

                // add the rule for the request adapter process
                ruleSet.addRule("request",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess
                                            createAdapterProcess(DynamicProcess dynamicProcess) {
                                        return new RequestAdapterProcess();
                                    }
                                });

                // add the rule for the message adapter process
                ruleSet.addRule("message",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess
                                            createAdapterProcess(DynamicProcess dynamicProcess) {
                                        return new MessageAdapterProcess();
                                    }
                                });

                // add the rule for the wsdl-operation adapter process
                ruleSet.addRule("wsdl-operation",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess
                                            createAdapterProcess(DynamicProcess dynamicProcess) {
                                        return new
                                                WSDLOperationAdapterProcess();
View Full Code Here


                // add the rule for the content adapter process
                ruleSet.addRule("content", ContentRule.getDefaultInstance());

                // add the rule for the transform process
                ruleSet.addRule("transform",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess createAdapterProcess(
                                            DynamicProcess dynamicProcess) {
                                        return new TransformAdapterProcess();
                                    }
                                });

                // add the rules for the URL to URLC process. This has two
                // aliases. The former, which is the original name, is now
                // deprecated as "DMS" is not a valid name in terms of
                // Product Management naming.
                // @todo later delete this deprecated rule when PM deems that it can be removed
                ruleSet.addRule("convertImageURLToDMS",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess createAdapterProcess(
                                            DynamicProcess dynamicProcess) {
                                        return new URLToURLCAdapterProcess();
                                    }
                                });

                ruleSet.addRule("convertImageURLToTranscoder",
                                new AbstractAddAdapterRule() {
                                    public AdapterProcess createAdapterProcess(
                                            DynamicProcess dynamicProcess) {
                                        return new URLToURLCAdapterProcess();
                                    }
                                });

                // add the rule for the convertElementCase process
                ruleSet.addRule("convertElementCase",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess createAdapterProcess(
                                            DynamicProcess dynamicProcess) {
                                        return new ElementCaseAdapterProcess();
                                    }
                                });


                // add the rule for the convertAbsoluteToRelativeURL process
                ruleSet.addRule("convertAbsoluteToRelativeURL",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess createAdapterProcess(
                                            DynamicProcess dynamicProcess) {
                                        return new AbsoluteToRelativeURLAdapterProcess();
                                    }
View Full Code Here

                NamespaceRuleSet ruleSet = configuration.getNamespaceRules(
                        INTEGRATION.getURI(), true);
           
                // add the rule for the variableDeclaration adapter process
                ruleSet.addRule("variableDeclaration",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess
                                            createAdapterProcess(DynamicProcess dynamicProcess) {
                                        return new
                                                VariableDeclarationAdapterProcess();
                                    }
                                });

                // add the rule for the variableScope adapter process
                ruleSet.addRule("variableScope",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess
                                            createAdapterProcess(DynamicProcess dynamicProcess) {
                                        return new
                                                VariableScopeAdapterProcess();
                                    }
                                });               
           
                // add the rule for the counter adapter process
                ruleSet.addRule("counter",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess
                                            createAdapterProcess(DynamicProcess dynamicProcess) {
                                        return new CounterAdapterProcess(
                                                TestPipelineFactory.this);
View Full Code Here

                NamespaceRuleSet ruleSet = configuration.getNamespaceRules(
                        Namespace.SERVLET.getURI(), true);

                // add the rule for the includeServlet operation process
                ruleSet.addRule("includeServlet",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess
                                            createAdapterProcess(DynamicProcess dynamicProcess) {
                                        return new
                                                IncludeSrvResAdapterProcess();
                                    }
                                });

                // add the rule for the includeJSP operation process
                ruleSet.addRule("includeJSP",
                                new AbstractAddAdapterRule() {
                                    // javadoc inherited
                                    public AdapterProcess
                                            createAdapterProcess(DynamicProcess dynamicProcess) {
                                        return new
                                                IncludeSrvResAdapterProcess();
View Full Code Here

TOP

Related Classes of com.volantis.xml.pipeline.sax.dynamic.rules.AbstractAddAdapterRule

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.