1 16 17 package org.apache.xerces.dom; 18 19 46 public class DeferredCDATASectionImpl 47 extends CDATASectionImpl 48 implements DeferredNode { 49 50 54 55 static final long serialVersionUID = 1983580632355645726L; 56 57 61 62 protected transient int fNodeIndex; 63 64 68 72 DeferredCDATASectionImpl(DeferredDocumentImpl ownerDocument, int nodeIndex) { 73 super(ownerDocument, null); 74 75 fNodeIndex = nodeIndex; 76 needsSyncData(true); 77 78 } 80 84 85 public int getNodeIndex() { 86 return fNodeIndex; 87 } 88 89 93 94 protected void synchronizeData() { 95 96 needsSyncData(false); 98 99 DeferredDocumentImpl ownerDocument = 101 (DeferredDocumentImpl) this.ownerDocument(); 102 data = ownerDocument.getNodeValueString(fNodeIndex); 103 104 } 106 } | Popular Tags |