1 57 58 package org.enhydra.apache.xerces.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, int nodeIndex) { 95 super(ownerDocument, null, null); 96 97 fNodeIndex = nodeIndex; 98 needsSyncData(true); 99 100 } 102 106 107 public int getNodeIndex() { 108 return fNodeIndex; 109 } 110 111 115 116 protected void synchronizeData() { 117 118 needsSyncData(false); 120 121 DeferredDocumentImpl ownerDocument = 123 (DeferredDocumentImpl) this.ownerDocument(); 124 target = ownerDocument.getNodeNameString(fNodeIndex); 125 data = ownerDocument.getNodeValueString(fNodeIndex); 126 127 } 129 } | Popular Tags |