Packagesekati.utils
Classpublic class HTMLCode

HTMLCode Lookup tables



Public Methods
 MethodDefined by
  
HTMLCode Static Constructor
HTMLCode
  
a(href:String, text:String, styleClass:String = null):String
[static] Generate an A HREF tag.
HTMLCode
  
br(addNewline:Boolean = false):String
[static] Inset a BR with optional newline.
HTMLCode
  
img(src:String, alt:String = "image", width:int = 0, height:int = 0):String
[static] Generate an IMG tag.
HTMLCode
  
p(text:String, styleClass:String = null):String
[static] Generate a P tag.
HTMLCode
  
span(text:String, styleClass:String = null):String
[static] Generate a SPAN tag.
HTMLCode
Protected Methods
 MethodDefined by
  
styledTag(tagName:String, text:String, styleClass:String):String
[static] Generate a styled tag.
HTMLCode
Public Constants
 ConstantDefined by
  entities : Dictionary
[static]
HTMLCode
Constructor detail
HTMLCode()constructor
public function HTMLCode()

HTMLCode Static Constructor

Method detail
a()method
public static function a(href:String, text:String, styleClass:String = null):String

Generate an A HREF tag.

Parameters
href:String
 
text:String
 
styleClass:String (default = null)

Returns
String
br()method 
public static function br(addNewline:Boolean = false):String

Inset a BR with optional newline.

Parameters
addNewline:Boolean (default = false)

Returns
String
img()method 
public static function img(src:String, alt:String = "image", width:int = 0, height:int = 0):String

Generate an IMG tag.

Parameters
src:String
 
alt:String (default = "image")
 
width:int (default = 0)
 
height:int (default = 0)

Returns
String
p()method 
public static function p(text:String, styleClass:String = null):String

Generate a P tag.

Parameters
text:String
 
styleClass:String (default = null)

Returns
String
span()method 
public static function span(text:String, styleClass:String = null):String

Generate a SPAN tag.

Parameters
text:String
 
styleClass:String (default = null)

Returns
String
styledTag()method 
protected static function styledTag(tagName:String, text:String, styleClass:String):String

Generate a styled tag.

Parameters
tagName:String
 
text:String
 
styleClass:String

Returns
String
Constant detail
entitiesconstant
public static const entities:Dictionary