001/********************************************** 002 * Copyright (C) 2010 Lukas Laag 003 * This file is part of lib-gwt-svg. 004 * 005 * libgwtsvg is free software: you can redistribute it and/or modify 006 * it under the terms of the GNU Lesser General Public License as published by 007 * the Free Software Foundation, either version 3 of the License, or 008 * (at your option) any later version. 009 * 010 * libgwtsvg is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 013 * GNU Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public License 016 * along with libgwtsvg. If not, see http://www.gnu.org/licenses/ 017 **********************************************/ 018/* 019 * Copyright (c) 2004 World Wide Web Consortium, 020 * 021 * (Massachusetts Institute of Technology, European Research Consortium for 022 * Informatics and Mathematics, Keio University). All Rights Reserved. This 023 * work is distributed under the W3C(r) Software License [1] in the hope that 024 * it will be useful, but WITHOUT ANY WARRANTY; without even the implied 025 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 026 * 027 * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 028 */ 029 030package org.vectomatic.dom.svg.itf; 031 032import com.google.gwt.core.client.JavaScriptException; 033 034 /** 035 * Interface {@link org.vectomatic.dom.svg.itf.ISVGLangSpace} defines an interface 036 * which applies to all elements which have attributes <code>xml:lang</code> 037 * and <code>xml:space</code>. 038 */ 039public interface ISVGLangSpace { 040 /** 041 * Corresponds to attribute <code>xml:lang</code> on the given element. 042 */ 043 public String getXmllang(); 044 /** 045 * Corresponds to attribute <code>xml:lang</code> on the given element. 046 * @throws DOMException(NO_MODIFICATION_ALLOWED_ERR) Raised on an attempt 047 * to change the value of a <a href="svgdom.html#ReadOnlyNodes">read only 048 * attribute</a>. 049 */ 050 public void setXmllang(java.lang.String value) throws JavaScriptException; 051 /** 052 * Corresponds to attribute <code>xml:space</code> on the given element. 053 */ 054 public String getXmlspace(); 055 /** 056 * Corresponds to attribute <code>xml:space</code> on the given element. 057 * @throws DOMException(NO_MODIFICATION_ALLOWED_ERR) Raised on an attempt 058 * to change the value of a <a href="svgdom.html#ReadOnlyNodes">read only 059 * attribute</a>. 060 */ 061 public void setXmlspace(java.lang.String value) throws JavaScriptException; 062}