Home
last modified time | relevance | path

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

123

/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPMetaParser.java28 import org.xml.sax.InputSource;
155 return parseInputSource(new InputSource(stream)); in parseXmlFromInputStream()
186 InputSource source = new InputSource(buffer.getByteStream()); in parseXmlFromBytebuffer()
209 return parseInputSource(new InputSource(fixReader)); in parseXmlFromBytebuffer()
218 source = new InputSource(buffer.getByteStream()); in parseXmlFromBytebuffer()
241 InputSource source = new InputSource(new StringReader(input)); in parseXmlFromString()
250 source = new InputSource(new FixASCIIControlsReader(new StringReader(input))); in parseXmlFromString()
267 private static Document parseInputSource(InputSource source) throws XMPException in parseInputSource()
/external/python/cpython2/Doc/library/
Dxml.sax.reader.rst53 .. class:: InputSource([systemId])
66 An :class:`InputSource` belongs to the application, the :class:`XMLReader` is
67 not allowed to modify :class:`InputSource` objects passed to it from the
104 name or a URL), a file-like object, or an :class:`InputSource` object. When
252 InputSource Objects
256 .. method:: InputSource.setPublicId(id)
258 Sets the public identifier of this :class:`InputSource`.
261 .. method:: InputSource.getPublicId()
263 Returns the public identifier of this :class:`InputSource`.
266 .. method:: InputSource.setSystemId(id)
[all …]
/external/python/cpython3/Doc/library/
Dxml.sax.reader.rst54 .. class:: InputSource(system_id=None)
67 An :class:`InputSource` belongs to the application, the :class:`XMLReader` is
68 not allowed to modify :class:`InputSource` objects passed to it from the
105 name or a URL), a file-like object, or an :class:`InputSource` object. When
255 InputSource Objects
259 .. method:: InputSource.setPublicId(id)
261 Sets the public identifier of this :class:`InputSource`.
264 .. method:: InputSource.getPublicId()
266 Returns the public identifier of this :class:`InputSource`.
269 .. method:: InputSource.setSystemId(id)
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DCachingEntityResolver.java32 import org.xml.sax.InputSource;
116 public InputSource resolveEntity(String publicId, String systemId) { in resolveEntity()
141 InputSource is = new InputSource(newUrl); in resolveEntity()
153 return new InputSource(systemId); in resolveEntity()
201 return new InputSource(aFile.getPath()); in resolveEntity()
231 return new InputSource(t.getPath()); in resolveEntity()
DXMLValidator.java28 import org.xml.sax.InputSource;
173 parse(new InputSource(docURI), filename); in run()
177 static Document parse(InputSource docSrc, String filename) { in parse()
DElementAttributeInfo.java15 import org.xml.sax.InputSource;
97 InputSource is = new InputSource(fis); in ElementAttributeInfo()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/
DLocalEntityResolver.java18 import org.xml.sax.InputSource;
32 public InputSource resolveEntity(final String publicId, String systemId) in resolveEntity()
42 return new InputSource(in); in resolveEntity()
DXMLSupport.java30 import org.xml.sax.InputSource;
76 return builder.parse(new InputSource(new StringReader(document))); in parse()
82 .parse(new InputSource(new ByteArrayInputStream(document))); in parse()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DIncrementalSAXSource.java25 import org.xml.sax.InputSource;
87 public void startParse(InputSource source) throws SAXException; in startParse()
/external/cldr/tools/java/org/unicode/cldr/icu/
DMapperUtils.java17 import org.xml.sax.InputSource;
47 InputSource is = new InputSource(fis); in parseFile()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTrAXFilter.java36 import org.xml.sax.InputSource;
108 public void parse (InputSource input) in parse()
189 parse(new InputSource(systemId)); in parse()
/external/python/cpython2/Lib/xml/sax/
D__init__.py22 from xmlreader import InputSource
47 inpsrc = InputSource()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateAttributeList.java34 import org.xml.sax.InputSource;
120 InputSource is = new InputSource(fis); in addFromDTD()
153 InputSource is = new InputSource(fis); in addFromFiles()
/external/python/cpython3/Lib/xml/sax/
D__init__.py22 from .xmlreader import InputSource
43 inpsrc = InputSource()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOM2Helper.java35 import org.xml.sax.InputSource;
133 public void parse(InputSource source) throws TransformerException in parse()
/external/python/cpython3/Lib/test/
Dtest_sax.py17 from xml.sax.xmlreader import InputSource, AttributesImpl, AttributesNSImpl
190 input = InputSource()
340 src = InputSource(self.file)
350 src = InputSource(self.file)
360 src = InputSource(self.file)
922 source = InputSource()
974 inpsrc = InputSource()
1091 parser.parse(InputSource(TEST_XMLFILE))
1106 parser.parse(InputSource(fname))
1116 inpsrc = InputSource()
[all …]
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/
DXmlDocumentationTest.java34 import org.xml.sax.InputSource;
113 return builder.parse(new InputSource(in)); in parse()
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DXPathExpressionImpl.java45 import org.xml.sax.InputSource;
272 public Object evaluate(InputSource source, QName returnType) in evaluate()
323 public String evaluate(InputSource source) in evaluate()
DXPathImpl.java41 import org.xml.sax.InputSource;
441 public Object evaluate(String expression, InputSource source, in evaluate()
519 public String evaluate(String expression, InputSource source) in evaluate()
/external/python/cpython2/Lib/test/
Dtest_sax.py16 from xml.sax.xmlreader import InputSource, AttributesImpl, AttributesNSImpl
172 input = InputSource()
314 src = InputSource(self.file)
324 src = InputSource(self.file)
720 inpsrc = InputSource()
820 parser.parse(InputSource(TEST_XMLFILE))
835 parser.parse(InputSource(fname))
845 inpsrc = InputSource()
938 source = InputSource()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlPolicyBuilderFuzzerTest.java42 import org.xml.sax.InputSource;
125 new InputSource(new StringReader(html)), "body"); in testFuzzedOutput()
DBenchmark.java37 import org.xml.sax.InputSource;
128 Node node = parser.parse(new InputSource(new StringReader(html))); in parseUsingLibhtmlparser()
/external/llvm/tools/llvm-mcmarkup/
Dllvm-mcmarkup.cpp148 StringRef InputSource = Buffer->getBuffer(); in parseMCMarkup() local
153 MarkupLexer Lex(InputSource); in parseMCMarkup()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/coverage/
DJacocoReportCheck.java32 import org.xml.sax.InputSource;
148 public InputSource resolveEntity(String publicId, String systemId) { in parseReport()
149 return new InputSource(new StringReader("")); in parseReport()
/external/testng/src/main/java/org/testng/xml/
DTestNGContentHandler.java12 import org.xml.sax.InputSource;
92 public InputSource resolveEntity(String systemId, String publicId) in resolveEntity()
94 InputSource result = null; in resolveEntity()
107 result = new InputSource(is); in resolveEntity()
111 result = new InputSource(is); in resolveEntity()

123