enum classafAtom::TextType
sys::Obj sys::Enum afAtom::TextType
@
Serializable { simple=true }
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the TextType instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- html
const static TextType html := ...
Denotes entity escaped html.
<title type="html"> AT&amp;T bought <b>by SBC</b>! </title>
- text
const static TextType text := ...
Denotes plain text with no entity escaped html.
<title type="text">AT&T bought by SBC!</title>
- vals
const static TextType[] vals := ...
List of TextType values indexed by ordinal
- xhtml
const static TextType xhtml := ...
Denotes inline xhtml, wrapped in a div element with an XHTML namespace.
<title type="xhtml"> <div xmlns="http://www.w3.org/1999/xhtml"> AT&T bought <b>by SBC</b>! </div> </title>