01: /*
02: ItsNat Java Web Application Framework
03: Copyright (C) 2007 Innowhere Software Services S.L., Spanish Company
04: Author: Jose Maria Arranz Santamaria
05:
06: This program is free software: you can redistribute it and/or modify
07: it under the terms of the GNU Affero General Public License as published by
08: the Free Software Foundation, either version 3 of the License, or
09: (at your option) any later version. See the GNU Affero General Public
10: License for more details. See the copy of the GNU Affero General Public License
11: included in this program. If not, see <http://www.gnu.org/licenses/>.
12: */
13:
14: package org.itsnat.impl.core.css;
15:
16: import org.w3c.dom.DOMException;
17: import org.itsnat.impl.core.css.lex.SourceCode;
18:
19: /**
20: * NO SE USA
21: *
22: * @author jmarranz
23: */
24: public class CSSValueCustomImpl extends CSSValueImpl {
25:
26: /** Creates a new instance of CSSValueCustomImpl */
27: public CSSValueCustomImpl(SourceCode cssTextCode, int code,
28: ObjectValueParent parent) {
29: super (cssTextCode, code, parent);
30:
31: // NO SE USA
32: throw new DOMException(DOMException.INVALID_ACCESS_ERR,
33: "INTERNAL ERROR");
34: }
35:
36: public short getCssValueType() {
37: return CSS_CUSTOM;
38: }
39:
40: public void rebuild(SourceCode cssText) {
41: }
42:
43: public Object getUpdatedChildObjectValueFromElement(
44: Object requester, int requesterCode) {
45: throw new DOMException(DOMException.INVALID_ACCESS_ERR,
46: "INTERNAL ERROR");
47: }
48:
49: public void notifyToElementChangedCSSText(SourceCode cssText,
50: Object requester) {
51: }
52: }
|