public String getEncoding() { if (fLocator != null) { return fLocator.getEncoding(); } return null; }
public String getEncoding() { return fLocator.getEncoding(); }
public String getEncoding() { return fLocator.getEncoding(); }
/** * The end of the document. * @param augs Additional information that may include infoset augmentations * * @throws XNIException Thrown by handler to signal an error. */ public void endDocument (Augmentations augs) throws XNIException { if (!fDeferNodeExpansion) { // REVISIT: when DOM Level 3 is REC rely on Document.support // instead of specific class // set the actual encoding and set DOM error checking back on if (fDocumentImpl != null) { if (fLocator != null) { fDocumentImpl.setInputEncoding (fLocator.getEncoding()); } fDocumentImpl.setStrictErrorChecking (true); } fCurrentNode = null; } else { // set the actual encoding if (fLocator != null) { fDeferredDocumentImpl.setInputEncoding (fLocator.getEncoding()); } fCurrentNodeIndex = -1; } } // endDocument()