1 57 58 package com.sun.org.apache.xerces.internal.dom; 59 60 85 public class DeferredCDATASectionImpl 86 extends CDATASectionImpl 87 implements DeferredNode { 88 89 93 94 static final long serialVersionUID = 1983580632355645726L; 95 96 100 101 protected transient int fNodeIndex; 102 103 107 111 DeferredCDATASectionImpl(DeferredDocumentImpl ownerDocument, int nodeIndex) { 112 super(ownerDocument, null); 113 114 fNodeIndex = nodeIndex; 115 needsSyncData(true); 116 117 } 119 123 124 public int getNodeIndex() { 125 return fNodeIndex; 126 } 127 128 132 133 protected void synchronizeData() { 134 135 needsSyncData(false); 137 138 DeferredDocumentImpl ownerDocument = 140 (DeferredDocumentImpl) this.ownerDocument(); 141 data = ownerDocument.getNodeValueString(fNodeIndex); 142 143 } 145 } | Popular Tags |