ACEXML
6.5.0
|
#include "parser/debug_validator/Debug_Element_Builder.h"
Public Member Functions | |
ACEXML_Debug_Element_Builder () | |
virtual | ~ACEXML_Debug_Element_Builder () |
virtual int | setElementName (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName) |
virtual int | setContentType (CONTENT_TYPE type) |
virtual int | insertMixedElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName) |
virtual int | startChildGroup () |
virtual int | endChildGroup (CARDINALITY card) |
virtual int | setChoice () |
virtual int | setSequence () |
virtual int | insertElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName) |
virtual void | dump (void) |
![]() | |
virtual | ~ACEXML_Element_Def_Builder ()=0 |
Private Attributes | |
CONTENT_TYPE | type_ |
ACEXML_String | element_ |
ACEXML_Element_Tree_List_Node * | root_ |
ACEXML_Element_Tree_List_Stack | active_list_ |
Additional Inherited Members | |
![]() | |
enum | CONTENT_TYPE { EMPTY, ANY, MIXED, CHILDREN, UNDEFINED } |
enum | CARDINALITY { ONE, ZERO_OR_MORE, ONE_OR_MORE, ONE_OR_ZERO } |
typedef auto_ptr< ACEXML_Element_Def_Builder > | VAR |
This class prints out the element definition for debugging purpose.
ACEXML_Debug_Element_Builder::ACEXML_Debug_Element_Builder | ( | ) |
|
virtual |
|
virtual |
Dump the content of the attribute definition.
Implements ACEXML_Element_Def_Builder.
|
virtual |
|
virtual |
Insert an new element into the current child group.
0 | on success, -1 otherwise. |
Implements ACEXML_Element_Def_Builder.
|
virtual |
Insert one more element into Mixed definition.
Implements ACEXML_Element_Def_Builder.
|
virtual |
Set the type of current child group to Choice.
0 | on success, -1 if the type of the child group has already been set and this action conflicts with the previous setting. |
Implements ACEXML_Element_Def_Builder.
|
virtual |
Define the content type of the element.
0 | if valid, -1 otherwise. |
Implements ACEXML_Element_Def_Builder.
|
virtual |
Define the name of the element.
0 | if valid, -1 otherwise. |
Implements ACEXML_Element_Def_Builder.
|
virtual |
Set the type of current child group to Sequence.
0 | on success, -1 if the type of the child group has already been set and this action conflicts with the previous setting. |
Implements ACEXML_Element_Def_Builder.
|
virtual |
Start a new group of children.
Implements ACEXML_Element_Def_Builder.
|
private |
|
private |
|
private |
|
private |