1 9 package org.w3c.css.sac; 10 11 20 public interface DocumentHandler { 21 22 32 public void startDocument(InputSource source) 33 throws CSSException; 34 35 47 public void endDocument(InputSource source) throws CSSException; 48 49 58 public void comment(String text) throws CSSException; 59 60 68 public void ignorableAtRule(String atRule) throws CSSException; 69 70 79 public void namespaceDeclaration(String prefix, String uri) 80 throws CSSException; 81 82 92 public void importStyle(String uri, SACMediaList media, 93 String defaultNamespaceURI) 94 throws CSSException; 95 96 107 public void startMedia(SACMediaList media) throws CSSException; 108 109 116 public void endMedia(SACMediaList media) throws CSSException; 117 118 130 public void startPage(String name, String pseudo_page) throws CSSException; 131 132 140 public void endPage(String name, String pseudo_page) throws CSSException; 141 142 152 public void startFontFace() throws CSSException; 153 154 160 public void endFontFace() throws CSSException; 161 162 169 public void startSelector(SelectorList selectors) throws CSSException; 170 171 178 public void endSelector(SelectorList selectors) throws CSSException; 179 180 189 public void property(String name, LexicalUnit value, boolean important) 190 throws CSSException; 191 } 192 | Popular Tags |