Home
last modified time | relevance | path

Searched refs:InputSource (Results 1 – 25 of 53) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/
DInputSourceTest.java26 import org.xml.sax.InputSource;
31 InputSource i = new InputSource(); in testInputSource()
41 InputSource i = new InputSource("Foo"); in testInputSourceString()
54 InputSource i = new InputSource(bais); in testInputSourceInputStream()
63 i = new InputSource((InputStream)null); in testInputSourceInputStream()
76 InputSource i = new InputSource(sr); in testInputSourceReader()
85 i = new InputSource((Reader)null); in testInputSourceReader()
95 InputSource i = new InputSource(); in testSetPublicIdGetPublicId()
105 InputSource i = new InputSource(); in testSetSystemIdGetSystemId()
117 InputSource i = new InputSource(); in testSetByteStreamGetByteStream()
[all …]
/libcore/luni/src/main/java/javax/xml/transform/sax/
DSAXSource.java24 import org.xml.sax.InputSource;
72 public SAXSource(XMLReader reader, InputSource inputSource) { in SAXSource()
89 public SAXSource(InputSource inputSource) { in SAXSource()
116 public void setInputSource(InputSource inputSource) { in setInputSource()
125 public InputSource getInputSource() { in getInputSource()
146 inputSource = new InputSource(systemId); in setSystemId()
176 private InputSource inputSource;
186 public static InputSource sourceToInputSource(Source source) { in sourceToInputSource()
192 InputSource isource = new InputSource(ss.getSystemId()); in sourceToInputSource()
/libcore/luni/src/main/java/javax/xml/parsers/
DSAXParser.java27 import org.xml.sax.InputSource;
130 InputSource input = new InputSource(is); in parse()
161 InputSource input = new InputSource(is); in parse()
186 InputSource input = new InputSource(is); in parse()
214 InputSource input = new InputSource(is); in parse()
241 InputSource input = new InputSource(uri); in parse()
265 InputSource input = new InputSource(uri); in parse()
296 InputSource input = new InputSource(escapedURI); in parse()
325 InputSource input = new InputSource(escapedURI); in parse()
346 public void parse(InputSource is, HandlerBase hb) in parse()
[all …]
DDocumentBuilder.java30 import org.xml.sax.InputSource;
106 InputSource in = new InputSource(is); in parse()
130 InputSource in = new InputSource(is); in parse()
154 InputSource in = new InputSource(uri); in parse()
182 InputSource in = new InputSource(escapedURI); in parse()
199 public abstract Document parse(InputSource is) in parse()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DMockResolver.java24 import org.xml.sax.InputSource;
32 private Map<String, InputSource> entities = new HashMap<String, InputSource>();
34 public void addEntity(String publicId, String systemId, InputSource source) { in addEntity()
42 public InputSource resolveEntity(String publicId, String systemId) in resolveEntity()
DNoSubclassParser.java23 import org.xml.sax.InputSource;
33 public void parse(InputSource source) { in parse()
DDoNothingParser.java23 import org.xml.sax.InputSource;
34 public void parse(InputSource source) { in parse()
DNoAccessParser.java23 import org.xml.sax.InputSource;
34 public void parse(InputSource source) { in parse()
DNoInstanceParser.java23 import org.xml.sax.InputSource;
37 public void parse(InputSource source) { in parse()
DDoNothingXMLReader.java23 import org.xml.sax.InputSource;
55 public void parse(InputSource input) { in parse()
DNoAccessXMLReader.java23 import org.xml.sax.InputSource;
55 public void parse(InputSource input) { in parse()
DNoInstanceXMLReader.java23 import org.xml.sax.InputSource;
58 public void parse(InputSource input) { in parse()
DNoSubclassXMLReader.java23 import org.xml.sax.InputSource;
55 public void parse(InputSource input) { in parse()
DMockParser.java26 import org.xml.sax.InputSource;
40 public void parse(InputSource source) throws SAXException, IOException { in parse()
/libcore/luni/src/main/java/org/xml/sax/
DInputSource.java60 public class InputSource { class
71 public InputSource () in InputSource() method in InputSource
93 public InputSource (String systemId) in InputSource() method in InputSource
114 public InputSource (InputStream byteStream) in InputSource() method in InputSource
135 public InputSource (Reader characterStream) in InputSource() method in InputSource
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathExpression.java22 import org.xml.sax.InputSource;
160 public Object evaluate(InputSource source, QName returnType) in evaluate()
183 public String evaluate(InputSource source) in evaluate()
DXPath.java23 import org.xml.sax.InputSource;
271 InputSource source, in evaluate()
297 public String evaluate(String expression, InputSource source) in evaluate()
/libcore/luni/src/main/java/org/xml/sax/ext/
DEntityResolver2.java10 import org.xml.sax.InputSource;
133 public InputSource getExternalSubset (String name, String baseURI) in getExternalSubset()
190 public InputSource resolveEntity ( in resolveEntity()
DDefaultHandler2.java9 import org.xml.sax.InputSource;
116 public InputSource getExternalSubset (String name, String baseURI) in getExternalSubset()
154 public InputSource resolveEntity (String name, String publicId, in resolveEntity()
182 public InputSource resolveEntity (String publicId, String systemId) in resolveEntity()
/libcore/luni/src/test/java/libcore/xml/
DDeclarationTest.java21 import org.xml.sax.InputSource;
49 InputSource inputSourceA = new InputSource(systemIdA); in setUp()
55 InputSource inputSourceB = new InputSource(systemIdB); in setUp()
DExpatSaxParserTest.java36 import org.xml.sax.InputSource;
367 reader.parse(new InputSource(in)); in runDtdTest()
468 reader.parse(new InputSource(in)); in testCdata()
505 reader.parse(new InputSource(in)); in testProcessingInstructions()
529 public InputSource resolveEntity(String publicId, String systemId) in testExternalEntity()
532 return new InputSource(new StringReader("<a/>")); in testExternalEntity()
539 InputSource inputSource = new InputSource( in testExternalEntity()
580 reader.parse(new InputSource(in)); in testExternalEntity()
595 @Override public InputSource resolveEntity(String publicId, String systemId) in testExternalEntityDownload()
599 return new InputSource(systemId); in testExternalEntityDownload()
[all …]
DJaxenXPathTestSuite.java26 import org.xml.sax.InputSource;
91 InputSource inputSource = new InputSource("file:" + jaxenHome + "/" + url); in suite()
104 InputSource inputSource, Element element) { in contextToTestSuite()
218 private final InputSource inputSource;
222 Context(InputSource inputSource, String url, String select) {
/libcore/ojluni/src/main/java/java/util/
DXMLUtils.java105 InputSource is = new InputSource(in); in getLoadingDoc()
189 public InputSource resolveEntity(String pid, String sid) in resolveEntity()
193 InputSource is; in resolveEntity()
194 is = new InputSource(new StringReader(PROPS_DTD)); in resolveEntity()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserTest.java28 import org.xml.sax.InputSource;
405 InputSource is = new InputSource(new FileInputStream(list_wf[i])); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler()
413 InputSource is = new InputSource(new FileInputStream(file)); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler()
422 parser.parse((InputSource) null, dh); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler()
427 InputSource is = new InputSource(new FileInputStream(list_wf[0])); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler()
433 is = new InputSource(in); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler()
446 InputSource is = new InputSource(new FileInputStream(list_wf[i])); in testParseInputSourceHandlerBase()
454 InputSource is = new InputSource(new FileInputStream(file)); in testParseInputSourceHandlerBase()
463 parser.parse((InputSource) null, dh); in testParseInputSourceHandlerBase()
468 InputSource is = new InputSource(new FileInputStream(list_wf[0])); in testParseInputSourceHandlerBase()
[all …]
DDocumentBuilderTest.java31 import org.xml.sax.InputSource;
95 public Document parse(InputSource is) throws SAXException, IOException { in parse()
363 InputSource is = new InputSource(stream); in testParseInputSource()
384 db.parse((InputSource)null); in testParseInputSource()
396 db.parse(new InputSource(new FileInputStream("_"))); in testParseInputSource()
406 is = new InputSource(getClass().getResourceAsStream("/wrong.xml")); in testParseInputSource()
534 resolver.addEntity("foo", "foo", new InputSource(entity)); in testReset()
610 resolver.addEntity("foo", "foo", new InputSource(entity)); in testSetEntityResolver()

123