Class TemplateParser.HtmlAttribute
java.lang.Object
gg.jte.compiler.TemplateParser.HtmlAttribute
- All Implemented Interfaces:
HtmlAttribute
- Enclosing class:
TemplateParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanfinal booleanfinal booleanfinal Stringintfinal charfinal intint -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateHtmlAttribute(String name, char quotes, int startIndex, boolean containsSingleOutput, boolean hasValue) -
Method Summary
-
Field Details
-
BOOLEAN_HTML_ATTRIBUTES
-
name
-
quotes
public final char quotes -
startIndex
public final int startIndex -
containsSingleOutput
public final boolean containsSingleOutput -
bool
public final boolean bool -
hasValue
public final boolean hasValue -
value
-
variableName
-
quoteCount
public int quoteCount -
valueStartIndex
public int valueStartIndex
-
-
Constructor Details
-
HtmlAttribute
private HtmlAttribute(String name, char quotes, int startIndex, boolean containsSingleOutput, boolean hasValue)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceHtmlAttribute
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHtmlAttribute
-
getQuotes
public char getQuotes()- Specified by:
getQuotesin interfaceHtmlAttribute
-
isBoolean
public boolean isBoolean()- Specified by:
isBooleanin interfaceHtmlAttribute
-
isSmartAttribute
public boolean isSmartAttribute()
-