#include <common/Attributes_Def_Builder.h>
Inheritance diagram for ACEXML_Attribute_Def_Builder:
Public Types | |
typedef auto_ptr< ACEXML_Attribute_Def_Builder > | VAR |
CDATA | |
ID | |
IDREF | |
IDREFS | |
ENTITY | |
ENTITIES | |
NMTOKEN | |
NMTOKENS | |
NOTATION | |
ENUMERATION | |
ERROR_TYPE | |
REQUIRED | |
IMPLIED | |
FIXED | |
INVALID | |
enum | ATT_TYPE { CDATA, ID, IDREF, IDREFS, ENTITY, ENTITIES, NMTOKEN, NMTOKENS, NOTATION, ENUMERATION, ERROR_TYPE } |
enum | DEFAULT_DECL { REQUIRED, IMPLIED, FIXED, INVALID } |
Public Member Functions | |
virtual | ~ACEXML_Attribute_Def_Builder ()=0 |
virtual int | setName (const ACEXML_Char *n)=0 |
virtual const ACEXML_Char * | getName (void)=0 |
virtual int | setAttType (const ATT_TYPE type ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))=0 |
virtual int | insertList (const ACEXML_Char *Name ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))=0 |
virtual int | setDefault (const DEFAULT_DECL def, const ACEXML_Char *value ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))=0 |
virtual int | validAttr (void)=0 |
virtual void | dump (void)=0 |
This class should be invisible to application programmers and is only used for validator implementors.
ACEXML_Attribute_Def_Builder::~ACEXML_Attribute_Def_Builder | ( | ) | [pure virtual] |
virtual void ACEXML_Attribute_Def_Builder::dump | ( | void | ) | [pure virtual] |
Dump the content of the attribute definition.
Implemented in ACEXML_Debug_Attribute_Builder.
virtual const ACEXML_Char* ACEXML_Attribute_Def_Builder::getName | ( | void | ) | [pure virtual] |
Get the name of the attribute.
Implemented in ACEXML_Debug_Attribute_Builder.
virtual int ACEXML_Attribute_Def_Builder::insertList | ( | const ACEXML_Char *Name | ACEXML_ENV_ARG_DECL | ) | [pure virtual] |
Insert an element for NOTATION or ENUMERATION type attribute.
Implemented in ACEXML_Debug_Attribute_Builder.
virtual int ACEXML_Attribute_Def_Builder::setAttType | ( | const ATT_TYPE type | ACEXML_ENV_ARG_DECL | ) | [pure virtual] |
Set the attribute type.
virtual int ACEXML_Attribute_Def_Builder::setDefault | ( | const DEFAULT_DECL | def, | |
const ACEXML_Char *value | ACEXML_ENV_ARG_DECL | |||
) | [pure virtual] |
Set default attribute declaration.
virtual int ACEXML_Attribute_Def_Builder::setName | ( | const ACEXML_Char * | n | ) | [pure virtual] |
Specify the name of the attribute.
Implemented in ACEXML_Debug_Attribute_Builder.
virtual int ACEXML_Attribute_Def_Builder::validAttr | ( | void | ) | [pure virtual] |
Check validity of the current attribute definition being built.
0 | if the attribute is not a valid combo. |
Implemented in ACEXML_Debug_Attribute_Builder.