1 30 31 package com.steadystate.css.dom; 32 33 import java.io.Serializable ; 34 import org.w3c.dom.*; 35 import org.w3c.dom.css.*; 36 37 42 public class CSSUnknownRuleImpl implements CSSUnknownRule, Serializable { 43 44 CSSStyleSheetImpl _parentStyleSheet = null; 45 CSSRule _parentRule = null; 46 String _text = null; 47 48 public CSSUnknownRuleImpl( 49 CSSStyleSheetImpl parentStyleSheet, 50 CSSRule parentRule, 51 String text) { 52 _parentStyleSheet = parentStyleSheet; 53 _parentRule = parentRule; 54 _text = text; 55 } 56 57 public short getType() { 58 return UNKNOWN_RULE; 59 } 60 61 public String getCssText() { 62 return _text; 63 } 64 65 public void setCssText(String cssText) throws DOMException { 66 105 } 106 107 public CSSStyleSheet getParentStyleSheet() { 108 return _parentStyleSheet; 109 } 110 111 public CSSRule getParentRule() { 112 return _parentRule; 113 } 114 115 public String toString() { 116 return getCssText(); 117 } 118 } 119 | Popular Tags |