1 57 58 package com.sun.org.apache.xerces.internal.dom; 59 60 76 public class DeferredTextImpl 77 extends TextImpl 78 implements DeferredNode { 79 80 84 85 static final long serialVersionUID = 2310613872100393425L; 86 87 91 92 protected transient int fNodeIndex; 93 94 98 102 DeferredTextImpl(DeferredDocumentImpl ownerDocument, int nodeIndex) { 103 super(ownerDocument, null); 104 105 fNodeIndex = nodeIndex; 106 needsSyncData(true); 107 108 } 110 114 115 public int getNodeIndex() { 116 return fNodeIndex; 117 } 118 119 123 124 protected void synchronizeData() { 125 126 needsSyncData(false); 128 129 DeferredDocumentImpl ownerDocument = 131 (DeferredDocumentImpl) this.ownerDocument(); 132 data = ownerDocument.getNodeValueString(fNodeIndex); 133 134 138 isIgnorableWhitespace(ownerDocument.getNodeExtra(fNodeIndex) == 1); 140 141 } 143 } | Popular Tags |