XmlEventReader::getEncoding |
![]() ![]() |
#include <DbXml.hpp>virtual const unsigned char * XmlEventReader::getEncoding() const
virtual bool XmlEventReader::encodingSet() const
virtual const unsigned char * XmlEventReader::getVersion() const
virtual const unsigned char * XmlEventReader::getSystemId() const
virtual bool XmlEventReader::isStandalone() const
virtual bool XmlEventReader::standaloneSet() const
These methods return metadata about the document, and are valid only if the event type is StartDocument.
Returns the encoding for the document, if available.
If the event type is not StartDocument, XmlException::EVENT_ERROR is thrown.
Checks if the encoding was explicitly set.
If the event type is not StartDocument, XmlException::EVENT_ERROR is thrown.
Returns the XML version string, if available.
If the event type is not StartDocument, XmlException::EVENT_ERROR is thrown.
Returns the document's system ID, if available.
If the event type is not StartDocument, XmlException::EVENT_ERROR is thrown.
Return whether the document is standalone.
If the event type is not StartDocument, XmlException::EVENT_ERROR is thrown.
Checks if the standalone attribute was explicitly set.
If the event type is not StartDocument, XmlException::EVENT_ERROR is thrown.
![]() ![]() |
Copyright (c) 1996,2007 Oracle. All rights reserved.