com.github.beothorn.html.common.SimpleProp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javaPageRender Show documentation
Show all versions of javaPageRender Show documentation
Write and render html using static constructors
package com.github.beothorn.html.common;
import com.github.beothorn.html.Renderable;
public class SimpleProp implements Renderable {
private String name;
private String value;
public SimpleProp(
final String name,
final String value
) {
this.name = name;
this.value = value;
}
@Override
public String render() {
return name+"=\"" + value + "\"";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy