1 38 39 package org.jvnet.fastinfoset.sax; 40 41 import java.io.IOException ; 42 import java.io.InputStream ; 43 import java.util.Map ; 44 import org.jvnet.fastinfoset.FastInfosetException; 45 import org.jvnet.fastinfoset.FastInfosetParser; 46 import org.xml.sax.SAXException ; 47 import org.xml.sax.XMLReader ; 48 import org.xml.sax.ext.LexicalHandler ; 49 50 145 public interface FastInfosetReader extends XMLReader , FastInfosetParser { 146 151 public static final String ENCODING_ALGORITHM_CONTENT_HANDLER_PROPERTY = 152 "http://jvnet.org/fastinfoset/sax/properties/encoding-algorithm-content-handler"; 153 154 159 public static final String PRIMITIVE_TYPE_CONTENT_HANDLER_PROPERTY = 160 "http://jvnet.org/fastinfoset/sax/properties/primitive-type-content-handler"; 161 162 182 public void parse(InputStream s) throws IOException , FastInfosetException, SAXException ; 183 184 194 public void setLexicalHandler(LexicalHandler handler); 195 196 203 public LexicalHandler getLexicalHandler(); 204 205 215 public void setEncodingAlgorithmContentHandler(EncodingAlgorithmContentHandler handler); 216 217 224 public EncodingAlgorithmContentHandler getEncodingAlgorithmContentHandler(); 225 226 236 public void setPrimitiveTypeContentHandler(PrimitiveTypeContentHandler handler); 237 238 239 246 public PrimitiveTypeContentHandler getPrimitiveTypeContentHandler(); 247 } 248 | Popular Tags |