Searched refs:inputSource (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/main/java/javax/xml/transform/sax/ |
D | SAXSource.java | 72 public SAXSource(XMLReader reader, InputSource inputSource) { in SAXSource() argument 74 this.inputSource = inputSource; in SAXSource() 89 public SAXSource(InputSource inputSource) { in SAXSource() argument 90 this.inputSource = inputSource; in SAXSource() 116 public void setInputSource(InputSource inputSource) { in setInputSource() argument 117 this.inputSource = inputSource; in setInputSource() 126 return inputSource; in getInputSource() 145 if (null == inputSource) { in setSystemId() 146 inputSource = new InputSource(systemId); in setSystemId() 148 inputSource.setSystemId(systemId); in setSystemId() [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
D | JaxenXPathTestSuite.java | 91 InputSource inputSource = new InputSource("file:" + jaxenHome + "/" + url); in suite() local 93 contextToTestSuite(result, url, inputSource, context); in suite() 104 InputSource inputSource, Element element) { in contextToTestSuite() argument 120 Context context = new Context(inputSource, url, select); in contextToTestSuite() 218 private final InputSource inputSource; 222 Context(InputSource inputSource, String url, String select) { 223 this.inputSource = inputSource; 231 return (Node) xpath.evaluate(select, inputSource, XPathConstants.NODE);
|
D | ExpatSaxParserTest.java | 539 InputSource inputSource = new InputSource( in testExternalEntity() local 541 inputSource.setEncoding("utf-8"); in testExternalEntity() 542 return inputSource; in testExternalEntity()
|
D | DomTest.java | 1685 InputSource inputSource = new InputSource(new ByteArrayInputStream(xml)); in testBomAndByteInputWithExplicitCharset() local 1686 inputSource.setEncoding("UTF-8"); in testBomAndByteInputWithExplicitCharset() 1687 document = builder.parse(inputSource); in testBomAndByteInputWithExplicitCharset() 1692 InputSource inputSource = new InputSource(new StringReader("\ufeff<input/>")); in testBomAndCharacterInput() local 1693 inputSource.setEncoding("UTF-8"); in testBomAndCharacterInput() 1695 builder.parse(inputSource); in testBomAndCharacterInput()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatParser.java | 294 InputSource inputSource = entityResolver.resolveEntity( in handleExternalEntity() local 296 if (inputSource == null) { in handleExternalEntity() 315 String encoding = pickEncoding(inputSource); in handleExternalEntity() 319 pointer, inputSource.getPublicId(), in handleExternalEntity() 320 inputSource.getSystemId()); in handleExternalEntity() 322 parseExternalEntity(entityParser, inputSource); in handleExternalEntity() 331 private String pickEncoding(InputSource inputSource) { in pickEncoding() argument 332 Reader reader = inputSource.getCharacterStream(); in pickEncoding() 337 String encoding = inputSource.getEncoding(); in pickEncoding() 345 InputSource inputSource) throws IOException, SAXException { in parseExternalEntity() argument [all …]
|