Class VariableDeclaration
- java.lang.Object
-
- nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclaration
-
public class VariableDeclaration extends Object
Representation of a scoped variable declaration made throughth:with
attributes. This is really a wrapper around Thymeleaf'sAssignation
class, but simplified to just the left and right hand components in string form.- Author:
- zhanhb, Emanuel Rabina
-
-
Constructor Summary
Constructors Constructor Description VariableDeclaration(Assignation assignation)
Constructor, create an instance from a Thymeleaf assignation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
String
getValue()
String
toString()
Reconstructs the variable for use withth:with
.
-
-
-
Constructor Detail
-
VariableDeclaration
public VariableDeclaration(Assignation assignation)
Constructor, create an instance from a Thymeleaf assignation.- Parameters:
assignation
-
-
-