Class WebXAttribute
java.lang.Object
webx.WebXAttribute
Represents a single HTML attribute
<p style="color: red;"></p>
Attributes are used to add special user data to html elements for processing-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WebXAttribute
Creates a new attribute
style is a Key and the String value is the value in this case<p style="color: red;"></p>- Parameters:
key- Left side of the attribute, represents the data namevalue- Right side of the attribute, represents the value for the data
-
-
Method Details
-
render
Combines the key and value into a valid HTML attribute- Returns:
- A String representation of the attribute.
-