#include <dtd.h>
Inheritance diagram for wxXml2ElemContent:
This class is used to describe the contents of an XML DTD node like:
<!ELEMENT name .... > ^------- wxXml2ElemContent
A wxXml2ElemContent may look like:
(PCDATA) (mysubelement1,mysubelement2) a "seq" content (mysubelement1|mysubelement2) a "choice" content (PCDATA|myelem|myelem2|(a|b|c)*) a "mixed" content
The ANY or EMPTY values are handled directly by wxXml2ElemDecl. The occurrence mode can be *, +, ? or nothing. See the "Element Type Declarations" in the document http://www.w3.org/TR/REC-xml for more info.
wxXml2ElemContent::wxXml2ElemContent | ( | xmlElementContent * | cont = NULL |
) | [inline] |
wxXml2ElemContent::wxXml2ElemContent | ( | const wxString & | name, | |
wxXml2ElementContentType | val = wxXML2_ELEMENT_CONTENT_PCDATA , |
|||
wxXml2ElementContentOccur | occ = wxXML2_ELEMENT_CONTENT_ONCE | |||
) | [inline] |
virtual wxXml2ElemContent::~wxXml2ElemContent | ( | ) | [inline, virtual] |
void wxXml2ElemContent::Copy | ( | const wxXml2ElemContent & | n | ) | [inline, protected] |
void wxXml2ElemContent::Create | ( | const wxString & | name, | |
wxXml2ElementContentType | val, | |||
wxXml2ElementContentOccur | occ | |||
) |
void wxXml2ElemContent::Destroy | ( | ) | [inline, protected, virtual] |
wxXml2ElemContent wxXml2ElemContent::GetFirstChild | ( | ) | const [inline] |
wxString wxXml2ElemContent::GetName | ( | ) | const [inline] |
wxXml2Namespace wxXml2ElemContent::GetNamespace | ( | ) | const [inline] |
xmlElementContent* wxXml2ElemContent::GetObj | ( | ) | const [inline] |
wxXml2ElementContentOccur wxXml2ElemContent::GetOccurrence | ( | ) | const [inline] |
wxXml2ElemContent wxXml2ElemContent::GetParent | ( | ) | const [inline] |
wxXml2ElemContent wxXml2ElemContent::GetSecondChild | ( | ) | const [inline] |
wxXml2ElementContentType wxXml2ElemContent::GetType | ( | ) | const [inline] |
bool wxXml2ElemContent::IsNonEmpty | ( | ) | const [inline] |
bool wxXml2ElemContent::operator!= | ( | const wxXml2ElemContent & | decl | ) | const [inline] |
wxXml2ElemContent& wxXml2ElemContent::operator= | ( | const wxXml2ElemContent & | decl | ) | [inline] |
bool wxXml2ElemContent::operator== | ( | const wxXml2ElemContent & | decl | ) | const |
void wxXml2ElemContent::SetAsEmpty | ( | ) | [inline, protected] |
friend class wxXml2ElemDecl [friend] |