Click or drag to resize
CfxXmlReader Class

[This is preliminary documentation and is subject to change.]

Structure that supports the reading of XML data via the libxml streaming API. The functions of this structure should only be called on the thread that creates the object.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxLibraryBase
        ChromiumCfxXmlReader

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxXmlReader : CfxLibraryBase

The CfxXmlReader type exposes the following members.

Properties
  NameDescription
Public propertyAttributeCount
Returns the number of attributes.
Public propertyBaseUri
Returns the base URI of the node. See http://www.w3.org/TR/xmlbase/ for additional details.
Public propertyDepth
Returns the node depth. Depth starts at 0 for the root node.
Public propertyHasAttributes
Returns true (1) if the node has attributes.
Public propertyHasError
Returns true (1) if an error has been reported by the XML parser.
Public propertyHasValue
Returns true (1) if the node has a text value.
Public propertyInnerXml
Returns an XML representation of the current node's children.
Public propertyIsEmptyElement
Returns true (1) if the node represents an NULL element. <a/> is considered NULL but <a></a> is not.
Public propertyLineNumber
Returns the line number for the current node.
Public propertyLocalName
Returns the local name. See http://www.w3.org/TR/REC-xml-names/#NT- LocalPart for additional details.
Public propertyNamespaceUri
Returns the URI defining the namespace associated with the node. See http://www.w3.org/TR/REC-xml-names/ for additional details.
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted library struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxLibraryBase.)
Public propertyOuterXml
Returns an XML representation of the current node including its children.
Public propertyPrefix
Returns the namespace prefix. See http://www.w3.org/TR/REC-xml-names/ for additional details.
Public propertyQualifiedName
Returns the qualified name, equal to (Prefix:)LocalName. See http://www.w3.org/TR/REC-xml-names/#ns-qualnames for additional details.
Public propertyType
Returns the node type.
Public propertyValue
Returns the text value.
Public propertyXmlLang
Returns the xml:lang scope within which the node resides. See http://www.w3.org/TR/REC-xml/#sec-lang-tag for additional details.
Top
Methods
  NameDescription
Public methodClose
Close the document. This should be called directly to ensure that cleanup occurs on the correct thread.
Public methodStatic memberCreate
Create a new CfxXmlReader object. The returned object's functions can only be called from the thread that created the object.
Public methodGetAttribute(Int32)
Returns the value of the attribute at the specified 0-based index.
Public methodGetAttribute(String)
Returns the value of the attribute with the specified qualified name.
Public methodGetAttribute(String, String)
Returns the value of the attribute with the specified local name and namespace URI.
Public methodGetError
Returns the error string.
Public methodMoveToAttribute(Int32)
Moves the cursor to the attribute at the specified 0-based index. Returns true (1) if the cursor position was set successfully.
Public methodMoveToAttribute(String)
Moves the cursor to the attribute with the specified qualified name. Returns true (1) if the cursor position was set successfully.
Public methodMoveToAttribute(String, String)
Moves the cursor to the attribute with the specified local name and namespace URI. Returns true (1) if the cursor position was set successfully.
Public methodMoveToCarryingElement
Moves the cursor back to the carrying element. Returns true (1) if the cursor position was set successfully.
Public methodMoveToFirstAttribute
Moves the cursor to the first attribute in the current element. Returns true (1) if the cursor position was set successfully.
Public methodMoveToNextAttribute
Moves the cursor to the next attribute in the current element. Returns true (1) if the cursor position was set successfully.
Public methodMoveToNextNode
Moves the cursor to the next node in the document. This function must be called at least once to set the current cursor position. Returns true (1) if the cursor position was set successfully.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_xml_reader_capi.h.
See Also