1 16 17 package org.apache.xerces.xni.parser; 18 19 import java.io.IOException ; 20 import java.util.Locale ; 21 22 import org.apache.xerces.xni.XMLDocumentHandler; 23 import org.apache.xerces.xni.XMLDTDHandler; 24 import org.apache.xerces.xni.XMLDTDContentModelHandler; 25 import org.apache.xerces.xni.XNIException; 26 27 76 public interface XMLParserConfiguration 77 extends XMLComponentManager { 78 79 83 85 112 public void parse(XMLInputSource inputSource) 113 throws XNIException, IOException ; 114 115 117 124 public void addRecognizedFeatures(String [] featureIds); 125 126 136 public void setFeature(String featureId, boolean state) 137 throws XMLConfigurationException; 138 139 147 public boolean getFeature(String featureId) 148 throws XMLConfigurationException; 149 150 157 public void addRecognizedProperties(String [] propertyIds); 158 159 169 public void setProperty(String propertyId, Object value) 170 throws XMLConfigurationException; 171 172 180 public Object getProperty(String propertyId) 181 throws XMLConfigurationException; 182 183 185 190 public void setErrorHandler(XMLErrorHandler errorHandler); 191 192 193 public XMLErrorHandler getErrorHandler(); 194 195 200 public void setDocumentHandler(XMLDocumentHandler documentHandler); 201 202 203 public XMLDocumentHandler getDocumentHandler(); 204 205 210 public void setDTDHandler(XMLDTDHandler dtdHandler); 211 212 213 public XMLDTDHandler getDTDHandler(); 214 215 220 public void setDTDContentModelHandler(XMLDTDContentModelHandler dtdContentModelHandler); 221 222 223 public XMLDTDContentModelHandler getDTDContentModelHandler(); 224 225 227 232 public void setEntityResolver(XMLEntityResolver entityResolver); 233 234 235 public XMLEntityResolver getEntityResolver(); 236 237 245 public void setLocale(Locale locale) throws XNIException; 246 247 248 public Locale getLocale(); 249 250 } | Popular Tags |