/** * Returns the value of the given node. */ public String getNodeValue(int nodeIndex) { return getNodeValue(nodeIndex, true); }
/** * Synchronize the entity data. This is special because of the way * that the "fast" version stores the information. */ protected void synchronizeData() { // no need to sychronize again needsSyncData(false); // get the node data DeferredDocumentImpl ownerDocument = (DeferredDocumentImpl)this.ownerDocument; name = ownerDocument.getNodeName(fNodeIndex); baseURI = ownerDocument.getNodeValue(fNodeIndex); } // synchronizeData()
/** Synchronizes the data (name and value) for fast nodes. */ protected void synchronizeData() { // no need to sync in the future needsSyncData(false); // fluff data DeferredDocumentImpl ownerDocument = (DeferredDocumentImpl)this.ownerDocument; name = ownerDocument.getNodeName(fNodeIndex); // public and system ids publicID = ownerDocument.getNodeValue(fNodeIndex); systemID = ownerDocument.getNodeURI(fNodeIndex); int extraDataIndex = ownerDocument.getNodeExtra(fNodeIndex); internalSubset = ownerDocument.getNodeValue(extraDataIndex); } // synchronizeData()
/** * Synchronize the entity data. This is special because of the way * that the "fast" version stores the information. */ protected void synchronizeData() { // no need to sychronize again needsSyncData(false); // get the node data DeferredDocumentImpl ownerDocument = (DeferredDocumentImpl)this.ownerDocument; name = ownerDocument.getNodeName(fNodeIndex); // get the entity data publicId = ownerDocument.getNodeValue(fNodeIndex); systemId = ownerDocument.getNodeURI(fNodeIndex); int extraDataIndex = ownerDocument.getNodeExtra(fNodeIndex); ownerDocument.getNodeType(extraDataIndex); notationName = ownerDocument.getNodeName(extraDataIndex); // encoding and version DOM L3 version = ownerDocument.getNodeValue(extraDataIndex); encoding = ownerDocument.getNodeURI(extraDataIndex); // baseURI, actualEncoding DOM L3 int extraIndex2 = ownerDocument.getNodeExtra(extraDataIndex); baseURI = ownerDocument.getNodeName(extraIndex2); inputEncoding = ownerDocument.getNodeValue(extraIndex2); } // synchronizeData()
/** * Synchronizes the data. This is special because of the way * that the "fast" notation stores its information internally. */ protected void synchronizeData() { // no need to synchronize again needsSyncData(false); // name DeferredDocumentImpl ownerDocument = (DeferredDocumentImpl)this.ownerDocument(); name = ownerDocument.getNodeName(fNodeIndex); ownerDocument.getNodeType(fNodeIndex); // public and system ids publicId = ownerDocument.getNodeValue(fNodeIndex); systemId = ownerDocument.getNodeURI(fNodeIndex); int extraDataIndex = ownerDocument.getNodeExtra(fNodeIndex); ownerDocument.getNodeType(extraDataIndex); baseURI = ownerDocument.getNodeName(extraDataIndex); } // synchronizeData()
System.out.print(getChunkValue(fNodeName, chunk, index)); System.out.print('\t'); System.out.print(getNodeValue(chunk, index)); System.out.print('\t'); System.out.print(getChunkValue(fNodeURI, chunk, index));