Examples of render()


Examples of com.typesafe.config.ConfigValue.render()

        v.bool_val = (Boolean) cv.unwrapped();
        break;
      case LIST:
      case OBJECT:
      case STRING:
        v.string_val = cv.render();
        break;
      case NUMBER:
        v.kind = Kind.LONG;
        v.num_val = ((Number)cv.unwrapped()).longValue();
        break;
View Full Code Here

Examples of com.volantis.mcs.dom.StyledDOMTester.render()

        attrs.setStyles(factory.createStyles(factory.createPropertyValues(
                StylePropertyDetails.getDefinitions())));
        protocol.doHorizontalRule(buffer, attrs);
        document.addNode(buffer.getRoot());
        StyledDOMTester tester = new StyledDOMTester();
        String output = tester.render(document);
        String expected =
                "<BLOCK>" +
                    "--------" +
                "</BLOCK>";
        assertEquals("Wrong output in doHorizontalRule method",
View Full Code Here

Examples of com.volantis.mcs.protocols.RegionContent.render()

            }

            // Get the RegionContent which should be rendered inside this
            // region.
            RegionContent content = regionInstance.getRegionContent();
            content.render(context);
        }
    }
}

/*
 
View Full Code Here

Examples of com.volantis.mcs.protocols.menu.renderer.MenuRenderer.render()

        // Make sure that it is of the appropriate type.
        assertTrue("Incorrect renderer returned: " + renderer,
                   renderer instanceof OpenwaveMenuRenderer);

        // Render the menu.
        renderer.render(menu);

        // Check the markup output.
        String expected
                = "<BLOCK style='mcs-menu-link-style: numeric-shortcut; white-space: nowrap'>"
                + "<select>"
View Full Code Here

Examples of com.volantis.mcs.protocols.menu.shared.renderer.DefaultVerticalSeparatorRenderer.render()

        // Create the test buffer
        TestDOMOutputBuffer testBuffer = new TestDOMOutputBuffer();

        // Render using the test buffer
        renderer.render(testBuffer);

        // Extract the output from the rendering as a string.
        String actual = DOMUtilities.toString(testBuffer.getRoot());
        assertNotNull("The actual string should exist", actual);
View Full Code Here

Examples of com.volantis.mcs.protocols.menu.shared.renderer.MenuItemRenderer.render()

            public void rendererVisit(MenuItem item)
                    throws RendererException {
                // Use the menu item renderer which we previously selected
                // to render each menu item in a similar fashion.
                renderer.render(locator, item);
            }

            public void rendererVisit(MenuItemGroup group)
                    throws RendererException {
                // For groups of menu items, we ignore the group itself
View Full Code Here

Examples of com.volantis.mcs.protocols.renderer.layouts.FormatRenderer.render()

        instance.addRegionContent(content);
        instance.addRegionContent(content2);

        //Render the format
        FormatRenderer renderer = new RegionRenderer();
        renderer.render(formatRendererContext, instance);

        // Expected output for attributes specified above
        String expected = "<regionContent/><regionContent2/>";
        compareStringToBuffer(expected, pageContext.getCurrentOutputBuffer());
    }
View Full Code Here

Examples of com.volantis.mcs.protocols.renderer.shared.layouts.DissectingPaneRenderer.render()

        //   Test Expectations
        // =====================================================================

        FormatRenderer renderer = new DissectingPaneRenderer(
                layoutAttributesFactoryMock);
        renderer.render(formatRendererContextMock, paneInstanceMock);
    }
}

/*
===========================================================================
View Full Code Here

Examples of com.volantis.mcs.protocols.renderer.shared.layouts.FormFragmentRenderer.render()

        // =====================================================================
        //   Test Expectations
        // =====================================================================
        FormatRenderer renderer = new FormFragmentRenderer();
        renderer.render(formatRendererContextMock, formFragmentInstanceMock);
        assertFalse(cachingDirectives.isEnabled());
    }

    /**
     * Test that the form fragment contents are rendered when it is the current
View Full Code Here

Examples of com.volantis.mcs.protocols.renderer.shared.layouts.FormRenderer.render()

        // =====================================================================
        //   Test Expectations
        // =====================================================================

        FormatRenderer renderer = new FormRenderer(layoutAttributesFactoryMock);
        renderer.render(formatRendererContextMock, formInstanceMock);
    }
}

/*
===========================================================================
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.