/dalvik/libcore/xml/src/main/java/javax/xml/parsers/ |
H A D | DocumentBuilder.java | 49 * implementation use a SAX parser to parse XML document into a 99 * @exception SAXException If any parse errors occur. 103 public Document parse(InputStream is) method in class:DocumentBuilder 110 return parse(in); 123 * @exception SAXException If any parse errors occur. 127 public Document parse(InputStream is, String systemId) method in class:DocumentBuilder 135 return parse(in); 147 * @exception SAXException If any parse errors occur. 151 public Document parse(String uri) method in class:DocumentBuilder 158 return parse(i 174 public Document parse(File f) throws SAXException, IOException { method in class:DocumentBuilder 202 public abstract Document parse(InputSource is) method in class:DocumentBuilder [all...] |
H A D | SAXParser.java | 120 * @throws SAXException If parse produces a SAX error. 126 public void parse(InputStream is, HandlerBase hb) method in class:SAXParser 133 this.parse(input, hb); 154 public void parse( method in class:SAXParser 165 this.parse(input, hb); 182 public void parse(InputStream is, DefaultHandler dh) method in class:SAXParser 189 this.parse(input, dh); 207 public void parse( method in class:SAXParser 218 this.parse(input, dh); 237 public void parse(Strin method in class:SAXParser 261 public void parse(String uri, DefaultHandler dh) method in class:SAXParser 286 public void parse(File f, HandlerBase hb) method in class:SAXParser 315 public void parse(File f, DefaultHandler dh) method in class:SAXParser 348 public void parse(InputSource is, HandlerBase hb) method in class:SAXParser 379 public void parse(InputSource is, DefaultHandler dh) method in class:SAXParser [all...] |
/dalvik/libcore/xml/src/main/java/org/xml/sax/ |
H A D | Parser.java | 29 * and to initiate a parse from a URI, or a character stream.</p> 36 * once the first parse has completed successfully, but it may not 37 * invoke the parse() methods recursively within a parse.</p> 61 * not request a locale change in the middle of a parse.</p> 83 * in the middle of a parse, and the SAX parser must begin using 102 * handler in the middle of a parse, and the SAX parser must 121 * middle of a parse, and the SAX parser must begin using the new 140 * middle of a parse, and the SAX parser must begin using the new 158 * <p>Applications may not invoke this method while a parse i 178 public abstract void parse (InputSource source) method in interface:Parser 204 public abstract void parse (String systemId) method in interface:Parser [all...] |
H A D | XMLReader.java | 31 * a document parse.</p> 34 * {@link #parse parse} methods must not return until parsing 77 * contexts, such as before, during, or after a parse. 104 * // parse the first document 106 * r.parse("http://www.foo.com/mydoc.xml"); 138 * a parse.</p> 164 * contexts, such as before, during, or after a parse.</p> 194 * a parse.</p> 229 * middle of a parse, an 375 public void parse (InputSource input) method in interface:XMLReader 401 public void parse (String systemId) method in interface:XMLReader [all...] |
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
H A D | LevelTest.java | 184 * Test method parse, with the pre-defined string consts. 188 notes = "Verifies parse, with the pre-defined string consts.", 189 method = "parse", 193 assertSame(Level.SEVERE, Level.parse("SEVERE")); 194 assertSame(Level.WARNING, Level.parse("WARNING")); 195 assertSame(Level.INFO, Level.parse("INFO")); 196 assertSame(Level.CONFIG, Level.parse("CONFIG")); 197 assertSame(Level.FINE, Level.parse("FINE")); 198 assertSame(Level.FINER, Level.parse("FINER")); 199 assertSame(Level.FINEST, Level.parse("FINES [all...] |
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
H A D | DateTest.java | 32 * @tests java.util.Date#parse(String) 37 method = "parse", 43 assertEquals("Assert 0: parse failure", 44 -5400000, Date.parse("Sat, 1 Jan 1970 +0130 00:00:00")); 45 assertEquals("Assert 1: parse failure", 46 858600000, Date.parse("00:00:00 GMT +0130 Sat, 11 Jan 1970"));
|
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/support/ |
H A D | NoSubclassParser.java | 33 public void parse(InputSource source) { method in class:NoSubclassParser 36 public void parse(String systemId) { method in class:NoSubclassParser
|
H A D | DoNothingParser.java | 34 public void parse(InputSource source) { method in class:DoNothingParser 37 public void parse(String systemId) { method in class:DoNothingParser
|
H A D | DoNothingXMLReader.java | 55 public void parse(InputSource input) { method in class:DoNothingXMLReader 58 public void parse(String systemId) { method in class:DoNothingXMLReader
|
H A D | NoAccessParser.java | 34 public void parse(InputSource source) { method in class:NoAccessParser 37 public void parse(String systemId) { method in class:NoAccessParser
|
H A D | NoAccessXMLReader.java | 55 public void parse(InputSource input) { method in class:NoAccessXMLReader 58 public void parse(String systemId) { method in class:NoAccessXMLReader
|
H A D | NoInstanceParser.java | 37 public void parse(InputSource source) { method in class:NoInstanceParser 40 public void parse(String systemId) { method in class:NoInstanceParser
|
H A D | NoInstanceXMLReader.java | 58 public void parse(InputSource input) { method in class:NoInstanceXMLReader 61 public void parse(String systemId) { method in class:NoInstanceXMLReader
|
H A D | NoSubclassXMLReader.java | 55 public void parse(InputSource input) { method in class:NoSubclassXMLReader 58 public void parse(String systemId) { method in class:NoSubclassXMLReader
|
H A D | MockParser.java | 40 public void parse(InputSource source) throws SAXException, IOException { method in class:MockParser 41 logger.add("parse", source); 44 public void parse(String systemId) throws SAXException, IOException { method in class:MockParser 45 logger.add("parse", systemId);
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | DecimalFormatTestICU.java | 56 method = "parse", 105 method = "parse", 113 assertEquals(123, format.parse("xxxxxxxxx123.0").intValue()); 122 assertEquals(2, format.parse("\u00e72 o'clock").intValue()); 123 assertEquals(12, format.parse("12 o'clock").intValue()); 152 method = "parse", 161 assertEquals(100, format.parse("1E+2").intValue()); 162 assertEquals(0.01f, format.parse("1E-2").floatValue()); 166 assertEquals(100, format.parse("1E2 m/s").intValue()); 170 assertEquals(0.00123f, format.parse("12. [all...] |
H A D | SimpleDateFormatTest.java | 90 public void parse(String pattern, String input, Date expected, method in class:SimpleDateFormatTest.TestFormat 95 Date result = pFormat.parse(input, position); 752 * @tests java.text.SimpleDateFormat#parse(java.lang.String, 757 method = "parse", 764 // java.text.SimpleDateFormat.parse(java.lang.String, 772 test.parse("h", " 12", time, 1, 3); 773 test.parse("H", " 0", time, 1, 2); 774 test.parse("k", " 24", time, 1, 3); 775 test.parse("K", " 0", time, 1, 2); 779 test.parse(" [all...] |
H A D | ParseExceptionTest.java | 42 df.parse("HelloWorld"); 61 df.parse("1999HelloWorld");
|
/dalvik/libcore/xml/src/test/java/tests/api/javax/xml/parsers/ |
H A D | SAXParserTest.java | 221 // parser.parse(is, dh, ParsingSupport.XML_SYSTEM_ID); 238 // parser.parse(is, hb, ParsingSupport.XML_SYSTEM_ID); 341 * @test javax.xml.parsers.SAXParser#parse(java.io.File, 347 method = "parse", 357 parser.parse(list_wf[i], dh); 364 parser.parse(list_nwf[i], dh); 373 parser.parse((File) null, dh); 380 parser.parse(list_wf[0], (DefaultHandler) null); 389 method = "parse", 398 parser.parse(list_w [all...] |
H A D | DocumentBuilderTest.java | 95 * @see javax.xml.parsers.DocumentBuilder#parse(org.xml.sax.InputSource) 98 public Document parse(InputSource is) throws SAXException, IOException { method in class:DocumentBuilderTest.MockDocumentBuilder 271 method = "parse", 276 Document d = db.parse(f); 281 * @tests javax.xml.parsers.DocumentBuilder#parse(java.io.File) 282 * Case 1: Try to parse correct xml document. 283 * Case 2: Try to call parse() with null argument. 284 * Case 3: Try to parse a non-existent file. 285 * Case 4: Try to parse incorrect xml file. 290 method = "parse", [all...] |
/dalvik/libcore/xml/src/test/java/tests/xml/ |
H A D | SaxTest.java | 34 * Initiate and observe a SAX parse session. 39 parse(false, false, "<foo bar=\"baz\"/>", new DefaultHandler() { 52 parse(false, false, "<a:foo a:bar=\"baz\"/>", new DefaultHandler() { 67 parse(false, true, "<foo bar=\"baz\"/>", new DefaultHandler() { 80 parse(false, true, "<a:foo a:bar=\"baz\" xmlns:a=\"http://quux\"/>", new DefaultHandler() { 100 parse(true, true, "<foo bar=\"baz\"/>", new DefaultHandler() { 113 parse(true, true, "<a:foo a:bar=\"baz\" xmlns:a=\"http://quux\"/>", new DefaultHandler() { 131 parse(true, false, "<foo bar=\"baz\"/>", new DefaultHandler() { 144 parse(true, false, "<a:foo a:bar=\"baz\"/>", new DefaultHandler() { 158 private void parse(boolea method in class:SaxTest [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/ |
H A D | ExpatReader.java | 214 * middle of a parse, and the SAX parser must begin using the new 246 public void parse(InputSource input) throws IOException, SAXException { method in class:ExpatReader 264 parse(reader, input.getPublicId(), input.getSystemId()); 277 parse(in, encoding, input.getPublicId(), input.getSystemId()); 293 parse(in, encoding, input.getPublicId(), systemId); 299 private void parse(Reader in, String publicId, String systemId) method in class:ExpatReader 311 private void parse(InputStream in, String encoding, String publicId, method in class:ExpatReader 323 public void parse(String systemId) throws IOException, SAXException { method in class:ExpatReader 324 parse(new InputSource(systemId));
|
/dalvik/libcore/xml/src/main/java/org/kxml2/kdom/ |
H A D | Document.java | 79 XML structures, consider using Node.parse (). */ 81 public void parse(XmlPullParser parser) method in class:Document 90 super.parse(parser);
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
H A D | AttributeListParser.java | 30 /** {@code non-null;} the class file to parse from */ 49 /** {@code null-ok;} parse observer, if any */ 55 * @param cf {@code non-null;} class file to parse from 81 * Sets the parse observer for this instance. 111 * Runs {@link #parse} if it has not yet been run successfully. 115 parse(); 122 private void parse() { method in class:AttributeListParser 142 attributeFactory.parse(cf, context, at, observer);
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/transformer/ |
H A D | TrAXFilter.java | 51 * before you start a parse or do any configuration with 78 * <p>If there is no parent reader set, any attempt to parse 92 // it seems safer in case someone calls parse() on 106 * @see org.xml.sax.XMLReader#parse(org.xml.sax.InputSource) 108 public void parse (InputSource input) method in class:TrAXFilter 161 throw new org.xml.sax.SAXException(XSLMessages.createMessage(XSLTErrorResources.ER_CANNOT_CALL_PARSE, null)); //"parse can not be called if the ContentHandler has not been set!"); 164 getParent().parse(input); 184 * @see org.xml.sax.XMLReader#parse(java.lang.String) 186 public void parse (String systemId) method in class:TrAXFilter 189 parse(ne [all...] |