Public Member Functions | Private Attributes | List of all members
VariableListEntryHandler Class Reference

#include <dochandler.h>

Inheritance diagram for VariableListEntryHandler:
BaseHandler< VariableListEntryHandler > QXmlDefaultHandler ElementMapper< VariableListEntryHandler > LocatorContainer IBaseHandler QXmlContentHandler QXmlErrorHandler QXmlDTDHandler QXmlEntityResolver QXmlLexicalHandler QXmlDeclHandler

Public Member Functions

virtual void startVarListEntry (const QXmlAttributes &attrib)
 
virtual void endVarListEntry ()
 
virtual void startListItem (const QXmlAttributes &attrib)
 
virtual void endListItem ()
 
virtual void startTerm (const QXmlAttributes &attrib)
 
virtual void endTerm ()
 
virtual void startParagraph (const QXmlAttributes &attrib)
 
 VariableListEntryHandler (IBaseHandler *parent)
 
virtual ~VariableListEntryHandler ()
 
virtual Kind kind () const
 
virtual ILinkedTextIteratorterm () const
 
virtual IDocParadescription () const
 
- Public Member Functions inherited from BaseHandler< VariableListEntryHandler >
 BaseHandler ()
 
virtual ~BaseHandler ()
 
virtual bool startDocument ()
 
virtual bool startElement (const QString &namespaceURI, const QString &localName, const QString &name, const QXmlAttributes &attrib)
 
virtual bool endElement (const QString &namespaceURI, const QString &localName, const QString &name)
 
bool skippedEntity (const QString &s)
 
virtual bool characters (const QString &ch)
 
void setDelegate (QXmlDefaultHandler *delegate)
 
QXmlDefaultHandlerdelegate () const
 
void setFallBackHandler (IFallBackHandler *h)
 
IFallBackHandlerfallBackHandler () const
 
void setDocumentLocator (QXmlLocator *locator)
 
- Public Member Functions inherited from QXmlDefaultHandler
 QXmlDefaultHandler ()
 
virtual ~QXmlDefaultHandler ()
 
bool endDocument ()
 
bool startPrefixMapping (const QString &prefix, const QString &uri)
 
bool endPrefixMapping (const QString &prefix)
 
bool ignorableWhitespace (const QString &ch)
 
bool processingInstruction (const QString &target, const QString &data)
 
bool warning (const QXmlParseException &exception)
 
bool error (const QXmlParseException &exception)
 
bool fatalError (const QXmlParseException &exception)
 
bool notationDecl (const QString &name, const QString &publicId, const QString &systemId)
 
bool unparsedEntityDecl (const QString &name, const QString &publicId, const QString &systemId, const QString &notationName)
 
bool resolveEntity (const QString &publicId, const QString &systemId, QXmlInputSource *&ret)
 
bool startDTD (const QString &name, const QString &publicId, const QString &systemId)
 
bool endDTD ()
 
bool startCDATA ()
 
bool endCDATA ()
 
bool comment (const QString &ch)
 
bool attributeDecl (const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value)
 
bool internalEntityDecl (const QString &name, const QString &value)
 
bool externalEntityDecl (const QString &name, const QString &publicId, const QString &systemId)
 
QString errorString ()
 
- Public Member Functions inherited from QXmlContentHandler
virtual ~QXmlContentHandler ()
 
- Public Member Functions inherited from QXmlErrorHandler
virtual ~QXmlErrorHandler ()
 
- Public Member Functions inherited from QXmlDTDHandler
virtual ~QXmlDTDHandler ()
 
- Public Member Functions inherited from QXmlEntityResolver
virtual ~QXmlEntityResolver ()
 
- Public Member Functions inherited from QXmlLexicalHandler
virtual ~QXmlLexicalHandler ()
 
- Public Member Functions inherited from QXmlDeclHandler
virtual ~QXmlDeclHandler ()
 
- Public Member Functions inherited from ElementMapper< VariableListEntryHandler >
 ElementMapper ()
 
virtual ~ElementMapper ()
 
void addStartHandler (const char *key)
 
void addStartHandler (const char *key, VariableListEntryHandler *obj, void(VariableListEntryHandler::*handler)(const QXmlAttributes &))
 
void addEndHandler (const char *key)
 
void addEndHandler (const char *key, VariableListEntryHandler *obj, void(VariableListEntryHandler::*handler)())
 
- Public Member Functions inherited from IBaseHandler
virtual ~IBaseHandler ()
 

Private Attributes

IBaseHandlerm_parent
 
QList< LinkedTextImplm_term
 
ParagraphHandlerm_description
 
LinkedTextHandlerm_linkedTextHandler
 

Additional Inherited Members

- Public Types inherited from BaseHandler< VariableListEntryHandler >
typedef ElementMapper< VariableListEntryHandler >::StartElementHandlerT StartElementHandlerT
 
typedef ElementMapper< VariableListEntryHandler >::EndElementHandlerT EndElementHandlerT
 
- Public Types inherited from ElementMapper< VariableListEntryHandler >
typedef StartElementHandler StartElementHandlerT
 
typedef EndElementHandler EndElementHandlerT
 
- Static Public Attributes inherited from LocatorContainer
static QXmlLocators_theLocator =0
 
- Protected Attributes inherited from BaseHandler< VariableListEntryHandler >
QString m_curString
 
QString m_skipUntil
 
