1 16 17 package org.apache.xerces.dom; 18 19 42 public class DeferredNotationImpl 43 extends NotationImpl 44 implements DeferredNode { 45 46 50 51 static final long serialVersionUID = 5705337172887990848L; 52 53 57 58 protected transient int fNodeIndex; 59 60 64 68 DeferredNotationImpl(DeferredDocumentImpl ownerDocument, int nodeIndex) { 69 super(ownerDocument, null); 70 71 fNodeIndex = nodeIndex; 72 needsSyncData(true); 73 74 } 76 80 81 public int getNodeIndex() { 82 return fNodeIndex; 83 } 84 85 89 93 protected void synchronizeData() { 94 95 needsSyncData(false); 97 98 DeferredDocumentImpl ownerDocument = 100 (DeferredDocumentImpl)this.ownerDocument(); 101 name = ownerDocument.getNodeName(fNodeIndex); 102 103 ownerDocument.getNodeType(fNodeIndex); 104 publicId = ownerDocument.getNodeValue(fNodeIndex); 106 systemId = ownerDocument.getNodeURI(fNodeIndex); 107 int extraDataIndex = ownerDocument.getNodeExtra(fNodeIndex); 108 ownerDocument.getNodeType(extraDataIndex); 109 baseURI = ownerDocument.getNodeName(extraDataIndex); 110 111 112 } 114 } | Popular Tags |