ACEXML
6.2.5
|
An abstract virtual class that defines the interface to define an element definition. More...
#include <Element_Def_Builder.h>
Public Types | |
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 |
Public Member Functions | |
virtual | ~ACEXML_Element_Def_Builder ()=0 |
virtual int | setElementName (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName)=0 |
virtual int | setContentType (CONTENT_TYPE type)=0 |
virtual int | insertMixedElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName)=0 |
virtual int | startChildGroup ()=0 |
virtual int | endChildGroup (CARDINALITY card)=0 |
virtual int | setChoice ()=0 |
virtual int | setSequence ()=0 |
virtual int | insertElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName)=0 |
virtual void | dump (void)=0 |
An abstract virtual class that defines the interface to define an element definition.
This class defines how to define an element definition after parsing a DTD.
|
pure virtual |
|
pure virtual |
Dump the content of the attribute definition.
Implemented in ACEXML_Debug_Element_Builder.
|
pure virtual |
End a new group of children.
0 | on success. |
Implemented in ACEXML_Debug_Element_Builder.
|
pure virtual |
Insert an new element into the current child group.
0 | on success, -1 otherwise. |
Implemented in ACEXML_Debug_Element_Builder.
|
pure virtual |
Insert one more element into Mixed definition.
Implemented in ACEXML_Debug_Element_Builder.
|
pure 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. |
Implemented in ACEXML_Debug_Element_Builder.
|
pure virtual |
Define the content type of the element.
0 | if valid, -1 otherwise. |
Implemented in ACEXML_Debug_Element_Builder.
|
pure virtual |
Define the name of the element.
0 | if valid, -1 otherwise. |
Implemented in ACEXML_Debug_Element_Builder.
|
pure 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. |
Implemented in ACEXML_Debug_Element_Builder.
|
pure virtual |
Start a new group of children.
Implemented in ACEXML_Debug_Element_Builder.