int m_skipCount
 
QXmlDefaultHandlerm_delegateHandler
 
IFallBackHandlerm_fallBackHandler
 
- Protected Attributes inherited from ElementMapper< VariableListEntryHandler >
QDict< StartElementHandlerTm_startHandlers
 
QDict< EndElementHandlerTm_endHandlers
 

Detailed Description

Definition at line 720 of file dochandler.h.

Constructor & Destructor Documentation

VariableListEntryHandler::VariableListEntryHandler ( IBaseHandler parent)

Definition at line 959 of file dochandler.cpp.

960  : m_parent(parent), m_description(0), m_linkedTextHandler(0)
961 {
967 }
LinkedTextHandler * m_linkedTextHandler
Definition: dochandler.h:744
virtual void startParagraph(const QXmlAttributes &attrib)
ParagraphHandler * m_description
Definition: dochandler.h:743
virtual void startTerm(const QXmlAttributes &attrib)
Definition: dochandler.cpp:998
virtual void endVarListEntry()
Definition: dochandler.cpp:980
IBaseHandler * m_parent
Definition: dochandler.h:741
virtual void endListItem()
Definition: dochandler.cpp:992
VariableListEntryHandler::~VariableListEntryHandler ( )
virtual

Definition at line 969 of file dochandler.cpp.

970 {
971  delete m_description;
972 }
ParagraphHandler * m_description
Definition: dochandler.h:743

Member Function Documentation

virtual IDocPara* VariableListEntryHandler::description ( ) const
inlinevirtual

Definition at line 738 of file dochandler.h.

738 { return m_description; }
ParagraphHandler * m_description
Definition: dochandler.h:743
void VariableListEntryHandler::endListItem ( )
virtual

Definition at line 992 of file dochandler.cpp.

993 {
994  m_parent->setDelegate(0);
995  debug(2,"end listitem\n");
996 }
virtual void setDelegate(QXmlDefaultHandler *delegate)=0
IBaseHandler * m_parent
Definition: dochandler.h:741
void VariableListEntryHandler::endTerm ( )
virtual

Definition at line 1005 of file dochandler.cpp.

1006 {
1007  delete m_linkedTextHandler;
1008 }
LinkedTextHandler * m_linkedTextHandler
Definition: dochandler.h:744
void VariableListEntryHandler::endVarListEntry ( )
virtual

Definition at line 980 of file dochandler.cpp.

981 {
982  m_parent->setDelegate(0);
983  debug(2,"end varlistentry\n");
984 }
virtual void setDelegate(QXmlDefaultHandler *delegate)=0
IBaseHandler * m_parent
Definition: dochandler.h:741
virtual Kind VariableListEntryHandler::kind ( ) const
inlinevirtual

Definition at line 736 of file dochandler.h.

void VariableListEntryHandler::startListItem ( const QXmlAttributes attrib)
virtual

Definition at line 986 of file dochandler.cpp.

987 {
988  m_parent->setDelegate(this);
989  debug(2,"start listitem\n");
990 }
virtual void setDelegate(QXmlDefaultHandler *delegate)=0
IBaseHandler * m_parent
Definition: dochandler.h:741
void VariableListEntryHandler::startParagraph ( const QXmlAttributes attrib)
virtual

Definition at line 1010 of file dochandler.cpp.

1011 {
1012  ASSERT(m_description==0);
1013  m_description = new ParagraphHandler(this);
1014  m_description->startParagraph(attrib);
1015 }
Node representing a paragraph of text and commands.
Definition: dochandler.h:196
virtual void startParagraph(const QXmlAttributes &attrib)
ParagraphHandler * m_description
Definition: dochandler.h:743
#define ASSERT(x)
Definition: qglobal.h:590
void VariableListEntryHandler::startTerm ( const QXmlAttributes attrib)
virtual

Definition at line 998 of file dochandler.cpp.

999 {
1000  m_curString="";
1002  m_linkedTextHandler->start("term");
1003 }
LinkedTextHandler * m_linkedTextHandler
Definition: dochandler.h:744
virtual void start(const char *endTag)
QList< LinkedTextImpl > m_term
Definition: dochandler.h:742
void VariableListEntryHandler::startVarListEntry ( const QXmlAttributes attrib)
virtual

Definition at line 974 of file dochandler.cpp.

975 {
976  m_parent->setDelegate(this);
977  debug(2,"start varlistentry\n");
978 }
virtual void setDelegate(QXmlDefaultHandler *delegate)=0
IBaseHandler * m_parent
Definition: dochandler.h:741
ILinkedTextIterator * VariableListEntryHandler::term ( ) const
virtual

Definition at line 1017 of file dochandler.cpp.

1018 {
1019  return new LinkedTextIterator(m_term);
1020 }
QList< LinkedTextImpl > m_term
Definition: dochandler.h:742

Member Data Documentation

ParagraphHandler* VariableListEntryHandler::m_description
private

Definition at line 743 of file dochandler.h.

LinkedTextHandler* VariableListEntryHandler::m_linkedTextHandler
private

Definition at line 744 of file dochandler.h.

IBaseHandler* VariableListEntryHandler::m_parent
private

Definition at line 741 of file dochandler.h.

QList<LinkedTextImpl> VariableListEntryHandler::m_term
private

Definition at line 742 of file dochandler.h.


The documentation for this class was generated from the following files: