Home
last modified time | relevance | path

Searched refs:setFeature (Results 1 – 25 of 40) sorted by relevance

12

/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DSAXParserFactoryImpl.java87 public void setFeature(String name, boolean value) throws SAXNotRecognizedException { in setFeature() method in SAXParserFactoryImpl
107 setFeature(NAMESPACES, value); in setNamespaceAware()
116 setFeature(VALIDATION, value); in setValidating()
DDocumentBuilderFactoryImpl.java90 public void setFeature(String name, boolean value) in setFeature() method in DocumentBuilderFactoryImpl
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserFactoryTest.java180 spf.setFeature(features[i], true); in test_setFeatureLjava_lang_StringZ()
182 spf.setFeature(features[i], false); in test_setFeatureLjava_lang_StringZ()
194 spf.setFeature("", true); in test_setFeatureLjava_lang_StringZ()
207 spf.setFeature("http://xml.org/sax/features/unknown-feature", true); in test_setFeatureLjava_lang_StringZ()
219 spf.setFeature(null, true); in test_setFeatureLjava_lang_StringZ()
400 public void setFeature(String name, boolean value) throws in setFeature() method in SAXParserFactoryTest.MySAXParserFactory
DDocumentBuilderFactoryTest.java495 dbf.setFeature(features[i], true); in test_getSetFeatureLjava_lang_String()
504 dbf.setFeature(features[i], false); in test_getSetFeatureLjava_lang_String()
513 dbf.setFeature(null, false); in test_getSetFeatureLjava_lang_String()
525 dbf.setFeature(badFeatures[i], false); in test_getSetFeatureLjava_lang_String()
971 public void setFeature(String name, boolean value) { in setFeature() method in DocumentBuilderFactoryTest.DocumentBuilderFactoryChild
/libcore/luni/src/test/java/libcore/xml/
DPullParserTest.java29 parser.setFeature("http://xmlpull.org/v1/doc/features.html#relaxed", true); in testAttributeNoValueWithRelaxed()
39 parser.setFeature("http://xmlpull.org/v1/doc/features.html#relaxed", true); in testAttributeUnquotedValueWithRelaxed()
49 parser.setFeature("http://xmlpull.org/v1/doc/features.html#relaxed", true); in testUnterminatedEntityWithRelaxed()
61 parser.setFeature("http://xmlpull.org/v1/doc/features.html#process-namespaces", true); in testEntitiesAndNamespaces()
69 parser.setFeature("http://xmlpull.org/v1/doc/features.html#process-namespaces", true); in testEntitiesAndNamespacesWithRelaxed()
70 parser.setFeature("http://xmlpull.org/v1/doc/features.html#relaxed", true); in testEntitiesAndNamespacesWithRelaxed()
230 parser.setFeature("http://xmlpull.org/v1/doc/features.html#relaxed", true); in testMissingEntitiesWithRelaxed()
247 parser.setFeature("http://xmlpull.org/v1/doc/features.html#relaxed", true); in testMissingEntitiesUsingNextTokenWithRelaxed()
275 parser.setFeature("http://xmlpull.org/v1/doc/features.html#relaxed", true); in testMissingEntitiesInAttributesUsingNextWithRelaxed()
292 parser.setFeature("http://xmlpull.org/v1/doc/features.html#relaxed", true); in testMissingEntitiesInAttributesUsingNextTokenWithRelaxed()
[all …]
DXmlPullParserFactoryTest.java92 tf.setFeature("foo", false); in testSetFeature_setsFeatureOnlyIfTrue()
127 public void setFeature(String name, boolean state) { in setFeature() method in XmlPullParserFactoryTest.XmlParserThatHatesAllFeatures
140 public void setFeature(String name, boolean state) throws IllegalArgumentException, in setFeature() method in XmlPullParserFactoryTest.XmlSerializerStub
229 public void setFeature(String name, boolean state) throws XmlPullParserException { in setFeature() method in XmlPullParserFactoryTest.XmlPullParserStub
DNamespacedAttributesLookupTest.java103 reader.setFeature(SAX_PROPERTY_NS, namespace); in getStartElements()
104 reader.setFeature(SAX_PROPERTY_NS_PREFIXES, namespacePrefixes); in getStartElements()
DKxmlPullParserDtdTest.java26 result.setFeature(XmlPullParser.FEATURE_PROCESS_DOCDECL, true); in newPullParser()
DSaxTest.java189 reader.setFeature(feature, false); in testDisableExternalEntities()
207 reader.setFeature("http://xml.org/sax/features/namespace-prefixes", prefixes); in parse()
208 reader.setFeature("http://xml.org/sax/features/namespaces", namespaces); in parse()
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
DDriver.java188 public void setFeature (String name, boolean value) in setFeature() method in Driver
193 pp.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, value); in setFeature()
196 pp.setFeature(XmlPullParser.FEATURE_REPORT_NAMESPACE_ATTRIBUTES, value); in setFeature()
199 pp.setFeature(XmlPullParser.FEATURE_VALIDATION, value); in setFeature()
210 pp.setFeature(name, value); in setFeature()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParserFactory.java54 public void setFeature(String name, boolean state) throws XmlPullParserException { in setFeature() method in XmlPullParserFactory
132 pp.setFeature(entry.getKey(), entry.getValue()); in newPullParser()
/libcore/luni/src/main/java/org/xml/sax/
DXMLReader.java152 public void setFeature (String name, boolean value) in setFeature() method
/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderAdapter.java236 xmlReader.setFeature("http://xml.org/sax/features/namespace-prefixes", true); in setupXMLReader()
238 xmlReader.setFeature("http://xml.org/sax/features/namespaces", in setupXMLReader()
DXMLFilterImpl.java150 public void setFeature (String name, boolean value) in setFeature() method in XMLFilterImpl
154 parent.setFeature(name, value); in setFeature()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DNoAccessXMLReader.java73 public void setFeature(String name, boolean value) { in setFeature() method in NoAccessXMLReader
DNoInstanceXMLReader.java76 public void setFeature(String name, boolean value) { in setFeature() method in NoInstanceXMLReader
DDoNothingXMLReader.java73 public void setFeature(String name, boolean value) { in setFeature() method in DoNothingXMLReader
DNoSubclassXMLReader.java73 public void setFeature(String name, boolean value) { in setFeature() method in NoSubclassXMLReader
DMockFilter.java61 public void setFeature(String name, boolean value) { in setFeature() method in MockFilter
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DParserAdapterTest.java116 adapter.setFeature(s, true); in testGetSetFeature()
119 adapter.setFeature(s, false); in testGetSetFeature()
127 adapter.setFeature("http://argle.bargle", true); in testGetSetFeature()
/libcore/luni/src/main/java/javax/xml/validation/
DValidatorHandler.java384 …public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupport… in setFeature() method in ValidatorHandler
DValidator.java376 …public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupport… in setFeature() method in Validator
/libcore/luni/src/main/java/javax/xml/transform/
DTransformerFactory.java264 public abstract void setFeature(String name, boolean value) in setFeature() method in TransformerFactory
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactory.java228 public abstract void setFeature(String name, boolean value) in setFeature() method in XPathFactory
/libcore/luni/src/main/java/javax/xml/parsers/
DSAXParserFactory.java217 public abstract void setFeature(String name, boolean value) in setFeature() method in SAXParserFactory

12