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/luni/src/main/java/java/text/
DRuleBasedBreakIterator.java51 CharacterIterator it = wrapped.getText(); in checkOffset()
58 @Override public CharacterIterator getText() { in getText() method in RuleBasedBreakIterator
59 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.java194 String text = parser.getText(); in parse()
215 node.appendChild(document.createComment(parser.getText())); in parse()
224 appendText(document, node, token, parser.getText()); in parse()
232 appendText(document, node, token, parser.getText()); in parse()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParser.java711 String getText (); in getText() method
/libcore/luni/src/main/java/libcore/icu/
DNativeBreakIterator.java92 public CharacterIterator getText() { in getText() method in NativeBreakIterator
/libcore/benchmarks/src/benchmarks/regression/
DParseBenchmark.java199 xmlParser.getText(); in parse()
/libcore/xml/src/main/java/org/kxml2/io/
DKXmlParser.java1897 buf.append(getText()); in getPositionDescription()
1901 String text = getText(); in getPositionDescription()
1948 public String getText() { in getText() method in KXmlParser
1959 String text = getText(); in getTextCharacters()
2079 result = getText(); in nextText()