Package com.volantis.mcs.protocols

Examples of com.volantis.mcs.protocols.ShardLinkAttributes


    public void testShardLinkStyleClass() throws Exception {
        privateSetUp();

        DOMOutputBuffer buffer = new DOMOutputBuffer();
        ShardLinkAttributes attributes = new ShardLinkAttributes();
        attributes.setStyles(StylesBuilder.getDeprecatedStyles());
        Element anchor;
        Node node;

        buffer.initialise();
        attributes.setHref("http://www.volantis.com/page");
        attributes.setLinkText("Next");
        attributes.setShortcut("N");

        protocol.doShardLink(buffer, attributes);

        node = buffer.getCurrentElement().getHead();
View Full Code Here


    public void testShardLinkStyleClass() throws Exception {
        privateSetUp();

        DOMOutputBuffer buffer = new DOMOutputBuffer();
        ShardLinkAttributes attributes = new ShardLinkAttributes();
        Element anchor;
        Node node;
        String styleClass;

        buffer.initialise();
        attributes.setHref("http://www.volantis.com/page");
        attributes.setLinkText("Next");
        attributes.setShortcut("N");
        // todo XDIME-CP style dissection correctly.
//        attributes.setStyleClass("shardlink");

        protocol.doShardLink(buffer, attributes);
View Full Code Here

TOP

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

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.