Class HtmlAnnotation

java.lang.Object
org.apache.juneau.html.annotation.HtmlAnnotation

public class HtmlAnnotation extends Object
Utility classes and methods for the @Html annotation.
See Also:
  • Field Details

    • DEFAULT

      public static final Html DEFAULT
      Default value
  • Constructor Details

  • Method Details

    • create

      public static HtmlAnnotation.Builder create()
      Instantiates a new builder for this class.
      Returns:
      A new builder object.
    • create

      public static HtmlAnnotation.Builder create(Class<?>... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • create

      public static HtmlAnnotation.Builder create(String... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • copy

      public static Html copy(Html a, VarResolverSession r)
      Creates a copy of the specified annotation.
      Parameters:
      a - The annotation to copy.s
      r - The var resolver for resolving any variables.
      Returns:
      A copy of the specified annotation.