Package org.htmlparser.tags

Examples of org.htmlparser.tags.FrameSetTag.toHtml()


            "HTML Contents",
            "<FRAMESET BORDER=\"0\" ROWS=\"115,*\" FRAMESPACING=\"0\" FRAMEBORDER=\"NO\">\r\n"
                + "<FRAME SCROLLING=\"NO\" FRAMEBORDER=\"NO\" SRC=\"demo_bc_top.html\" NAME=\"topFrame\" NORESIZE=\"\">\r\n"
                + "<FRAME SCROLLING=\"AUTO\" SRC=\"http://www.kizna.com/web_e/\" NAME=\"mainFrame\">\r\n"
                + "</FRAMESET>",
            frameSetTag.toHtml());
    }
}
View Full Code Here


        "</frameset>";
        createParser(html);
        parseAndAssertNodeCount(1);
        assertTrue("Node 0 should be a FrameSetTag",node[0] instanceof FrameSetTag);
        FrameSetTag frameSetTag = (FrameSetTag)node[0];
        assertStringEquals("HTML Contents", html, frameSetTag.toHtml());
    }

    public void testScan() throws ParserException {
        createParser(
        "<frameset rows=\"115,*\" frameborder=\"NO\" border=\"0\" framespacing=\"0\">\n"+
View Full Code Here

    assertStringEquals(
        "HTML Contents",
        "<FRAMESET BORDER=\"0\" ROWS=\"115,*\" FRAMESPACING=\"0\" FRAMEBORDER=\"NO\">\r\n"
            + "<FRAME SCROLLING=\"NO\" FRAMEBORDER=\"NO\" SRC=\"demo_bc_top.html\" NAME=\"topFrame\" NORESIZE=\"\">\r\n"
            + "<FRAME SCROLLING=\"AUTO\" SRC=\"http://www.kizna.com/web_e/\" NAME=\"mainFrame\">\r\n"
            + "</FRAMESET>", frameSetTag.toHtml());
  }
}
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.