| 
    LibreOffice Module tools (master) 1
    
   | 
 
XmlWalker main purpose is to make it easier for walking the parsed XML DOM tree. More...
#include <XmlWalker.hxx>
Public Member Functions | |
| XmlWalker () | |
| ~XmlWalker () | |
| bool | open (SvStream *pStream) | 
| OString | name () | 
| OString | namespaceHref () | 
| OString | namespacePrefix () | 
| OString | content () | 
| void | children () | 
| void | parent () | 
| void | next () | 
| bool | isValid () const | 
| OString | attribute (const OString &sName) const | 
Private Attributes | |
| std::unique_ptr< XmlWalkerImpl > | mpImpl | 
XmlWalker main purpose is to make it easier for walking the parsed XML DOM tree.
It hides all the libxml2 and C -isms and makes the usage more comfortable from LO developer point of view.
Definition at line 31 of file XmlWalker.hxx.
| tools::XmlWalker::XmlWalker | ( | ) | 
Definition at line 36 of file XmlWalker.cxx.
| tools::XmlWalker::~XmlWalker | ( | ) | 
Definition at line 41 of file XmlWalker.cxx.
References mpImpl.
| OString tools::XmlWalker::attribute | ( | const OString & | sName | ) | const | 
Definition at line 99 of file XmlWalker.cxx.
| void tools::XmlWalker::children | ( | ) | 
Definition at line 87 of file XmlWalker.cxx.
References mpImpl.
| OString tools::XmlWalker::content | ( | ) | 
Definition at line 74 of file XmlWalker.cxx.
References mpImpl.
| bool tools::XmlWalker::isValid | ( | ) | const | 
Definition at line 112 of file XmlWalker.cxx.
References mpImpl.
| OString tools::XmlWalker::name | ( | ) | 
Definition at line 62 of file XmlWalker.cxx.
References mpImpl.
| OString tools::XmlWalker::namespaceHref | ( | ) | 
Definition at line 64 of file XmlWalker.cxx.
References mpImpl.
| OString tools::XmlWalker::namespacePrefix | ( | ) | 
Definition at line 69 of file XmlWalker.cxx.
References mpImpl.
| void tools::XmlWalker::next | ( | ) | 
Definition at line 110 of file XmlWalker.cxx.
References mpImpl.
| bool tools::XmlWalker::open | ( | SvStream * | pStream | ) | 
Definition at line 47 of file XmlWalker.cxx.
References aBuffer, mpImpl, SvStream::ReadBytes(), and SvStream::remainingSize().
| void tools::XmlWalker::parent | ( | ) | 
Definition at line 93 of file XmlWalker.cxx.
References mpImpl.
      
  | 
  private | 
Definition at line 34 of file XmlWalker.hxx.
Referenced by attribute(), children(), content(), isValid(), name(), namespaceHref(), namespacePrefix(), next(), open(), parent(), and ~XmlWalker().