org.apache.hadoop.yarn.webapp.hamlet
Annotation Type HamletSpec.Element


@Target(value=TYPE)
@Retention(value=RUNTIME)
public static @interface HamletSpec.Element

The element annotation for specifying element options other than attributes and allowed child elements


Optional Element Summary
 boolean endTag
          Whether the end tag is required.
 boolean startTag
          Whether the start tag is required for the element.
 

startTag

public abstract boolean startTag
Whether the start tag is required for the element.

Returns:
true if start tag is required
Default:
true

endTag

public abstract boolean endTag
Whether the end tag is required.

Returns:
true if end tag is required
Default:
true


Copyright © 2014 Apache Software Foundation. All Rights Reserved.