MarkupLanguage
classin packageklyn.code.markup
public class MarkupLanguage extends Object
└ MarkupLanguage

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"
Inherited Properties
propertyInherited Properties from Object: type
Methods
Modifier and Type Member Description
public static htmlProfile
htmlProfile() as LanguageProfile
Returns the shared singleton LanguageProfile for HTML (.html, .htm, .xhtml).
public static xmlProfile
xmlProfile() as LanguageProfile
Returns the shared singleton LanguageProfile for XML (.xml, .svg, .xsd, .xsl, .ui, .pom).
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml