1 57 58 package com.sun.org.apache.xerces.internal.xni.parser; 59 60 import java.io.IOException ; 61 import java.util.Locale ; 62 63 import com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler; 64 import com.sun.org.apache.xerces.internal.xni.XMLDTDHandler; 65 import com.sun.org.apache.xerces.internal.xni.XMLDTDContentModelHandler; 66 import com.sun.org.apache.xerces.internal.xni.XNIException; 67 68 117 public interface XMLParserConfiguration 118 extends XMLComponentManager { 119 120 124 126 153 public void parse(XMLInputSource inputSource) 154 throws XNIException, IOException ; 155 156 158 165 public void addRecognizedFeatures(String [] featureIds); 166 167 177 public void setFeature(String featureId, boolean state) 178 throws XMLConfigurationException; 179 180 188 public boolean getFeature(String featureId) 189 throws XMLConfigurationException; 190 191 198 public void addRecognizedProperties(String [] propertyIds); 199 200 210 public void setProperty(String propertyId, Object value) 211 throws XMLConfigurationException; 212 213 221 public Object getProperty(String propertyId) 222 throws XMLConfigurationException; 223 224 226 231 public void setErrorHandler(XMLErrorHandler errorHandler); 232 233 234 public XMLErrorHandler getErrorHandler(); 235 236 241 public void setDocumentHandler(XMLDocumentHandler documentHandler); 242 243 244 public XMLDocumentHandler getDocumentHandler(); 245 246 251 public void setDTDHandler(XMLDTDHandler dtdHandler); 252 253 254 public XMLDTDHandler getDTDHandler(); 255 256 261 public void setDTDContentModelHandler(XMLDTDContentModelHandler dtdContentModelHandler); 262 263 264 public XMLDTDContentModelHandler getDTDContentModelHandler(); 265 266 268 273 public void setEntityResolver(XMLEntityResolver entityResolver); 274 275 276 public XMLEntityResolver getEntityResolver(); 277 278 286 public void setLocale(Locale locale) throws XNIException; 287 288 289 public Locale getLocale(); 290 291 } | Popular Tags |