Examples of LineBreakAttributes


Examples of com.volantis.mcs.papi.LineBreakAttributes

    protected int exprElementStart(
            MarinerRequestContext context,
            PAPIAttributes papiAttributes)
            throws PAPIException {

        LineBreakAttributes attributes = (LineBreakAttributes) papiAttributes;

        // Copy the attributes into the protocol attributes class.
        pattributes.setId(attributes.getId());
        pattributes.setTitle(attributes.getTitle());

        MarinerPageContext pageContext
                = ContextInternals.getMarinerPageContext(context);

        // Push this element.
View Full Code Here

Examples of com.volantis.mcs.protocols.LineBreakAttributes

    /**
     * This method tests the method public void writeLineBreak ( LineBreakAttributes )
     * for the com.volantis.mcs.protocols.VolantisProtocol class.
     */
    public void testWriteLineBreak() throws Exception {
        final LineBreakAttributes attributes =
                (LineBreakAttributes) ProtocolIntegrationTestHelper.
                provideAttributes(LineBreakAttributes.class);

        final VolantisProtocol protocol = getProtocol();

View Full Code Here

Examples of com.volantis.mcs.protocols.LineBreakAttributes

        DOMOutputBuffer domBuffer = (DOMOutputBuffer) buffer;

        // Output the vertical separator
        try {
            lineBreakOutput.outputLineBreak(domBuffer,
                    new LineBreakAttributes());
        } catch (ProtocolException e) {
            throw new RendererException(e);
        }
    }
View Full Code Here

Examples of com.volantis.mcs.protocols.LineBreakAttributes

                // Use a space
                linksDom.setElementIsPreFormatted(true);
                linksDom.writeText(" ");
            } else {
                // Else, use line break for default/vertical alignment.
                ctx.doLineBreak(linksDom, new LineBreakAttributes());
            }
        } else {
            // Then render the fragment link as a child link.
            // This means rendering the text of the link inside a "fake" pane
            // element, which is required to provide geometry information.
View Full Code Here

Examples of com.volantis.mcs.protocols.LineBreakAttributes


    public BreakElement(XDIMEContextInternal context) {
        super(MCSElements.BR, UnstyledStrategy.STRATEGY, context);

        protocolAttributes = new LineBreakAttributes() ;
    }
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.