org.apache.hadoop.yarn.webapp.hamlet
Class HamletSpec

java.lang.Object
  extended by org.apache.hadoop.yarn.webapp.hamlet.HamletSpec
Direct Known Subclasses:
HamletImpl

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.


Nested Class Summary
static interface HamletSpec._
           
static interface HamletSpec._Anchor
           
static interface HamletSpec._Block
          %block -(FORM|FIELDSET)
static interface HamletSpec._Body
           
static interface HamletSpec._Cell
           
static interface HamletSpec._Child
           
static interface HamletSpec._Content
           
static interface HamletSpec._Dl
           
static interface HamletSpec._FieldSet
           
static interface HamletSpec._FontSize
          Part of %pre.exclusion
static interface HamletSpec._FontStyle
          %fontstyle -(%pre.exclusion)
static interface HamletSpec._Form
           
static interface HamletSpec._FormCtrl
           
static interface HamletSpec._Head
           
static interface HamletSpec._Html
           
static interface HamletSpec._ImgObject
          Part of %pre.exclusion
static interface HamletSpec._InsDel
          INS and DEL are unusual for HTML "in that they may serve as either block-level or inline elements (but not both)".
static interface HamletSpec._Label
           
static interface HamletSpec._Legend
           
static interface HamletSpec._Li
           
static interface HamletSpec._Object
           
static interface HamletSpec._Option
           
static interface HamletSpec._Param
           
static interface HamletSpec._RawContent
           
static interface HamletSpec._Script
           
static interface HamletSpec._Special
          %special -(A|%pre.exclusion)
static interface HamletSpec._SubSup
          Part of %pre.exclusion
static interface HamletSpec._Table
           
static interface HamletSpec._TableCol
           
static interface HamletSpec._TableRow
           
static interface HamletSpec._Tr
           
static interface HamletSpec.A
           
static interface HamletSpec.ABBR
           
static interface HamletSpec.ACRONYM
           
static interface HamletSpec.ADDRESS
           
static interface HamletSpec.AREA
           
static interface HamletSpec.Attrs
          %attrs
static interface HamletSpec.B
           
static interface HamletSpec.BASE
           
static interface HamletSpec.BDO
          The dir attribute is required for the BDO element
static interface HamletSpec.Block
          %block
static interface HamletSpec.BLOCKQUOTE
           
static interface HamletSpec.BODY
           
static interface HamletSpec.BR
           
static interface HamletSpec.BUTTON
           
static class HamletSpec.ButtonType
          Values for button types
static interface HamletSpec.CAPTION
           
static interface HamletSpec.CITE
           
static interface HamletSpec.CODE
           
static interface HamletSpec.COL
           
static interface HamletSpec.COLGROUP
           
static interface HamletSpec.CoreAttrs
          %coreattrs
static interface HamletSpec.DD
           
static interface HamletSpec.DEL
           
static interface HamletSpec.DFN
           
static class HamletSpec.Dir
          Values for the %18n dir attribute (case-insensitive)
static interface HamletSpec.DIV
           
static interface HamletSpec.DL
           
static interface HamletSpec.DT
           
static interface HamletSpec.Element
          The element annotation for specifying element options other than attributes and allowed child elements
static interface HamletSpec.EM
           
static interface HamletSpec.EventsAttrs
          %events
static interface HamletSpec.FIELDSET
           
static interface HamletSpec.Flow
          %flow
static interface HamletSpec.FontStyle
          %fontstyle
static interface HamletSpec.FORM
           
static interface HamletSpec.FormCtrl
          %formctrl
static interface HamletSpec.H1
           
static interface HamletSpec.H2
           
static interface HamletSpec.H3
           
static interface HamletSpec.H4
           
static interface HamletSpec.H5
           
static interface HamletSpec.H6
           
static interface HamletSpec.HEAD
           
static interface HamletSpec.Heading
          %heading
static interface HamletSpec.HeadMisc
          %head.misc
static interface HamletSpec.HR
           
static interface HamletSpec.HTML
          The root element
static interface HamletSpec.I
           
static interface HamletSpec.I18nAttrs
          %i18n
static interface HamletSpec.IMG
           
static interface HamletSpec.Inline
          %inline
static interface HamletSpec.INPUT
           
static class HamletSpec.InputType
          %InputType (case-insensitive)
static interface HamletSpec.INS
           
static interface HamletSpec.KBD
           
static interface HamletSpec.LABEL
           
static interface HamletSpec.LEGEND
           
static interface HamletSpec.LI
           
static interface HamletSpec.LINK
           
static class HamletSpec.LinkType
          %LinkTypes (case-insensitive)
static interface HamletSpec.Listing
          %list
static interface HamletSpec.MAP
           
static class HamletSpec.Media
          %MediaDesc (case-sensitive)
static interface HamletSpec.META
           
static class HamletSpec.Method
          Values for form methods (case-insensitive)
static interface HamletSpec.OBJECT
           
static interface HamletSpec.OL
           
static interface HamletSpec.OPTGROUP
           
static interface HamletSpec.OPTION
           
static interface HamletSpec.P
           
static interface HamletSpec.PARAM
           
static interface HamletSpec.PCData
          #PCDATA
static interface HamletSpec.Phrase
          %phrase
static interface HamletSpec.PRE
           
static interface HamletSpec.Preformatted
          % preformatted
static interface HamletSpec.Q
           
static interface HamletSpec.SAMP
           
static class HamletSpec.Scope
          %Scope (case-insensitive)
static interface HamletSpec.SCRIPT
           
static interface HamletSpec.SELECT
           
static class HamletSpec.Shape
          %Shape (case-insensitive)
static interface HamletSpec.SMALL
           
static interface HamletSpec.SPAN
           
static interface HamletSpec.Special
          %special
static interface HamletSpec.STRONG
           
static interface HamletSpec.STYLE
           
static interface HamletSpec.SUB
           
static interface HamletSpec.SUP
           
static interface HamletSpec.TABLE
          TBODY should be used after THEAD/TFOOT, iff there're no TABLE.TR elements.
static interface HamletSpec.TBODY
           
static interface HamletSpec.TD
           
static interface HamletSpec.TEXTAREA
           
static interface HamletSpec.TFOOT
           
static interface HamletSpec.TH
           
static interface HamletSpec.THEAD
           
static interface HamletSpec.TITLE
           
static interface HamletSpec.TR
           
static interface HamletSpec.UL
           
static interface HamletSpec.VAR
           
 
Constructor Summary
HamletSpec()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HamletSpec

public HamletSpec()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.