001/* 002 * (C) Copyright 2011 Nuxeo SA (http://nuxeo.com/) and contributors. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * Anahide Tchertchian 016 */ 017package org.nuxeo.theme.styling.service.descriptors; 018 019import org.nuxeo.common.xmap.annotation.XNode; 020import org.nuxeo.common.xmap.annotation.XObject; 021import org.nuxeo.ecm.web.resources.core.ResourceDescriptor; 022 023/** 024 * @since 5.5 025 * @deprecated since 7.4: use the {@link ResourceDescriptor} with flavor endpoint instead. 026 */ 027@Deprecated 028@XObject("style") 029public class SimpleStyle { 030 031 @XNode("@name") 032 String name; 033 034 @XNode("src") 035 String src; 036 037 /** 038 * Resolved source content 039 */ 040 String content; 041 042 public String getName() { 043 return name; 044 } 045 046 public void setName(String name) { 047 this.name = name; 048 } 049 050 public String getSrc() { 051 return src; 052 } 053 054 public void setSrc(String src) { 055 this.src = src; 056 } 057 058 public String getContent() { 059 return content; 060 } 061 062 public void setContent(String content) { 063 this.content = content; 064 } 065 066}