// Switch to Mata interpreter/compiler
mata:
// Drops class object if it already exists
// mata drop fieldset()
// Definition of HTML Tag fieldset Mata Class
// Groups related elements in a form// Information retrieved from http://www.w3schools.com/tags/tag_fieldset.asp
class fieldset extends htmlglobal {
// Define private member variables
private:
// Static/final variables
static string scalar opens, opene, close
// String scalar attributes
string scalar htmldisabled, htmlform, htmlname
// Make class args non-static to prevent assignment of class args to all instances of class
string scalar classargs
// Define public members/methods
public:
// Class constructor method
void new()
// Setter methods
class fieldset scalar setClassArgs(), setDisabled(), setForm(), setName()
// Getter methods
string scalar getOpens(), getOpene(), getClose(), print(), getClassArgs(), getDisabled(), getForm(), getName()
} // End of class declaration
// Class constructor method declaration
void fieldset::new() {
// Defines the start of the opening tag for the class
this.opens = "