Beispiel #1
0
  public static void main(String[] args) throws Exception {
    com.zitego.markup.html.tag.Html page = new com.zitego.markup.html.tag.Html();
    TopRightCorner t = new TopRightCorner(page.getBodyTag());
    t.addToParent();

    System.out.println("Html: \r\n" + page.format(com.zitego.format.FormatType.HTML) + "\r\n");
    System.out.println("Xml: \r\n" + t.format(com.zitego.format.FormatType.XML));
  }
  public static void main(String[] args) throws Exception {
    com.zitego.markup.html.tag.Html page = new com.zitego.markup.html.tag.Html();
    HeaderLeftMenuFooter t = new HeaderLeftMenuFooter(page.getBodyTag(), null);
    com.zitego.web.layout.body.TextLayout tc =
        (com.zitego.web.layout.body.TextLayout)
            t.createBodyLayout(com.zitego.web.layout.body.PageBodyLayoutType.TEXT);

    System.out.println("Html: \r\n" + page.format(com.zitego.format.FormatType.HTML) + "\r\n");
    System.out.println("Xml: \r\n" + t.format(com.zitego.format.FormatType.XML));
  }