Package com.volantis.mcs.protocols

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


        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

                // 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


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

        protocolAttributes = new LineBreakAttributes() ;
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.LineBreakAttributes

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.