|
CEF C++ API Docs - Revision 1123 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CefBase | +--CefXmlReaderin cef_xml_reader.h
Class that supports the reading of XML data via the libxml streaming API. The methods of this class should only be called on the thread that creates the object.
Inner Classes, Typedefs, and Enums | |
typedef |
CefXmlReader::EncodingType
|
typedef |
CefXmlReader::NodeType
|
Method Summary | |
virtual bool |
Close()= 0
Close the document. |
static CefRefPtr< CefXmlReader > |
Create( CefRefPtr< CefStreamReader > stream, CefXmlReader::EncodingType encodingType, const CefString& URI )
Create a new CefXmlReader object. |
virtual CefString |
GetAttribute( int index )= 0
Returns the value of the attribute at the specified 0-based index. |
virtual CefString |
GetAttribute( const CefString& localName, const CefString& namespaceURI )= 0
Returns the value of the attribute with the specified local name and namespace URI. |
virtual CefString |
GetAttribute( const CefString& qualifiedName )= 0
Returns the value of the attribute with the specified qualified name. |
virtual size_t |
GetAttributeCount()= 0
Returns the number of attributes. |
virtual CefString |
GetBaseURI()= 0
Returns the base URI of the node. |
virtual int |
GetDepth()= 0
Returns the node depth. |
virtual CefString |
GetError()= 0
Returns the error string. |
virtual CefString |
GetInnerXml()= 0
Returns an XML representation of the current node's children. |
virtual int |
GetLineNumber()= 0
Returns the line number for the current node. |
virtual CefString |
GetLocalName()= 0
Returns the local name. |
virtual CefString |
GetNamespaceURI()= 0
Returns the URI defining the namespace associated with the node. |
virtual CefString |
GetOuterXml()= 0
Returns an XML representation of the current node including its children. |
virtual CefString |
GetPrefix()= 0
Returns the namespace prefix. |
virtual CefString |
GetQualifiedName()= 0
Returns the qualified name, equal to (Prefix:)LocalName. |
virtual CefXmlReader::NodeType |
GetType()= 0
Returns the node type. |
virtual CefString |
GetValue()= 0
Returns the text value. |
virtual CefString |
GetXmlLang()= 0
Returns the xml:lang scope within which the node resides. |
virtual bool |
HasAttributes()= 0
Returns true if the node has attributes. |
virtual bool |
HasError()= 0
Returns true if an error has been reported by the XML parser. |
virtual bool |
HasValue()= 0
Returns true if the node has a text value. |
virtual bool |
IsEmptyElement()= 0
Returns true if the node represents an empty element. |
virtual bool |
MoveToAttribute( int index )= 0
Moves the cursor to the attribute at the specified 0-based index. |
virtual bool |
MoveToAttribute( const CefString& qualifiedName )= 0
Moves the cursor to the attribute with the specified qualified name. |
virtual bool |
MoveToAttribute( const CefString& localName, const CefString& namespaceURI )= 0
Moves the cursor to the attribute with the specified local name and namespace URI. |
virtual bool |
MoveToCarryingElement()= 0
Moves the cursor back to the carrying element. |
virtual bool |
MoveToFirstAttribute()= 0
Moves the cursor to the first attribute in the current element. |
virtual bool |
MoveToNextAttribute()= 0
Moves the cursor to the next attribute in the current element. |
virtual bool |
MoveToNextNode()= 0
Moves the cursor to the next node in the document. |
Methods inherited from class CefBase |
AddRef, Release, GetRefCt |
Method Detail |
public virtual bool Close()= 0;
public static CefRefPtr< CefXmlReader > Create( CefRefPtr< CefStreamReader > stream, CefXmlReader::EncodingType encodingType, const CefString& URI );
public virtual CefString GetAttribute( int index )= 0;
public virtual CefString GetAttribute( const CefString& localName, const CefString& namespaceURI )= 0;
public virtual CefString GetAttribute( const CefString& qualifiedName )= 0;
public virtual size_t GetAttributeCount()= 0;
public virtual CefString GetBaseURI()= 0;
public virtual int GetDepth()= 0;
public virtual CefString GetError()= 0;
public virtual CefString GetInnerXml()= 0;
public virtual int GetLineNumber()= 0;
public virtual CefString GetLocalName()= 0;
public virtual CefString GetNamespaceURI()= 0;
public virtual CefString GetOuterXml()= 0;
public virtual CefString GetPrefix()= 0;
public virtual CefString GetQualifiedName()= 0;
public virtual CefXmlReader::NodeType GetType()= 0;
public virtual CefString GetValue()= 0;
public virtual CefString GetXmlLang()= 0;
public virtual bool HasAttributes()= 0;
public virtual bool HasError()= 0;
public virtual bool HasValue()= 0;
public virtual bool IsEmptyElement()= 0;
public virtual bool MoveToAttribute( int index )= 0;
public virtual bool MoveToAttribute( const CefString& qualifiedName )= 0;
public virtual bool MoveToAttribute( const CefString& localName, const CefString& namespaceURI )= 0;
public virtual bool MoveToCarryingElement()= 0;
public virtual bool MoveToFirstAttribute()= 0;
public virtual bool MoveToNextAttribute()= 0;
public virtual bool MoveToNextNode()= 0;
|
CEF C++ API Docs - Revision 1123 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |