#include <dtd.h>
Inheritance diagram for wxXml2ElemDecl:
This type of node is used only inside an inlined/external DTD. Looks like: <!ELEMENT name .... > ---- ^--- wxXml2ElemContent
wxXml2ElemDecl handles also the cases:
<!ELEMENT name ANY> <!ELEMENT name EMPTY>
setting the appropriate wxXml2ElementTypeVal value.
Public Member Functions | |
wxXml2ElemDecl () | |
wxXml2ElemDecl (xmlElement *n) | |
Wraps the given libxml2 structure. | |
wxXml2ElemDecl (const wxXml2ElemDecl &n) | |
Copies the given wrapper (does not imply the XML structure copy). | |
wxXml2ElemDecl (const wxXml2DTD &parent, const wxString &name, wxXml2ElementTypeVal val=wxXML2_ELEMENT_TYPE_ELEMENT, wxXml2ElemContent &content=wxXml2EmptyElemContent) | |
Creates a new element declaration and automatically link it to the given parent. | |
virtual | ~wxXml2ElemDecl () |
bool | operator== (const wxXml2ElemDecl &decl) const |
bool | operator!= (const wxXml2ElemDecl &decl) const |
wxXml2ElemDecl & | operator= (const wxXml2ElemDecl &decl) |
void | Create (const wxXml2DTD &parent, const wxString &name, wxXml2ElementTypeVal val, wxXml2ElemContent &content) |
xmlElement * | GetObj () const |
wxXml2DTD | GetParent () const |
wxXml2AttrDecl | GetAttributes () const |
wxXml2ElementTypeVal | GetType () const |
wxXml2ElemContent | GetContent () const |
wxXml2Namespace | GetNamespace () const |
wxXml2ElemDecl::wxXml2ElemDecl | ( | ) | [inline] |
wxXml2ElemDecl::wxXml2ElemDecl | ( | xmlElement * | n | ) | [inline] |
Wraps the given libxml2 structure.
wxXml2ElemDecl::wxXml2ElemDecl | ( | const wxXml2ElemDecl & | n | ) | [inline] |
Copies the given wrapper (does not imply the XML structure copy).
wxXml2ElemDecl::wxXml2ElemDecl | ( | const wxXml2DTD & | parent, | |
const wxString & | name, | |||
wxXml2ElementTypeVal | val = wxXML2_ELEMENT_TYPE_ELEMENT , |
|||
wxXml2ElemContent & | content = wxXml2EmptyElemContent | |||
) | [inline] |
Creates a new element declaration and automatically link it to the given parent.
virtual wxXml2ElemDecl::~wxXml2ElemDecl | ( | ) | [inline, virtual] |
void wxXml2ElemDecl::Create | ( | const wxXml2DTD & | parent, | |
const wxString & | name, | |||
wxXml2ElementTypeVal | val, | |||
wxXml2ElemContent & | content | |||
) |
wxXml2AttrDecl wxXml2ElemDecl::GetAttributes | ( | ) | const |
wxXml2ElemContent wxXml2ElemDecl::GetContent | ( | ) | const [inline] |
wxXml2Namespace wxXml2ElemDecl::GetNamespace | ( | ) | const [inline] |
xmlElement* wxXml2ElemDecl::GetObj | ( | ) | const [inline] |
Reimplemented from wxXml2BaseNode.
wxXml2DTD wxXml2ElemDecl::GetParent | ( | ) | const |
Reimplemented from wxXml2BaseNode.
wxXml2ElementTypeVal wxXml2ElemDecl::GetType | ( | ) | const [inline] |
Reimplemented from wxXml2BaseNode.
bool wxXml2ElemDecl::operator!= | ( | const wxXml2ElemDecl & | decl | ) | const [inline] |
wxXml2ElemDecl& wxXml2ElemDecl::operator= | ( | const wxXml2ElemDecl & | decl | ) | [inline] |
bool wxXml2ElemDecl::operator== | ( | const wxXml2ElemDecl & | decl | ) | const |