The SgmlElement class stores data about an SGML element derived from the DTD. More...
SgmlElement | ( QString name, bool stag, bool etag, QStrIList& incl, QStrIList& excl, SgmlNode* root ); | |
QList<Attribute>& | attrs | ( ); |
bool | etagRequired | ( ); |
QStrIList& | exclude | ( ); |
bool | excluded | ( QString name ); |
QStrIList& | include | ( ); |
bool | included | ( QString name ); |
bool | isEmpty | ( ); |
ContentModel& | model | ( ); |
QString | name | ( ); |
bool | stagRequired | ( ); |
~SgmlElement | ( ); |
QList<Attribute> | _attrs; |
bool | _etagRequired; |
QStrIList | _exclude; |
QStrIList | _include; |
bool | _isEmpty; |
ContentModel | _model; |
QString | _name; |
bool | _stagRequired; |
The SgmlElement class stores data about an SGML element derived from the DTD.
The SgmlElement is created by the DtdParser, and it is used by the SgmlParser.Construct a new SgmlElement. Create a content model DFA from the provided parse tree.
Return the list of attributes that this element can have.
Returns TRUE if the end tag is required for this element.
Returns the list of excluded elements.
Returns TRUE if the given element is excluded from the content model.
Returns the list of included elements.
Returns TRUE if the given element is included in the content model.
Returns the root node of the content model parse tree.
Returns the elements content model.
Returns the element name.
Returns TRUE if the start tag is required fro this element.