Class HamletSpec

java.lang.Object
org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec
Direct Known Subclasses:
HamletImpl

@LimitedPrivate({"YARN","MapReduce"}) public class HamletSpec extends Object
HTML5 compatible HTML4 builder interfaces.

Generated from HTML 4.01 strict DTD and HTML5 diffs.
cf. http://www.w3.org/TR/html4/
cf. http://www.w3.org/TR/html5-diff/

The omitted attributes and elements (from the 4.01 DTD) are for HTML5 compatibility.

Note, the common argument selector uses the same syntax as Haml/Sass:

  selector ::= (#id)?(.class)*
cf. http://haml-lang.com/

The naming convention used in this class is slightly different from normal classes. A CamelCase interface corresponds to an entity in the DTD. _CamelCase is for internal refactoring. An element builder interface is in UPPERCASE, corresponding to an element definition in the DTD. $lowercase is used as attribute builder methods to differentiate from element builder methods.

  • Constructor Details

    • HamletSpec

      public HamletSpec()