Package org.thymeleaf.engine
Class AttributeDefinitions
Object
org.thymeleaf.engine.AttributeDefinitions
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttributeDefinitions
(Map<TemplateMode, Set<IElementProcessor>> elementProcessorsByTemplateMode) ONLY FOR INTERNAL USE. -
Method Summary
Modifier and TypeMethodDescriptionforCSSName
(char[] attributeName, int attributeNameOffset, int attributeNameLen) forCSSName
(String attributeName) forCSSName
(String prefix, String attributeName) forHTMLName
(char[] attributeName, int attributeNameOffset, int attributeNameLen) forHTMLName
(String attributeName) forHTMLName
(String prefix, String attributeName) forJavaScriptName
(char[] attributeName, int attributeNameOffset, int attributeNameLen) forJavaScriptName
(String attributeName) forJavaScriptName
(String prefix, String attributeName) forName
(TemplateMode templateMode, char[] attributeName, int attributeNameOffset, int attributeNameLen) forName
(TemplateMode templateMode, String attributeName) forName
(TemplateMode templateMode, String prefix, String attributeName) forTextName
(char[] attributeName, int attributeNameOffset, int attributeNameLen) forTextName
(String attributeName) forTextName
(String prefix, String attributeName) forXMLName
(char[] attributeName, int attributeNameOffset, int attributeNameLen) forXMLName
(String attributeName) forXMLName
(String prefix, String attributeName)
-
Field Details
-
ALL_STANDARD_HTML_ATTRIBUTE_NAMES
-
-
Constructor Details
-
AttributeDefinitions
public AttributeDefinitions(Map<TemplateMode, Set<IElementProcessor>> elementProcessorsByTemplateMode) ONLY FOR INTERNAL USE. This constructor is meant to be called only from inside the engine. It should never be called directly from any other classes.- Parameters:
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.
-
-
Method Details
-
forName
-
forName
-
forName
public AttributeDefinition forName(TemplateMode templateMode, char[] attributeName, int attributeNameOffset, int attributeNameLen) -
forHTMLName
-
forHTMLName
-
forHTMLName
public HTMLAttributeDefinition forHTMLName(char[] attributeName, int attributeNameOffset, int attributeNameLen) -
forXMLName
-
forXMLName
-
forXMLName
public XMLAttributeDefinition forXMLName(char[] attributeName, int attributeNameOffset, int attributeNameLen) -
forTextName
-
forTextName
-
forTextName
public TextAttributeDefinition forTextName(char[] attributeName, int attributeNameOffset, int attributeNameLen) -
forJavaScriptName
-
forJavaScriptName
-
forJavaScriptName
public TextAttributeDefinition forJavaScriptName(char[] attributeName, int attributeNameOffset, int attributeNameLen) -
forCSSName
-
forCSSName
-
forCSSName
public TextAttributeDefinition forCSSName(char[] attributeName, int attributeNameOffset, int attributeNameLen)
-