Home
last modified time | relevance | path

Searched refs:Text (Results 1 – 25 of 62) sorted by relevance

123

/libcore/luni/src/test/java/tests/org/w3c/dom/
DNodeNormalize.java28 import org.w3c.dom.Text;
99 Text text1; in testNormalize()
100 Text text2; in testNormalize()
101 Text text3; in testNormalize()
133 text1 = (Text) text1.cloneNode(false); in testNormalize()
134 text2 = (Text) text2.cloneNode(false); in testNormalize()
139 text1 = (Text) text1.cloneNode(false); in testNormalize()
140 text2 = (Text) text2.cloneNode(false); in testNormalize()
145 text2 = (Text) text2.cloneNode(false); in testNormalize()
146 text3 = (Text) text3.cloneNode(false); in testNormalize()
[all …]
DHCNodeDocumentFragmentNormalize.java6 import org.w3c.dom.Text;
53 Text txtNode; in testNodeDocumentFragmentNormalize1()
63 txtNode = (Text) docFragment.getFirstChild(); in testNodeDocumentFragmentNormalize1()
72 Text txtNode; in testNodeDocumentFragmentNormalize2()
79 txtNode = (Text) docFragment.getFirstChild(); in testNodeDocumentFragmentNormalize2()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Dnodenormalize01.java82 Text text1; in runTest()
83 Text text2; in runTest()
84 Text text3; in runTest()
115 text1 = (Text) text1.cloneNode(false); in runTest()
116 text2 = (Text) text2.cloneNode(false); in runTest()
121 text1 = (Text) text1.cloneNode(false); in runTest()
122 text2 = (Text) text2.cloneNode(false); in runTest()
127 text2 = (Text) text2.cloneNode(false); in runTest()
128 text3 = (Text) text3.cloneNode(false); in runTest()
133 text2 = (Text) text2.cloneNode(false); in runTest()
[all …]
Dhc_nodedocumentfragmentnormalize2.java62 Text txtNode; in runTest()
69 txtNode = (Text) docFragment.getFirstChild(); in runTest()
/libcore/luni/src/main/java/org/w3c/dom/
DText.java40 public interface Text extends CharacterData { interface
58 public Text splitText(int offset) in splitText()
123 public Text replaceWholeText(String content) in replaceWholeText()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DTextImpl.java21 import org.w3c.dom.Text;
33 public class TextImpl extends CharacterDataImpl implements Text {
49 public final Text splitText(int offset) throws DOMException { in splitText()
50 Text newText = document.createTextNode( in splitText()
84 public final Text replaceWholeText(String content) throws DOMException { in replaceWholeText()
90 Text result = null; in replaceWholeText()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dhc_attrchildnodes2.java64 Text textNode; in runTest()
76 textNode = (Text) childNodes.item(0); in runTest()
79 textNode = (Text) childNodes.item(1); in runTest()
82 textNode = (Text) childNodes.item(2); in runTest()
Dtextsplittexttwo.java70 Text textNode; in runTest()
71 Text splitNode; in runTest()
76 textNode = (Text) nameNode.getFirstChild(); in runTest()
Dtextsplittextthree.java71 Text textNode; in runTest()
72 Text splitNode; in runTest()
77 textNode = (Text) nameNode.getFirstChild(); in runTest()
Dhc_textsplittextfour.java68 Text textNode; in runTest()
69 Text splitNode; in runTest()
74 textNode = (Text) addressNode.getFirstChild(); in runTest()
Dtextsplittextfour.java69 Text textNode; in runTest()
70 Text splitNode; in runTest()
75 textNode = (Text) addressNode.getFirstChild(); in runTest()
Dhc_textsplittexttwo.java69 Text textNode; in runTest()
70 Text splitNode; in runTest()
75 textNode = (Text) nameNode.getFirstChild(); in runTest()
Dhc_textsplittextthree.java70 Text textNode; in runTest()
71 Text splitNode; in runTest()
76 textNode = (Text) nameNode.getFirstChild(); in runTest()
Dtextindexsizeerroffsetoutofbounds.java72 Text textNode; in runTest()
73 Text splitNode; in runTest()
77 textNode = (Text) nameNode.getFirstChild(); in runTest()
Dhc_textindexsizeerroffsetoutofbounds.java71 Text textNode; in runTest()
72 Text splitNode; in runTest()
76 textNode = (Text) nameNode.getFirstChild(); in runTest()
Dtextsplittextone.java70 Text textNode; in runTest()
71 Text splitNode; in runTest()
77 textNode = (Text) nameNode.getFirstChild(); in runTest()
Dhc_textsplittextone.java69 Text textNode; in runTest()
70 Text splitNode; in runTest()
76 textNode = (Text) nameNode.getFirstChild(); in runTest()
Dhc_attrchildnodes1.java65 Text textNode; in runTest()
74 textNode = (Text) childNodes.item(0); in runTest()
77 textNode = (Text) childNodes.item(1); in runTest()
Dhc_textindexsizeerrnegativeoffset.java75 Text textNode; in runTest()
76 Text splitNode; in runTest()
80 textNode = (Text) nameNode.getFirstChild(); in runTest()
Dtextindexsizeerrnegativeoffset.java76 Text textNode; in runTest()
77 Text splitNode; in runTest()
81 textNode = (Text) nameNode.getFirstChild(); in runTest()
DtextsplittextnomodificationallowederrEE.java65 Text splitNode; in runTest()
75 splitNode = ((Text) /*Node */entText).splitText(2); in runTest()
Dattrremovechild1.java63 Text textNode; in runTest()
71 textNode = (Text) attrNode.getFirstChild(); in runTest()
/libcore/benchmarks/src/benchmarks/regression/
DBreakIteratorBenchmark.java25 public static enum Text { enum in BreakIteratorBenchmark
42 Text(Locale locale, String text) { in Text() method in BreakIteratorBenchmark.Text
48 @Param private Text text;
/libcore/luni/src/test/java/libcore/xml/
DDomTest.java58 import org.w3c.dom.Text;
109 private Text waffles;
111 private Text descriptionText1;
113 private Text descriptionText3;
123 private Text vitamincText;
152 waffles = (Text) name.getChildNodes().item(0); in setUp()
154 descriptionText1 = (Text) description.getChildNodes().item(0); in setUp()
156 descriptionText3 = (Text) description.getChildNodes().item(2); in setUp()
166 vitamincText = (Text) vitaminc.getChildNodes().item(0); in setUp()
649 Text text = (Text) factory.newDocumentBuilder() in testIsElementContentWhitespaceWithoutDeclaration()
[all …]
DSimpleBuilderTest.java28 import org.w3c.dom.Text;
47 String result = (node instanceof Text ? ((Text) node).getData() : ""); in getTextContent()

123