Home
last modified time | relevance | path

Searched refs:getText (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/xml/
DPullParserTest.java56 assertEquals("mac&cheese", parser.getText()); in testUnterminatedEntityWithRelaxed()
97 assertEquals("A", parser.getText()); in testRegularNumericEntities()
122 parser.getText()); in testCharacterReferenceOfUtf16Surrogates()
131 assertEquals(new String(new int[]{0x10FFFF}, 0, 1), parser.getText()); in testCharacterReferenceOfLastUtf16Surrogate()
164 assertEquals("d\ne", parser.getText()); in testLineEndings()
194 assertEquals("wxbyz", parser.getText()); in testCustomEntitiesUsingNext()
205 assertEquals("wx", parser.getText()); in testCustomEntitiesUsingNextToken()
208 assertEquals("b", parser.getText()); in testCustomEntitiesUsingNextToken()
210 assertEquals("yz", parser.getText()); in testCustomEntitiesUsingNextToken()
221 assertEquals("& &a;", parser.getText()); in testCustomEntitiesAreNotEvaluated()
[all …]
DPullParserDtdTest.java66 assertEquals("aaa", parser.getText()); in testGeneralAndParameterEntityWithTheSameName()
78 assertEquals("android", parser.getText()); in testInternalEntities()
100 assertEquals("android", parser.getText()); in testExternalAndInternalDtd()
112 assertEquals("A", parser.getText()); in testInternalEntitiesAreParsed()
124 assertEquals("&", parser.getText()); in testFoolishlyRecursiveInternalEntities()
146 + "(&).", parser.getText()); in testExpansionOfEntityAndCharacterReferences()
161 assertEquals("android", parser.getText()); in testGeneralEntitiesAreStoredUnresolved()
173 assertEquals("a", parser.getText()); in testStructuredEntityAndNextToken()
176 assertEquals("", parser.getText()); in testStructuredEntityAndNextToken()
180 assertEquals("baz", parser.getText()); in testStructuredEntityAndNextToken()
[all …]
DXmlPullParserFactoryTest.java294 public String getText() { in getText() method in XmlPullParserFactoryTest.XmlPullParserStub
/libcore/ojluni/src/main/java/java/text/
DIcuIteratorWrapper.java334 CharacterIterator text = getText(); in following()
350 CharacterIterator text = getText(); in preceding()
364 CharacterIterator text = getText(); in isBoundary()
386 public CharacterIterator getText() { in getText() method in IcuIteratorWrapper
387 return wrapped.getText(); in getText()
DBreakIterator.java413 public abstract CharacterIterator getText(); in getText() method in BreakIterator
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DBreakIteratorTest.java220 assertEquals(new StringCharacterIterator(""), iterator.getText()); in testGetText()
222 assertEquals(new StringCharacterIterator(TEXT), iterator.getText()); in testGetText()
252 assertSame(it, iterator.getText()); in testSetTextCharacterIterator()
266 assertEquals(it, iterator.getText()); in testSetTextString()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java195 String text = parser.getText(); in parse()
216 node.appendChild(document.createComment(parser.getText())); in parse()
225 appendText(document, node, token, parser.getText()); in parse()
233 appendText(document, node, token, parser.getText()); in parse()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java141 public String getText(TemporalField field, long value, TextStyle style, Locale locale) { in getText() method in DateTimeTextProvider
144 return ((LocaleStore) store).getText(value, style); in getText()
164 public String getText(Chronology chrono, TemporalField field, long value, in getText() method in DateTimeTextProvider
168 return getText(field, value, style, locale); in getText()
568 String getText(long value, TextStyle style) { in getText() method in DateTimeTextProvider.LocaleStore
DDateTimeFormatterBuilder.java783 public String getText(TemporalField field, long value, TextStyle style, Locale locale) { in appendText()
784 return store.getText(value, style); in appendText()
3107 text = provider.getText(field, value, textStyle, context.getLocale()); in format()
3109 text = provider.getText(chrono, field, value, textStyle, context.getLocale()); in format()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParser.java711 String getText (); in getText() method
/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlParser.java1899 buf.append(getText()); in getPositionDescription()
1903 String text = getText(); in getPositionDescription()
1950 public String getText() { in getText() method in KXmlParser
1961 String text = getText(); in getTextCharacters()
2081 result = getText(); in nextText()