|
libzypp
15.22.2
|
xmlTextReader based interface to Reader's current node. More...
#include <Node.h>
Public Member Functions | |
| Node () | |
| Default ctor. More... | |
| Node (xmlTextReaderPtr const &reader_r) | |
| Ctor referencing a Reader. More... | |
| operator bool () const | |
| Validate Node in a boolean context. More... | |
| int | attributeCount () const |
| Provides the number of attributes of the current node. More... | |
| XmlString | baseUri () const |
| The base URI of the node. More... | |
| int | columnNumber () const |
| Provide the column number of the current parsing point. More... | |
| int | depth () const |
| The depth of the node in the tree. More... | |
| XmlString | encoding () const |
| Determine the encoding of the document being read. More... | |
| XmlString | getAttribute (const char *name_r) const |
| Provides a copy of the attribute value with the specified qualified name. More... | |
| XmlString | getAttribute (const std::string &name_r) const |
| XmlString | getAttributeNo (int no_r) const |
| Provides a copy of the attribute value with the specified index relative to the containing element. More... | |
| int | hasAttributes () const |
| Whether the node has attributes. More... | |
| int | hasValue () const |
| Whether the node can have a text value. More... | |
| bool | isAttribute () const |
| Whether this is an Attribute node. More... | |
| int | isDefault () const |
| Whether an Attribute node was generated from the default value defined in the DTD or schema. More... | |
| int | isEmptyElement () const |
| Check if the current node is empty. More... | |
| int | isNamespaceDecl () const |
| Determine whether the current node is a namespace declaration rather than a regular attribute. More... | |
| int | lineNumber () const |
| Provide the line number of the current parsing point. More... | |
| XmlString | localName () const |
| The local name of the node. More... | |
| XmlString | name () const |
| The qualified name of the node, equal to Prefix :LocalName. More... | |
| XmlString | namespaceUri () const |
| The URI defining the namespace associated with the node. More... | |
| NodeType | nodeType () const |
| Get the node type of the current node. More... | |
| XmlString | prefix () const |
| A shorthand reference to the namespace associated with the node. More... | |
| int | quoteChar () const |
| The quotation mark character used to enclose the value of an attribute. More... | |
| ReadState | readState () const |
| Gets the read state of the reader. More... | |
| XmlString | value () const |
| Provides the text value of the node if present. More... | |
| XmlString | getValue () const |
| Provides a copy of the text value of the node if present. More... | |
| XmlString | xmlLang () const |
| The xml:lang scope within which the node resides. More... | |
| XmlString | xmlVersion () const |
| Determine the XML version of the document being read. More... | |
Private Attributes | |
| xmlTextReaderPtr const & | _reader |
| Reference to the Reader. More... | |
Static Private Attributes | |
| static xmlTextReaderPtr const | _no_reader = 0 |
| NULL Reader referenced by default ctor. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const Node &obj) |
xmlTextReader based interface to Reader's current node.
Node provides xmlTextReader methods that do not change the readers position in the file. Mostly access to the nodes attributes.
| zypp::xml::Node::Node | ( | xmlTextReaderPtr const & | reader_r | ) |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
related |
|
staticprivate |
|
private |