Class TemplateParser.HtmlTag

java.lang.Object
gg.jte.compiler.TemplateParser.HtmlTag
All Implemented Interfaces:
HtmlTag
Enclosing class:
TemplateParser

public static class TemplateParser.HtmlTag extends Object implements HtmlTag
  • Field Details

    • VOID_HTML_TAGS

      private static final Set<String> VOID_HTML_TAGS
    • name

      public final String name
    • intercepted

      public final boolean intercepted
    • attributeStartIndex

      public final int attributeStartIndex
    • bodyIgnored

      public final boolean bodyIgnored
    • innerTagsIgnored

      public final boolean innerTagsIgnored
    • isScript

      public final boolean isScript
    • isStyle

      public final boolean isStyle
    • attributes

      public final List<TemplateParser.HtmlAttribute> attributes
    • attributesProcessed

      public boolean attributesProcessed
    • stringLiteralQuote

      public char stringLiteralQuote
  • Constructor Details

    • HtmlTag

      public HtmlTag(String name, boolean intercepted, int attributeStartIndex)
  • Method Details

    • getCurrentAttribute

      public TemplateParser.HtmlAttribute getCurrentAttribute()
    • isCurrentAttributeComplete

      public boolean isCurrentAttributeComplete()
    • isCurrentAttributeQuote

      public boolean isCurrentAttributeQuote(char currentChar)
    • isInAttribute

      public boolean isInAttribute()
    • isInAttributeString

      public boolean isInAttributeString()
    • isInStringLiteral

      public boolean isInStringLiteral()
    • getName

      public String getName()
      Specified by:
      getName in interface HtmlTag