1 18 package org.apache.batik.css.parser; 19 20 import org.w3c.css.sac.CSSException; 21 import org.w3c.css.sac.DocumentHandler; 22 import org.w3c.css.sac.InputSource; 23 import org.w3c.css.sac.LexicalUnit; 24 import org.w3c.css.sac.SACMediaList; 25 import org.w3c.css.sac.SelectorList; 26 27 33 public class DefaultDocumentHandler implements DocumentHandler { 34 37 public final static DocumentHandler INSTANCE = new DefaultDocumentHandler(); 38 39 42 protected DefaultDocumentHandler() { 43 } 44 45 49 public void startDocument(InputSource source) 50 throws CSSException { 51 } 52 53 57 public void endDocument(InputSource source) throws CSSException { 58 } 59 60 64 public void comment(String text) throws CSSException { 65 } 66 67 71 public void ignorableAtRule(String atRule) throws CSSException { 72 } 73 74 78 public void namespaceDeclaration(String prefix, String uri) 79 throws CSSException { 80 } 81 82 86 public void importStyle(String uri, 87 SACMediaList media, 88 String defaultNamespaceURI) 89 throws CSSException { 90 } 91 92 96 public void startMedia(SACMediaList media) throws CSSException { 97 } 98 99 103 public void endMedia(SACMediaList media) throws CSSException { 104 } 105 106 110 public void startPage(String name, String pseudo_page) 111 throws CSSException { 112 } 113 114 118 public void endPage(String name, String pseudo_page) throws CSSException { 119 } 120 121 125 public void startFontFace() throws CSSException { 126 } 127 128 132 public void endFontFace() throws CSSException { 133 } 134 135 139 public void startSelector(SelectorList selectors) throws CSSException { 140 } 141 142 146 public void endSelector(SelectorList selectors) throws CSSException { 147 } 148 149 153 public void property(String name, LexicalUnit value, boolean important) 154 throws CSSException { 155 } 156 } 157 | Popular Tags |