1 57 58 package com.sun.org.apache.xerces.internal.dom; 59 60 68 public class DeferredProcessingInstructionImpl 69 extends ProcessingInstructionImpl 70 implements DeferredNode { 71 72 76 77 static final long serialVersionUID = -4643577954293565388L; 78 79 83 84 protected transient int fNodeIndex; 85 86 90 94 DeferredProcessingInstructionImpl(DeferredDocumentImpl ownerDocument, 95 int nodeIndex) { 96 super(ownerDocument, null, null); 97 98 fNodeIndex = nodeIndex; 99 needsSyncData(true); 100 101 } 103 107 108 public int getNodeIndex() { 109 return fNodeIndex; 110 } 111 112 116 117 protected void synchronizeData() { 118 119 needsSyncData(false); 121 122 DeferredDocumentImpl ownerDocument = 124 (DeferredDocumentImpl) this.ownerDocument(); 125 target = ownerDocument.getNodeName(fNodeIndex); 126 data = ownerDocument.getNodeValueString(fNodeIndex); 127 128 } 130 } | Popular Tags |