Click or drag to resize

CefXmlReader Class

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.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefXmlReader

Namespace:  Internal.Xilium.CefGlue
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public sealed class CefXmlReader : IDisposable

The CefXmlReader 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 propertyError
Returns the error string.
Public propertyHasAttributes
Returns true if the node has attributes.
Public propertyHasError
Returns true if an error has been reported by the XML parser.
Public propertyHasValue
Returns true if the node has a text value.
Public propertyIsEmptyElement
Returns true if the node represents an empty element. is considered empty but 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 propertyNodeType
The below methods retrieve data for the node at the current cursor position. Returns the node type.
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 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 CefXmlReader object. The returned object's methods can only be called from the thread that created the object.
Public methodDispose
Releases all resources used by the CefXmlReader
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInnerXml
Returns an XML representation of the current node's children.
Public methodGetOuterXml
Returns an XML representation of the current node including its children.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMoveToAttribute(Int32)
Attribute nodes are not traversed by default. The below methods can be used to move the cursor to an attribute node. MoveToCarryingElement() can be called afterwards to return the cursor to the carrying element. The depth of an attribute node will be 1 + the depth of the carrying element. Moves the cursor to the attribute at the specified 0-based index. Returns true if the cursor position was set successfully.
Public methodMoveToAttribute(String)
Moves the cursor to the attribute with the specified qualified name. Returns true 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 if the cursor position was set successfully.
Public methodMoveToCarryingElement
Moves the cursor back to the carrying element. Returns true if the cursor position was set successfully.
Public methodMoveToFirstAttribute
Moves the cursor to the first attribute in the current element. Returns true if the cursor position was set successfully.
Public methodMoveToNextAttribute
Moves the cursor to the next attribute in the current element. Returns true if the cursor position was set successfully.
Public methodMoveToNextNode
Moves the cursor to the next node in the document. This method must be called at least once to set the current cursor position. Returns true if the cursor position was set successfully.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also