wxXml2AttrDecl Class Reference

#include <dtd.h>

Inheritance diagram for wxXml2AttrDecl:

wxXml2BaseNode wxXml2Wrapper List of all members.

Detailed Description

An attribute declaration.

This node is used to build attribute lists. This type of node is used only inside an inlined/external DTD. Looks like:

<!ATTLIST elemname attr1name CDATA REQUIRED/IMPLIED attr2name CDATA FIXED fixvalue attr3name (token1|token2|token3) > ---------------------- wxXml2Enumeration


Public Member Functions

 wxXml2AttrDecl ()
 The libxml2 structure which holds the data.
 wxXml2AttrDecl (xmlAttribute *n)
 Wraps the given libxml2 structure.
 wxXml2AttrDecl (const wxXml2AttrDecl &n)
 Copies the given wrapper (does not imply the XML structure copy).
 wxXml2AttrDecl (const wxXml2DTD &parent, const wxString &element, const wxString &name, const wxXml2Namespace &ns=wxXml2EmptyNamespace, wxXml2AttributeType type=wxXML2_ATTRIBUTE_CDATA, wxXml2AttributeDefault def=wxXML2_ATTRIBUTE_NONE, const wxString &defaultval=wxEmptyString, wxXml2Enumeration &e=wxXml2EmptyEnumeration)
 Creates a new element declaration and automatically link it to the given parent.
virtual ~wxXml2AttrDecl ()
bool operator== (const wxXml2AttrDecl &decl) const
bool operator!= (const wxXml2AttrDecl &decl) const
wxXml2AttrDecloperator= (const wxXml2AttrDecl &decl)
void Create (const wxXml2DTD &parent, const wxString &element, const wxString &name, const wxXml2Namespace &ns, wxXml2AttributeType type, wxXml2AttributeDefault def, const wxString &defaultval, wxXml2Enumeration &e)
xmlAttribute * GetObj () const
wxXml2DTD GetParent () const
wxXml2AttributeType GetType () const
wxXml2AttributeDefault GetDefault () const
wxXml2Enumeration GetEnum () const
wxXml2Namespace GetNamespace () const
wxString GetDefaultVal () const
wxString GetElementName () const
wxString GetName () const


Constructor & Destructor Documentation

wxXml2AttrDecl::wxXml2AttrDecl (  )  [inline]

The libxml2 structure which holds the data.

wxXml2AttrDecl::wxXml2AttrDecl ( xmlAttribute *  n  )  [inline]

Wraps the given libxml2 structure.

wxXml2AttrDecl::wxXml2AttrDecl ( const wxXml2AttrDecl n  )  [inline]

Copies the given wrapper (does not imply the XML structure copy).

wxXml2AttrDecl::wxXml2AttrDecl ( const wxXml2DTD parent,
const wxString &  element,
const wxString &  name,
const wxXml2Namespace ns = wxXml2EmptyNamespace,
wxXml2AttributeType  type = wxXML2_ATTRIBUTE_CDATA,
wxXml2AttributeDefault  def = wxXML2_ATTRIBUTE_NONE,
const wxString &  defaultval = wxEmptyString,
wxXml2Enumeration e = wxXml2EmptyEnumeration 
) [inline]

Creates a new element declaration and automatically link it to the given parent.

virtual wxXml2AttrDecl::~wxXml2AttrDecl (  )  [inline, virtual]


Member Function Documentation

void wxXml2AttrDecl::Create ( const wxXml2DTD parent,
const wxString &  element,
const wxString &  name,
const wxXml2Namespace ns,
wxXml2AttributeType  type,
wxXml2AttributeDefault  def,
const wxString &  defaultval,
wxXml2Enumeration e 
)

wxXml2AttributeDefault wxXml2AttrDecl::GetDefault (  )  const [inline]

wxString wxXml2AttrDecl::GetDefaultVal (  )  const [inline]

wxString wxXml2AttrDecl::GetElementName (  )  const [inline]

wxXml2Enumeration wxXml2AttrDecl::GetEnum (  )  const [inline]

wxString wxXml2AttrDecl::GetName (  )  const [inline]

wxXml2Namespace wxXml2AttrDecl::GetNamespace (  )  const [inline]

xmlAttribute* wxXml2AttrDecl::GetObj (  )  const [inline]

Reimplemented from wxXml2BaseNode.

wxXml2DTD wxXml2AttrDecl::GetParent (  )  const

Reimplemented from wxXml2BaseNode.

wxXml2AttributeType wxXml2AttrDecl::GetType (  )  const [inline]

Reimplemented from wxXml2BaseNode.

bool wxXml2AttrDecl::operator!= ( const wxXml2AttrDecl decl  )  const [inline]

wxXml2AttrDecl& wxXml2AttrDecl::operator= ( const wxXml2AttrDecl decl  )  [inline]

bool wxXml2AttrDecl::operator== ( const wxXml2AttrDecl decl  )  const


The documentation for this class was generated from the following files:
Generated on Thu Sep 28 14:58:01 2006 for wxXml2 by  doxygen 1.4.7