// Path: src/main/java/com/trsvax/tapestry/facebook/opengraph/Tags.java
// public class Tags {
// 
// 	private String applicationID;
// 	private String title;
// 	private String type;
// 	private String url;
// 	private String imageURL;
// 	private String siteName;
// 	private String description;
// 	private String admins;
// 	
// 	public String getApplicationID() {
// 		return applicationID;
// 	}
// 	public void setApplicationID(String applicationID) {
// 		this.applicationID = applicationID;
// 	}
// 	public String getTitle() {
// 		return title;
// 	}
// 	public void setTitle(String title) {
// 		this.title = title;
// 	}
// 	public String getType() {
// 		return type;
// 	}
// 	public void setType(String type) {
// 		this.type = type;
// 	}
// 	public String getUrl() {
// 		return url;
// 	}
// 	public void setUrl(String url) {
// 		this.url = url;
// 	}
// 	public String getImageURL() {
// 		return imageURL;
// 	}
// 	public void setImageURL(String imageURL) {
// 		this.imageURL = imageURL;
// 	}
// 	public String getSiteName() {
// 		return siteName;
// 	}
// 	public void setSiteName(String siteName) {
// 		this.siteName = siteName;
// 	}
// 	public String getDescription() {
// 		return description;
// 	}
// 	public void setDescription(String description) {
// 		this.description = description;
// 	}
// 	public void setAdmins(String admins) {
// 		this.admins = admins;
// 	}
// 	public String getAdmins() {
// 		return admins;
// 	}
// 	
// 	
// }


import org.apache.tapestry5.MarkupWriter;
import org.apache.tapestry5.annotations.BeginRender;
import org.apache.tapestry5.annotations.Parameter;
import com.trsvax.tapestry.facebook.opengraph.Tags;
	
	@BeginRender
	void beginRender(MarkupWriter writer) {
		if ( tags == null ) {
			return;
		}
		if ( tags.getTitle() != null ) {
			writer.element("meta", "property","og:title","content",tags.getTitle());
			writer.end();
		}
		if ( tags.getType() != null ) {
			writer.element("meta", "property","og:type","content",tags.getType());
			writer.end();
		}
		if ( tags.getImageURL() != null ) {
			writer.element("meta", "property","og:image","content",tags.getImageURL());
			writer.end();
		}
		if ( tags.getUrl() != null ) {
			writer.element("meta", "property","og:url","content",tags.getUrl());
			writer.end();
		}
		if ( tags.getSiteName() != null ) {
			writer.element("meta", "property","og:site_name","content",tags.getSiteName());
			writer.end();
		}
		if ( tags.getApplicationID() != null ) {
			writer.element("meta", "property","fb:app_id","content",tags.getApplicationID());
			writer.end();
		}
// Path: src/main/java/com/trsvax/tapestry/facebook/opengraph/Tags.java
// public class Tags {
// 
// 	private String applicationID;
// 	private String title;
// 	private String type;
// 	private String url;
// 	private String imageURL;
// 	private String siteName;
// 	private String description;
// 	private String admins;
// 	
// 	public String getApplicationID() {
// 		return applicationID;
// 	}
// 	public void setApplicationID(String applicationID) {
// 		this.applicationID = applicationID;
// 	}
// 	public String getTitle() {
// 		return title;
// 	}
// 	public void setTitle(String title) {
// 		this.title = title;
// 	}
// 	public String getType() {
// 		return type;
// 	}
// 	public void setType(String type) {
// 		this.type = type;
// 	}
// 	public String getUrl() {
// 		return url;
// 	}
// 	public void setUrl(String url) {
// 		this.url = url;
// 	}
// 	public String getImageURL() {
// 		return imageURL;
// 	}
// 	public void setImageURL(String imageURL) {
// 		this.imageURL = imageURL;
// 	}
// 	public String getSiteName() {
// 		return siteName;
// 	}
// 	public void setSiteName(String siteName) {
// 		this.siteName = siteName;
// 	}
// 	public String getDescription() {
// 		return description;
// 	}
// 	public void setDescription(String description) {
// 		this.description = description;
// 	}
// 	public void setAdmins(String admins) {
// 		this.admins = admins;
// 	}
// 	public String getAdmins() {
// 		return admins;
// 	}
// 	
// 	
// }


// Path: src/main/java/com/trsvax/tapestry/facebook/components/Metadata.java
import org.apache.tapestry5.MarkupWriter;
import org.apache.tapestry5.annotations.BeginRender;
import org.apache.tapestry5.annotations.Parameter;
import com.trsvax.tapestry.facebook.opengraph.Tags;

	
	@BeginRender
	void beginRender(MarkupWriter writer) {
		if ( tags == null ) {
			return;
		}
		if ( tags.getTitle() != null ) {
			writer.element("meta", "property","og:title","content",tags.getTitle());
			writer.end();
		}
		if ( tags.getType() != null ) {
			writer.element("meta", "property","og:type","content",tags.getType());
			writer.end();
		}
		if ( tags.getImageURL() != null ) {
			writer.element("meta", "property","og:image","content",tags.getImageURL());
			writer.end();
		}
		if ( tags.getUrl() != null ) {
			writer.element("meta", "property","og:url","content",tags.getUrl());
			writer.end();
		}
		if ( tags.getSiteName() != null ) {
			writer.element("meta", "property","og:site_name","content",tags.getSiteName());
			writer.end();
		}
		if ( tags.getApplicationID() != null ) {
			writer.element("meta", "property","fb:app_id","content",tags.getApplicationID());
			writer.end();
		}
		if ( tags.getAdmins() != null ) {