FDO API Reference | Feature Data Objects |
#include <Reader.h>
Inherits FdoDisposable.
Inheritance diagram for FdoXmlReader:
Definition at line 35 of file Reader.h.
Public Member Functions | |
virtual FDO_API_COMMON FdoStringP | DecodeName (FdoStringP name)=0 |
Utility function that is typically called for element names or name type attributes that were adjusted when they were written to XML. FDO names that correspond to XML names, but aren't valid XML names, are adjusted. This function undoes the name adjustment. | |
FDO_API_COMMON FdoBoolean | GetEOD () |
Indicates whether the end of the XML document has been reached. | |
FDO_API_COMMON FdoDictionary * | GetNamespaces () |
Returns all of the XML namespace declarations that are currently in-scope for the current position in the XML document being read. | |
FDO_API_COMMON FdoIoStream * | GetStream () |
Gets the underlying stream. If a text reader was passed to this object then the stream for this text reader is returned. If a stream was passed to this object then this stream is returned. If a file name as passed then a auto-generated stream (wrapped around the file) is returned. | |
FDO_API_COMMON FdoIoTextReader * | GetTextReader () |
Gets the underlying text reader. If a text reader was passed to this object then this text reader is returned. Otherwise, an auto-generated text reader is returned (a text reader wrapped around the file name or stream that was passed to this object). | |
virtual FDO_API_COMMON FdoBoolean | Parse (FdoXmlSaxHandler *saxHandler=NULL, FdoXmlSaxContext *saxContext=NULL, FdoBoolean incremental=false)=0 |
Parses the XML document. | |
FDO_API_COMMON FdoString * | PrefixToUri (FdoString *prefix) |
Gets the URI for a namespace prefix. | |
Static Public Member Functions | |
static FDO_API_COMMON FdoXmlReader * | Create (FdoIoTextReader *reader) |
Constructs an XML reader on a text reader. | |
static FDO_API_COMMON FdoXmlReader * | Create (FdoIoStream *stream) |
Constructs an XML reader on a stream. | |
static FDO_API_COMMON FdoXmlReader * | Create (FdoString *fileName) |
Constructs an XML reader on a file. | |
Classes | |
class | HandlerStack |
SAX Handler stack definition. | |
class | PrefixMapping |
Tracks the scoped URI's for an XML namespace prefix. | |
class | PrefixMappingCollection |
SAX Handler stack definition. | |
class | StackElement |
SAX Handler stack element. Wraps around a SAX Handler. |
Comments or suggestions? Send us feedback. |