XmlAgent Class Reference

An interface class between YaST2 and Xml Agent. More...

#include <XmlAgent.h>

Inheritance diagram for XmlAgent:

SCRAgent

List of all members.

Public Member Functions

 XmlAgent ()
virtual ~XmlAgent ()
virtual YCPValue Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull())
virtual YCPValue Execute (const YCPPath &path, const YCPValue &value, const YCPValue &arg)
virtual YCPList Dir (const YCPPath &path)
virtual YCPBoolean Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())
virtual YCPValue otherCommand (const YCPTerm &term)

Protected Member Functions

virtual YCPValue ParseNodesAsMap (xmlNodePtr tree)
virtual YCPValue ParseNodesAsList (xmlNodePtr tree)
virtual YCPValue SetType (xmlNodePtr node)
virtual YCPValue Xmlrpc (xmlNodePtr tree)
virtual YCPList getParams (xmlNodePtr paramsNode)
virtual YCPValue getValue (xmlNodePtr paramNode)
virtual YCPMap getStruct (xmlNodePtr structNode)
virtual YCPValue getArray (xmlNodePtr structNode)
virtual xmlNodePtr ParseYCPMap (YCPMap map, xmlNodePtr parent, xmlDocPtr doc)
virtual xmlNodePtr ParseYCPList (YCPList list, xmlNodePtr parent, const char *listname, xmlDocPtr doc)
virtual bool isCDATA (YCPString section)

Protected Attributes

YCPList Cdata
YCPMap ListEntries
xmlNsPtr configNamespace


Detailed Description

An interface class between YaST2 and Xml Agent.

Constructor & Destructor Documentation

XmlAgent::XmlAgent (  ) 

Agent private variables Default constructor.

Constructor

XmlAgent::~XmlAgent (  )  [virtual]

Destructor.

Destructor


Member Function Documentation

YCPValue XmlAgent::Read ( const YCPPath path,
const YCPValue arg = YCPNull (),
const YCPValue opt = YCPNull() 
) [virtual]

Provides SCR Read ().

Parameters:
path Path that should be read.
arg Additional parameter.
Read

Implements SCRAgent.

YCPValue XmlAgent::Execute ( const YCPPath path,
const YCPValue value,
const YCPValue arg 
) [virtual]

Provides SCR Write ().

Execute XML from YCP data

Reimplemented from SCRAgent.

YCPList XmlAgent::Dir ( const YCPPath path  )  [virtual]

Provides SCR Write ().

Dir

Implements SCRAgent.

YCPBoolean XmlAgent::Write ( const YCPPath path,
const YCPValue value,
const YCPValue arg = YCPNull() 
) [virtual]

Provides SCR Write ().

Write

Implements SCRAgent.

YCPValue XmlAgent::otherCommand ( const YCPTerm term  )  [virtual]

Used for mounting the agent.

otherCommand

Reimplemented from SCRAgent.

YCPValue XmlAgent::ParseNodesAsMap ( xmlNodePtr  tree  )  [protected, virtual]

ParseNodesAsMap

YCPValue XmlAgent::ParseNodesAsList ( xmlNodePtr  tree  )  [protected, virtual]

ParseNodesAsList

YCPValue XmlAgent::SetType ( xmlNodePtr  node  )  [protected, virtual]

YCPValue XmlAgent::Xmlrpc ( xmlNodePtr  tree  )  [protected, virtual]

YCPList XmlAgent::getParams ( xmlNodePtr  paramsNode  )  [protected, virtual]

YCPValue XmlAgent::getValue ( xmlNodePtr  paramNode  )  [protected, virtual]

YCPMap XmlAgent::getStruct ( xmlNodePtr  structNode  )  [protected, virtual]

YCPValue XmlAgent::getArray ( xmlNodePtr  structNode  )  [protected, virtual]

xmlNodePtr XmlAgent::ParseYCPMap ( YCPMap  map,
xmlNodePtr  parent,
xmlDocPtr  doc 
) [protected, virtual]

xmlNodePtr XmlAgent::ParseYCPList ( YCPList  list,
xmlNodePtr  parent,
const char *  listname,
xmlDocPtr  doc 
) [protected, virtual]

bool XmlAgent::isCDATA ( YCPString  section  )  [protected, virtual]


Member Data Documentation

YCPList XmlAgent::Cdata [protected]

YCPMap XmlAgent::ListEntries [protected]

xmlNsPtr XmlAgent::configNamespace [protected]


The documentation for this class was generated from the following files:
Generated on Sat Sep 22 09:59:49 2007 for yast2-xml by  doxygen 1.5.3