[This is preliminary documentation and is subject to change.]
The CefXmlReader type exposes the following members.Methods
Name | Description | |
---|---|---|
Close |
Close the document. This should be called directly to ensure that cleanup
occurs on the correct thread.
| |
Create |
Create a new CefXmlReader object. The returned object's methods can only
be called from the thread that created the object.
| |
Dispose | Releases all resources used by the CefXmlReader | |
Equals | (Inherited from Object.) | |
Finalize | (Overrides Object Finalize .) | |
GetAttribute(Int32) |
Returns the value of the attribute at the specified 0-based index.
| |
GetAttribute(String) |
Returns the value of the attribute with the specified qualified name.
| |
GetAttribute(String, String) |
Returns the value of the attribute with the specified local name and
namespace URI.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetInnerXml |
Returns an XML representation of the current node's children.
| |
GetOuterXml |
Returns an XML representation of the current node including its children.
| |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
MoveToAttribute(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.
| |
MoveToAttribute(String) |
Moves the cursor to the attribute with the specified qualified name.
Returns true if the cursor position was set successfully.
| |
MoveToAttribute(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.
| |
MoveToCarryingElement |
Moves the cursor back to the carrying element. Returns true if the cursor
position was set successfully.
| |
MoveToFirstAttribute |
Moves the cursor to the first attribute in the current element. Returns
true if the cursor position was set successfully.
| |
MoveToNextAttribute |
Moves the cursor to the next attribute in the current element. Returns
true if the cursor position was set successfully.
| |
MoveToNextNode |
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.
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AttributeCount |
Returns the number of attributes.
| |
BaseUri |
Returns the base URI of the node. See http://www.w3.org/TR/xmlbase/ for
additional details.
| |
Depth |
Returns the node depth. Depth starts at 0 for the root node.
| |
Error |
Returns the error string.
| |
HasAttributes |
Returns true if the node has attributes.
| |
HasError |
Returns true if an error has been reported by the XML parser.
| |
HasValue |
Returns true if the node has a text value.
| |
IsEmptyElement | ||
LineNumber |
Returns the line number for the current node.
| |
LocalName |
Returns the local name. See
http://www.w3.org/TR/REC-xml-names/#NT-LocalPart for additional details.
| |
NamespaceUri |
Returns the URI defining the namespace associated with the node. See
http://www.w3.org/TR/REC-xml-names/ for additional details.
| |
NodeType |
The below methods retrieve data for the node at the current cursor
position.
Returns the node type.
| |
Prefix |
Returns the namespace prefix. See http://www.w3.org/TR/REC-xml-names/ for
additional details.
| |
QualifiedName |
Returns the qualified name, equal to (Prefix:)LocalName. See
http://www.w3.org/TR/REC-xml-names/#ns-qualnames for additional details.
| |
Value |
Returns the text value.
| |
XmlLang |
Returns the xml:lang scope within which the node resides. See
http://www.w3.org/TR/REC-xml/#sec-lang-tag for additional details.
|
See Also