001/* 002 * (C) Copyright 2006-2007 Nuxeo SAS <http://nuxeo.com> and others 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the Eclipse Public License v1.0 006 * which accompanies this distribution, and is available at 007 * http://www.eclipse.org/legal/epl-v10.html 008 * 009 * Contributors: 010 * Jean-Marc Orliaguet, Chalmers 011 * 012 * $Id$ 013 */ 014 015package org.nuxeo.theme.elements; 016 017import java.net.URL; 018import java.util.List; 019 020import org.nuxeo.theme.nodes.Node; 021import org.nuxeo.theme.relations.Relate; 022import org.nuxeo.theme.uids.Identifiable; 023 024public interface Element extends Relate, Node, Identifiable { 025 026 ElementType getElementType(); 027 028 void setElementType(ElementType elementType); 029 030 List<Node> getChildrenInContext(URL themeURL); 031 032 void setDescription(String description); 033 034 String getDescription(); 035 036 boolean isEmpty(); 037 038 String computeXPath(); 039 040 String getCssClassName(); 041 042 void setCssClassName(String cssClassName); 043 044}