#include <Builder.h>
Inheritance diagram for xmli::Builder:

Public Member Functions | |
| virtual void | Build (const xmli::AttributeList &attr, const std::string &buffer)=0 |
| Builder (const char *tag) | |
| virtual | ~Builder () |
Definition at line 14 of file Builder.h.
|
|
During construction, place this builder into the table of builders.
Definition at line 19 of file Builder.cxx. References xmli::BuilderFac::Instance(), and xmli::BuilderFac::Register(). 00020 {
00021 xmli::BuilderFac::Instance().Register(tag,this);
00022 }
|
|
|
Definition at line 26 of file Builder.cxx. 00026 { }
|
|
||||||||||||
|
Builders must implement this method which constructs a C++ object from XML attributes
<beetle name="ringo" instrument="drums">
Ringo is my favorite
</beetle>
is passed as two attributes name=ringo, and instrument=drums and with buffer='Ringo is my favorite'Once C++ object is created, it should be placed on a xmli::Stack to be used by other pieces of code
Implemented in cfg::configBuilder, cfg::configdocBuilder, cfg::paramBuilder, jobc::jobBuilder, jobc::jobdocBuilder, jobc::linkBuilder, jobc::nodeBuilder, and jobc::sequenceBuilder. Referenced by xmli::SAX2Handler::EndElement(). |
1.3.9.1