public class MarkupLanguage extends Object
Canonical LanguageProfile factory for HTML, XML, SVG, XHTML, and UI markup files.
import klyn.code.markup html = MarkupLanguage.htmlProfile() xml = MarkupLanguage.xmlProfile() assert html.id == "html" assert xml.id == "xml"
| Modifier and Type | Member | Description |
|---|---|---|
| public static | htmlProfilehtmlProfile() as LanguageProfile |
Returns the shared singleton LanguageProfile for HTML (.html, .htm, .xhtml). |
| public static | xmlProfilexmlProfile() as LanguageProfile |
Returns the shared singleton LanguageProfile for XML (.xml, .svg, .xsd, .xsl, .ui, .pom). |