1 57 58 package com.sun.org.apache.xerces.internal.dom; 59 60 81 public class DeferredNotationImpl 82 extends NotationImpl 83 implements DeferredNode { 84 85 89 90 static final long serialVersionUID = 5705337172887990848L; 91 92 96 97 protected transient int fNodeIndex; 98 99 103 107 DeferredNotationImpl(DeferredDocumentImpl ownerDocument, int nodeIndex) { 108 super(ownerDocument, null); 109 110 fNodeIndex = nodeIndex; 111 needsSyncData(true); 112 113 } 115 119 120 public int getNodeIndex() { 121 return fNodeIndex; 122 } 123 124 128 132 protected void synchronizeData() { 133 134 needsSyncData(false); 136 137 DeferredDocumentImpl ownerDocument = 139 (DeferredDocumentImpl)this.ownerDocument(); 140 name = ownerDocument.getNodeName(fNodeIndex); 141 142 ownerDocument.getNodeType(fNodeIndex); 143 publicId = ownerDocument.getNodeValue(fNodeIndex); 145 systemId = ownerDocument.getNodeURI(fNodeIndex); 146 int extraDataIndex = ownerDocument.getNodeExtra(fNodeIndex); 147 ownerDocument.getNodeType(extraDataIndex); 148 baseURI = ownerDocument.getNodeName(extraDataIndex); 149 150 151 } 153 } | Popular Tags |