org.kuali.common.util.html
Class HtmlUtils

java.lang.Object
  extended by org.kuali.common.util.html.HtmlUtils

public class HtmlUtils
extends Object

Utility methods for generating html


Constructor Summary
HtmlUtils()
           
 
Method Summary
static String closeTag(Tag tag, Counter indent)
           
static String getHref(String dest, String show, Counter indent)
          Return an HTML ahref tag
static String getImage(String image, Counter indent)
          Return an HTML img tag
static String getIndent(Counter indent)
           
static String getIndentedContent(String content, Counter indent)
           
static String getTag(Tag tag, String content, Counter indent)
           
static String openTag(Tag tag, Counter indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlUtils

public HtmlUtils()
Method Detail

getIndentedContent

public static String getIndentedContent(String content,
                                        Counter indent)

getIndent

public static String getIndent(Counter indent)

getHref

public static String getHref(String dest,
                             String show,
                             Counter indent)
Return an HTML ahref tag


getImage

public static String getImage(String image,
                              Counter indent)
Return an HTML img tag


openTag

public static String openTag(Tag tag,
                             Counter indent)

closeTag

public static String closeTag(Tag tag,
                              Counter indent)

getTag

public static String getTag(Tag tag,
                            String content,
                            Counter indent)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.