public class Mixin extends Object
| Constructor and Description |
|---|
Mixin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(Attribute attr)
Adds an attribute
|
void |
addParameter(String name)
Adds a parameter of the mixin
|
void |
addSubSection(Section section)
Adds a sub section.
|
List<Attribute> |
getAttributes()
Returns all attributes defined by the mixin
|
String |
getName()
Returns the name of the mixin
|
List<String> |
getParameters()
Returns all parameters of the mixin
|
List<Section> |
getSubSections()
Returns a list of all sub sections.
|
void |
setName(String name)
Sets the name of the mixin
|
public void addParameter(String name)
name - the name of the parameter to add (without $)public void addAttribute(Attribute attr)
attr - the attribute to addpublic void setName(String name)
name - the name of the mixinpublic void addSubSection(Section section)
section - the section to addpublic String getName()
public List<String> getParameters()
public List<Attribute> getAttributes()
Copyright © 2016. All rights reserved.