001/* 002 * (C) Copyright 2011 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Anahide Tchertchian 018 */ 019package org.nuxeo.theme.styling.service.descriptors; 020 021import org.nuxeo.common.xmap.annotation.XNode; 022import org.nuxeo.common.xmap.annotation.XObject; 023import org.nuxeo.ecm.web.resources.core.ResourceDescriptor; 024 025/** 026 * @since 5.5 027 * @deprecated since 7.4: use the {@link ResourceDescriptor} with flavor endpoint instead. 028 */ 029@Deprecated 030@XObject("style") 031public class SimpleStyle { 032 033 @XNode("@name") 034 String name; 035 036 @XNode("src") 037 String src; 038 039 /** 040 * Resolved source content 041 */ 042 String content; 043 044 public String getName() { 045 return name; 046 } 047 048 public void setName(String name) { 049 this.name = name; 050 } 051 052 public String getSrc() { 053 return src; 054 } 055 056 public void setSrc(String src) { 057 this.src = src; 058 } 059 060 public String getContent() { 061 return content; 062 } 063 064 public void setContent(String content) { 065 this.content = content; 066 } 067 068}