Home
last modified time | relevance | path

Searched refs:contentHandler (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLFilterImpl.java284 contentHandler = handler; in setContentHandler()
295 return contentHandler; in getContentHandler()
444 if (contentHandler != null) { in setDocumentLocator()
445 contentHandler.setDocumentLocator(locator); in setDocumentLocator()
459 if (contentHandler != null) { in startDocument()
460 contentHandler.startDocument(); in startDocument()
474 if (contentHandler != null) { in endDocument()
475 contentHandler.endDocument(); in endDocument()
491 if (contentHandler != null) { in startPrefixMapping()
492 contentHandler.startPrefixMapping(prefix, uri); in startPrefixMapping()
[all …]
DParserAdapter.java327 contentHandler = handler; in setContentHandler()
339 return contentHandler; in getContentHandler()
429 if (contentHandler != null) { in setDocumentLocator()
430 contentHandler.setDocumentLocator(locator); in setDocumentLocator()
446 if (contentHandler != null) { in startDocument()
447 contentHandler.startDocument(); in startDocument()
463 if (contentHandler != null) { in endDocument()
464 contentHandler.endDocument(); in endDocument()
490 if (contentHandler != null) { in startElement()
492 contentHandler.startElement("", "", qName.intern(), in startElement()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java144 ContentHandler contentHandler = xmlReader.contentHandler; in startElement() local
145 if (contentHandler == null) { in startElement()
154 contentHandler.startElement( in startElement()
165 ContentHandler contentHandler = xmlReader.contentHandler; in endElement() local
166 if (contentHandler != null) { in endElement()
167 contentHandler.endElement(uri, localName, qName); in endElement()
172 ContentHandler contentHandler = xmlReader.contentHandler; in text() local
173 if (contentHandler != null) { in text()
174 contentHandler.characters(text, 0, length); in text()
201 ContentHandler contentHandler = xmlReader.contentHandler; in startNamespace() local
[all …]
DExpatReader.java47 /*package*/ ContentHandler contentHandler; field in ExpatReader
190 this.contentHandler = handler; in setContentHandler()
194 return this.contentHandler; in getContentHandler()
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
DDriver.java68 protected ContentHandler contentHandler = new DefaultHandler(); field in Driver
259 this.contentHandler = handler; in setContentHandler()
262 public ContentHandler getContentHandler() { return contentHandler; } in getContentHandler()
274 contentHandler.setDocumentLocator(this); in parse()
319 contentHandler.startDocument(); in parse()
344 contentHandler.endDocument(); in parse()
379 contentHandler.startPrefixMapping( in parseSubTree()
406 contentHandler.characters(chars, in parseSubTree()
422 contentHandler.endElement(pp.getNamespace(), in parseSubTree()
434 contentHandler.endPrefixMapping( in parseSubTree()
[all …]
/libcore/luni/src/test/java/libcore/xml/
DExpatSaxParserTest.java63 ContentHandler contentHandler = new DefaultHandler() { in testExceptions() local
72 parse(SNIPPET, contentHandler); in testExceptions()
77 contentHandler = new DefaultHandler() { in testExceptions()
86 parse(SNIPPET, contentHandler); in testExceptions()
91 contentHandler = new DefaultHandler() { in testExceptions()
99 parse(SNIPPET, contentHandler); in testExceptions()
682 private static void parse(String xml, ContentHandler contentHandler) in parse() argument
686 reader.setContentHandler(contentHandler); in parse()
697 private static void parse(Reader in, ContentHandler contentHandler) in parse() argument
700 reader.setContentHandler(contentHandler); in parse()
[all …]
DSimpleParserTest.java61 parser.getXMLReader().setContentHandler(contentHandler); in setUp()
86 private final ContentHandler contentHandler = new ContentHandler() { field in SimpleParserTest
153 parser.getXMLReader().setContentHandler(contentHandler); in testWorkingFile1()
180 parser.getXMLReader().setContentHandler(contentHandler); in testWorkingFile2()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DMockReader.java43 private ContentHandler contentHandler; field in MockReader
62 return contentHandler; in getContentHandler()
96 this.contentHandler = handler; in setContentHandler()
/libcore/api/
Dcurrent.txt20381 field protected org.xml.sax.ContentHandler contentHandler;