Home
last modified time | relevance | path

Searched refs:SAXNotRecognizedException (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/main/java/javax/xml/validation/
DValidatorHandler.java24 import org.xml.sax.SAXNotRecognizedException;
349 …public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException { in getFeature()
353 throw new SAXNotRecognizedException(name); in getFeature()
384 …public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupport… in setFeature()
388 throw new SAXNotRecognizedException(name); in setFeature()
415 …public void setProperty(String name, Object object) throws SAXNotRecognizedException, SAXNotSuppor… in setProperty()
419 throw new SAXNotRecognizedException(name); in setProperty()
448 …public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException { in getProperty()
452 throw new SAXNotRecognizedException(name); in getProperty()
DValidator.java27 import org.xml.sax.SAXNotRecognizedException;
341 …public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException { in getFeature()
345 throw new SAXNotRecognizedException(name); in getFeature()
376 …public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupport… in setFeature()
380 throw new SAXNotRecognizedException(name); in setFeature()
406 …public void setProperty(String name, Object object) throws SAXNotRecognizedException, SAXNotSuppor… in setProperty()
410 throw new SAXNotRecognizedException(name); in setProperty()
439 …public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException { in getProperty()
443 throw new SAXNotRecognizedException(name); in getProperty()
DSchemaFactory.java29 import org.xml.sax.SAXNotRecognizedException;
267 …public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException { in getFeature()
272 throw new SAXNotRecognizedException(name); in getFeature()
316 …public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupport… in setFeature()
320 throw new SAXNotRecognizedException(name); in setFeature()
343 …public void setProperty(String name, Object object) throws SAXNotRecognizedException, SAXNotSuppor… in setProperty()
347 throw new SAXNotRecognizedException(name); in setProperty()
374 …public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException { in getProperty()
378 throw new SAXNotRecognizedException(name); in getProperty()
/libcore/luni/src/test/java/libcore/javax/xml/validation/
DSchemaFactoryTest.java29 import org.xml.sax.SAXNotRecognizedException;
95 public void getFeature_nullString() throws SAXNotRecognizedException, SAXNotSupportedException { in getFeature_nullString()
99 @Test(expected = SAXNotRecognizedException.class)
101 throws SAXNotRecognizedException, SAXNotSupportedException{ in getFeature_validString()
106 public void setFeature_nullString() throws SAXNotRecognizedException, SAXNotSupportedException { in setFeature_nullString()
110 @Test(expected = SAXNotRecognizedException.class)
112 throws SAXNotRecognizedException, SAXNotSupportedException{ in setFeature_validString()
118 throws SAXNotRecognizedException, SAXNotSupportedException { in setProperty_nullString()
122 @Test(expected = SAXNotRecognizedException.class)
124 throws SAXNotRecognizedException, SAXNotSupportedException{ in setProperty_validString()
[all …]
DValidatorTest.java34 import org.xml.sax.SAXNotRecognizedException;
55 assertThrows(SAXNotRecognizedException.class, () -> validator.getFeature("hello")); in getFeature()
56 assertThrows(SAXNotRecognizedException.class, () -> validator.getFeature("")); in getFeature()
62 assertThrows(SAXNotRecognizedException.class, () -> validator.getProperty("hello")); in getProperty()
63 assertThrows(SAXNotRecognizedException.class, () -> validator.getProperty("")); in getProperty()
77 assertThrows(SAXNotRecognizedException.class, in setFeature()
94 assertThrows(SAXNotRecognizedException.class, in setProperty()
DValidatorHandlerTest.java34 import org.xml.sax.SAXNotRecognizedException;
55 assertThrows(SAXNotRecognizedException.class, () -> handler.getFeature("hello")); in getFeature()
56 assertThrows(SAXNotRecognizedException.class, () -> handler.getFeature("")); in getFeature()
62 assertThrows(SAXNotRecognizedException.class, () -> handler.getProperty("hello")); in getProperty()
63 assertThrows(SAXNotRecognizedException.class, () -> handler.getProperty("")); in getProperty()
77 assertThrows(SAXNotRecognizedException.class, in setFeature()
94 assertThrows(SAXNotRecognizedException.class, in setProperty()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DSAXParserFactoryImpl.java24 import org.xml.sax.SAXNotRecognizedException;
42 public boolean getFeature(String name) throws SAXNotRecognizedException { in getFeature()
48 throw new SAXNotRecognizedException(name); in getFeature()
58 } catch (SAXNotRecognizedException ex) { in isNamespaceAware()
67 } catch (SAXNotRecognizedException ex) { in isValidating()
87 public void setFeature(String name, boolean value) throws SAXNotRecognizedException { in setFeature()
93 throw new SAXNotRecognizedException(name); in setFeature()
108 } catch (SAXNotRecognizedException ex) { in setNamespaceAware()
117 } catch (SAXNotRecognizedException ex) { in setValidating()
DSAXParserImpl.java26 import org.xml.sax.SAXNotRecognizedException;
41 throws SAXNotRecognizedException, SAXNotSupportedException { in SAXParserImpl()
49 throws SAXNotSupportedException, SAXNotRecognizedException { in resetInternal()
63 } catch (SAXNotRecognizedException e) { in reset()
80 public Object getProperty(String name) throws SAXNotRecognizedException, in getProperty()
106 throws SAXNotRecognizedException, SAXNotSupportedException { in setProperty()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/
DSAXNotRecognizedExceptionTest.java21 import org.xml.sax.SAXNotRecognizedException;
28 SAXNotRecognizedException e = new SAXNotRecognizedException(); in testSAXNotRecognizedException()
33 SAXNotRecognizedException e = new SAXNotRecognizedException(ERR); in testSAXNotRecognizedException_String()
36 e = new SAXNotRecognizedException(null); in testSAXNotRecognizedException_String()
/libcore/luni/src/main/java/org/xml/sax/
DXMLReader.java126 throws SAXNotRecognizedException, SAXNotSupportedException; in getFeature()
153 throws SAXNotRecognizedException, SAXNotSupportedException; in setFeature()
182 throws SAXNotRecognizedException, SAXNotSupportedException; in getProperty()
211 throws SAXNotRecognizedException, SAXNotSupportedException; in setProperty()
DSAXNotRecognizedException.java29 public class SAXNotRecognizedException extends SAXException class
35 public SAXNotRecognizedException () in SAXNotRecognizedException() method in SAXNotRecognizedException
45 public SAXNotRecognizedException (String message) in SAXNotRecognizedException() method in SAXNotRecognizedException
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatReader.java25 import org.xml.sax.SAXNotRecognizedException;
76 throws SAXNotRecognizedException, SAXNotSupportedException { in getFeature()
99 throw new SAXNotRecognizedException(name); in getFeature()
103 throws SAXNotRecognizedException, SAXNotSupportedException { in setFeature()
138 throw new SAXNotRecognizedException(name); in setFeature()
142 throws SAXNotRecognizedException, SAXNotSupportedException { in getProperty()
151 throw new SAXNotRecognizedException(name); in getProperty()
155 throws SAXNotRecognizedException, SAXNotSupportedException { in setProperty()
170 throw new SAXNotRecognizedException(name); in setProperty()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLFilterImpl.java17 import org.xml.sax.SAXNotRecognizedException;
153 throws SAXNotRecognizedException, SAXNotSupportedException in setFeature()
158 throw new SAXNotRecognizedException("Feature: " + name); in setFeature()
177 throws SAXNotRecognizedException, SAXNotSupportedException in getFeature()
182 throw new SAXNotRecognizedException("Feature: " + name); in getFeature()
201 throws SAXNotRecognizedException, SAXNotSupportedException in setProperty()
206 throw new SAXNotRecognizedException("Property: " + name); in setProperty()
223 throws SAXNotRecognizedException, SAXNotSupportedException in getProperty()
228 throw new SAXNotRecognizedException("Property: " + name); in getProperty()
DParserAdapter.java20 import org.xml.sax.SAXNotRecognizedException;
179 throws SAXNotRecognizedException, SAXNotSupportedException in setFeature()
197 throw new SAXNotRecognizedException("Feature: " + name); in setFeature()
217 throws SAXNotRecognizedException, SAXNotSupportedException in getFeature()
226 throw new SAXNotRecognizedException("Feature: " + name); in getFeature()
245 throws SAXNotRecognizedException, SAXNotSupportedException in setProperty()
247 throw new SAXNotRecognizedException("Property: " + name); in setProperty()
265 throws SAXNotRecognizedException, SAXNotSupportedException in getProperty()
267 throw new SAXNotRecognizedException("Property: " + name); in getProperty()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DMockFilter.java27 import org.xml.sax.SAXNotRecognizedException;
49 public boolean getFeature(String name) throws SAXNotRecognizedException, in getFeature()
55 public Object getProperty(String name) throws SAXNotRecognizedException, in getProperty()
70 public void setProperty(String name, Object value) throws SAXNotRecognizedException, in setProperty()
DMockReader.java31 import org.xml.sax.SAXNotRecognizedException;
77 public boolean getFeature(String name) throws SAXNotRecognizedException, in getFeature()
82 public Object getProperty(String name) throws SAXNotRecognizedException, in getProperty()
119 public void setProperty(String name, Object value) throws SAXNotRecognizedException, in setProperty()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserFactoryTest.java34 import org.xml.sax.SAXNotRecognizedException;
214 } catch (SAXNotRecognizedException snre) { in test_setFeatureLjava_lang_StringZ()
226 } catch (SAXNotRecognizedException snre) { in test_setFeatureLjava_lang_StringZ()
238 } catch (SAXNotRecognizedException snre) { in test_setFeatureLjava_lang_StringZ()
251 } catch (SAXNotRecognizedException snre) { in test_setFeatureLjava_lang_StringZ()
429 ParserConfigurationException, SAXNotRecognizedException, in setFeature()
435 ParserConfigurationException, SAXNotRecognizedException, in getFeature()
DDocumentBuilderFactoryTest.java26 import org.xml.sax.SAXNotRecognizedException;
734 } catch (SAXNotRecognizedException e) { in test_setSchemaLjavax_xml_validation_Schema()
741 } catch (SAXNotRecognizedException e) { in test_setSchemaLjavax_xml_validation_Schema()
748 } catch (SAXNotRecognizedException e) { in test_setSchemaLjavax_xml_validation_Schema()
755 } catch (SAXNotRecognizedException e) { in test_setSchemaLjavax_xml_validation_Schema()
/libcore/luni/src/test/java/libcore/javax/xml/transform/sax/
DSAXSourceTest.java39 import org.xml.sax.SAXNotRecognizedException;
119 throws SAXNotRecognizedException, SAXNotSupportedException { return false; } in getFeature()
123 throws SAXNotRecognizedException, SAXNotSupportedException {} in setFeature()
127 throws SAXNotRecognizedException, SAXNotSupportedException { return null; } in getProperty()
131 throws SAXNotRecognizedException, SAXNotSupportedException {} in setProperty()
/libcore/luni/src/main/java/javax/xml/parsers/
DSAXParserFactory.java25 import org.xml.sax.SAXNotRecognizedException;
218 throws ParserConfigurationException, SAXNotRecognizedException, in setFeature()
237 throws ParserConfigurationException, SAXNotRecognizedException, in getFeature()
DSAXParser.java30 import org.xml.sax.SAXNotRecognizedException;
454 throws SAXNotRecognizedException, SAXNotSupportedException; in setProperty()
471 throws SAXNotRecognizedException, SAXNotSupportedException; in getProperty()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DParserAdapterTest.java37 import org.xml.sax.SAXNotRecognizedException;
129 } catch (SAXNotRecognizedException e) { in testGetSetFeature()
140 } catch (SAXNotRecognizedException e) { in testGetSetProperty()
149 } catch (SAXNotRecognizedException e) { in testGetSetProperty()
DXMLFilterImplTest.java35 import org.xml.sax.SAXNotRecognizedException;
106 } catch (SAXNotRecognizedException e) { in testGetSetFeature()
116 } catch (SAXNotRecognizedException e) { in testGetSetFeature()
131 } catch (SAXNotRecognizedException e) { in testGetSetProperty()
141 } catch (SAXNotRecognizedException e) { in testGetSetProperty()
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
DDriver.java28 import org.xml.sax.SAXNotRecognizedException;
170 throws SAXNotRecognizedException, SAXNotSupportedException in getFeature()
189 throws SAXNotRecognizedException, SAXNotSupportedException in setFeature()
219 throws SAXNotRecognizedException, SAXNotSupportedException in getProperty()
232 throws SAXNotRecognizedException, SAXNotSupportedException in setProperty()
/libcore/luni/src/test/java/libcore/xml/
DXmlToSax2DriverTest.java30 import org.xml.sax.SAXNotRecognizedException;
160 public void testGetSetFeature() throws SAXNotSupportedException, SAXNotRecognizedException { in testGetSetFeature()
183 } catch (SAXNotSupportedException | SAXNotRecognizedException e) { in testGetSetFeature()
232 } catch (SAXNotSupportedException | SAXNotRecognizedException e) { in testGetProperty()

12