/* * © Copyright IBM Corp. 2012 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or * implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.ibm.sbt.playground.assets.jssnippets; import java.util.Properties; import com.ibm.sbt.playground.assets.Asset; /** * Description of an API. */ public class JSSnippet extends Asset { private String html; private String docHtml; private String js; private String css; public JSSnippet() { } @Override public void init(Properties props) { super.init(props); } public String getTheme() { return getProperty("theme"); } public void setTheme(String theme) { setProperty("theme",theme); } public String getHtml() { return html; } public void setHtml(String html) { this.html = html; } public String getDocHtml() { return docHtml; } public void setDocHtml(String docHtml) { this.docHtml = docHtml; } public String getJs() { return js; } public void setJs(String js) { this.js = js; } public String getCss() { return css; } public void setCss(String css) { this.css = css; } }