Class Hamlet.SCRIPT<T extends HamletSpec.__>
java.lang.Object
org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl.EImp<T>
org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.SCRIPT<T>
- All Implemented Interfaces:
HamletSpec.__,HamletSpec._Child,HamletSpec._Content,HamletSpec.SCRIPT
- Enclosing class:
- Hamlet
public class Hamlet.SCRIPT<T extends HamletSpec.__>
extends HamletImpl.EImp<T>
implements HamletSpec.SCRIPT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContent of the elementchar encoding of linked resourceUA may defer execution of scriptURI for an external scriptcontent type of script languageMethods inherited from class org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl.EImp
__, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Child
__
-
Constructor Details
-
SCRIPT
-
-
Method Details
-
$type
Description copied from interface:HamletSpec.SCRIPTcontent type of script language- Specified by:
$typein interfaceHamletSpec.SCRIPT- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
$src
Description copied from interface:HamletSpec.SCRIPTURI for an external script- Specified by:
$srcin interfaceHamletSpec.SCRIPT- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
$charset
Description copied from interface:HamletSpec.SCRIPTchar encoding of linked resource- Specified by:
$charsetin interfaceHamletSpec.SCRIPT- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
$defer
Description copied from interface:HamletSpec.SCRIPTUA may defer execution of script- Specified by:
$deferin interfaceHamletSpec.SCRIPT- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
__
Description copied from interface:HamletSpec._ContentContent of the element- Specified by:
__in interfaceHamletSpec._Content- Parameters:
lines- of content- Returns:
- the current element builder
-