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

Examples of com.volantis.xml.pipeline.sax.dynamic.DynamicRuleConfigurator


     * {@link #getRuleConfigurator} will return
     * @return a DynamicRuleConfigurator instance
     */
    protected DynamicRuleConfigurator createRuleConfigurator() {
        // create and return the DynamicRuleConfigurator
        return new DynamicRuleConfigurator() {
            // javadoc inherited
            public void configure(DynamicProcessConfiguration configuration) {

                // obtain the namespace rule set that this configuration
                // will populate
View Full Code Here


     * Tests the {@link DefaultURIDriverFactory#getRuleConfigurator}
     * method
     * @throws Exception if an error occurs
     */
    public void testGetRuleConfigurator() throws Exception {
        DynamicRuleConfigurator configurator =
                factory.getRuleConfigurator();

        configurator.configure(configuration);

        MutableExpandedName expandedName = new MutableExpandedName();
        expandedName.setNamespaceURI(Namespace.URID.getURI());
       
        // ensure the fetch rule has been added
View Full Code Here

     * {@link #getRuleConfigurator} will return
     * @return a DynamicRuleConfigurator instance
     */
    protected DynamicRuleConfigurator createRuleConfigurator() {
        // create and return the DynamicRuleConfigurator
        return new DynamicRuleConfigurator() {
            // javadoc inherited
            public void configure(DynamicProcessConfiguration configuration) {

                // obtain the namespace rule set that this configuration
                // will populate
View Full Code Here

     * Tests the {@link com.volantis.xml.pipeline.sax.impl.template.TemplateFactoryImpl#getRuleConfigurator}
     * method
     * @throws Exception if an error occurs
     */
    public void testGetRuleConfigurator() throws Exception {
        DynamicRuleConfigurator configurator =
                factory.getRuleConfigurator();

        configurator.configure(configuration);

        MutableExpandedName expandedName = new MutableExpandedName();
        expandedName.setNamespaceURI(Namespace.TEMPLATE.getURI());
       
        // ensure the apply rule has been added
View Full Code Here

       
    }

    // javadoc inherited
    public DynamicRuleConfigurator getRuleConfigurator() {
        final DynamicRuleConfigurator standardRules
                = super.getRuleConfigurator();
       
        return new DynamicRuleConfigurator() {
            public void configure(DynamicProcessConfiguration configuration) {
                standardRules.configure(configuration);



                // add the integration specific rules
                // obtain the namespace rule set that this configuration
View Full Code Here

     * @return a DynamicRuleConfigurator instance
     */
    protected DynamicRuleConfigurator createRuleConfigurator() {
        // create and return the DynamicRuleConfigurator

        return new DynamicRuleConfigurator() {
            // javadoc inherited
            public void configure(DynamicProcessConfiguration configuration) {

                // obtain the namespace rule set that this configuration
                // will populate
View Full Code Here

        // create the dynamic configuration
        DynamicProcessConfiguration dynamicConfiguration =
                getPipelineFactory().createDynamicProcessConfiguration();

        // get hold of all the rules need for testing
        DynamicRuleConfigurator ruleConfigurator =
                getPipelineFactory().getRuleConfigurator();

        // configure the dynamic configuration
        ruleConfigurator.configure(dynamicConfiguration);

        // store the dynamic configuration away in the pipeline configuration
        pipelineConfig.storeConfiguration(
                DynamicProcessConfiguration.class,
                dynamicConfiguration);
View Full Code Here

        // create the dynamic configuration
        DynamicProcessConfiguration dynamicConfiguration =
                pipelineFactory.createDynamicProcessConfiguration();

        // get hold of all the rules need for testing
        DynamicRuleConfigurator ruleConfigurator =
                pipelineFactory.getRuleConfigurator();

        // configure the dynamic configuration
        ruleConfigurator.configure(dynamicConfiguration);

        // store the dynamic configuration away in the pipeline configuration
        XMLPipelineConfig.storeConfiguration(
                DynamicProcessConfiguration.class,
                dynamicConfiguration);
View Full Code Here

        // create the dynamic configuration
        DynamicProcessConfiguration dynamicConfiguration =
                pipelineFactory.createDynamicProcessConfiguration();

        // get hold of all the rules need for testing
        DynamicRuleConfigurator ruleConfigurator =
                pipelineFactory.getRuleConfigurator();

        // configure the dynamic configuration
        ruleConfigurator.configure(dynamicConfiguration);

        // add the rules that are specified via markup extensions
        addMarkupExtensionRules(configFileInfo, dynamicConfiguration);

        // add the extra MCS only rules
View Full Code Here

TOP

Related Classes of com.volantis.xml.pipeline.sax.dynamic.DynamicRuleConfigurator

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.