public final class AttributeDefinitions extends Object
Modifier and Type | Field and Description |
---|---|
static Set<String> |
ALL_STANDARD_HTML_ATTRIBUTE_NAMES |
Constructor and Description |
---|
AttributeDefinitions(Map<TemplateMode,Set<IElementProcessor>> elementProcessorsByTemplateMode)
ONLY FOR INTERNAL USE.
|
Modifier and Type | Method and Description |
---|---|
TextAttributeDefinition |
forCSSName(char[] attributeName,
int attributeNameOffset,
int attributeNameLen) |
TextAttributeDefinition |
forCSSName(String attributeName) |
TextAttributeDefinition |
forCSSName(String prefix,
String attributeName) |
HTMLAttributeDefinition |
forHTMLName(char[] attributeName,
int attributeNameOffset,
int attributeNameLen) |
HTMLAttributeDefinition |
forHTMLName(String attributeName) |
HTMLAttributeDefinition |
forHTMLName(String prefix,
String attributeName) |
TextAttributeDefinition |
forJavaScriptName(char[] attributeName,
int attributeNameOffset,
int attributeNameLen) |
TextAttributeDefinition |
forJavaScriptName(String attributeName) |
TextAttributeDefinition |
forJavaScriptName(String prefix,
String attributeName) |
AttributeDefinition |
forName(TemplateMode templateMode,
char[] attributeName,
int attributeNameOffset,
int attributeNameLen) |
AttributeDefinition |
forName(TemplateMode templateMode,
String attributeName) |
AttributeDefinition |
forName(TemplateMode templateMode,
String prefix,
String attributeName) |
TextAttributeDefinition |
forTextName(char[] attributeName,
int attributeNameOffset,
int attributeNameLen) |
TextAttributeDefinition |
forTextName(String attributeName) |
TextAttributeDefinition |
forTextName(String prefix,
String attributeName) |
XMLAttributeDefinition |
forXMLName(char[] attributeName,
int attributeNameOffset,
int attributeNameLen) |
XMLAttributeDefinition |
forXMLName(String attributeName) |
XMLAttributeDefinition |
forXMLName(String prefix,
String attributeName) |
public AttributeDefinitions(Map<TemplateMode,Set<IElementProcessor>> elementProcessorsByTemplateMode)
elementProcessorsByTemplateMode
- the processors (element and node), already ordered by precedence, which
might be of application to the attributes which definition is to be stored
here.public AttributeDefinition forName(TemplateMode templateMode, String attributeName)
public AttributeDefinition forName(TemplateMode templateMode, String prefix, String attributeName)
public AttributeDefinition forName(TemplateMode templateMode, char[] attributeName, int attributeNameOffset, int attributeNameLen)
public HTMLAttributeDefinition forHTMLName(String attributeName)
public HTMLAttributeDefinition forHTMLName(String prefix, String attributeName)
public HTMLAttributeDefinition forHTMLName(char[] attributeName, int attributeNameOffset, int attributeNameLen)
public XMLAttributeDefinition forXMLName(String attributeName)
public XMLAttributeDefinition forXMLName(String prefix, String attributeName)
public XMLAttributeDefinition forXMLName(char[] attributeName, int attributeNameOffset, int attributeNameLen)
public TextAttributeDefinition forTextName(String attributeName)
public TextAttributeDefinition forTextName(String prefix, String attributeName)
public TextAttributeDefinition forTextName(char[] attributeName, int attributeNameOffset, int attributeNameLen)
public TextAttributeDefinition forJavaScriptName(String attributeName)
public TextAttributeDefinition forJavaScriptName(String prefix, String attributeName)
public TextAttributeDefinition forJavaScriptName(char[] attributeName, int attributeNameOffset, int attributeNameLen)
public TextAttributeDefinition forCSSName(String attributeName)
public TextAttributeDefinition forCSSName(String prefix, String attributeName)
public TextAttributeDefinition forCSSName(char[] attributeName, int attributeNameOffset, int attributeNameLen)
Copyright © 2016 The THYMELEAF team. All rights reserved.