Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::XmlBindingFactory

Group:  XML Binding


Does not inherit

Local Index

Members

Header File

#include rwsf/xmlbinding/XmlBindingFactory.h

Description

Class rwsf::XmlBindingFactory is a template class that creates and registers factory methods to be used in the generated classes, allowing the creation or retrieval of an object within an object, regardless of type.

The generated methods are createObject() and createMember(), which are included in all generated datatype classes.

This class is implemented as a singleton and is accessible with its getInstance() method.

Public Static Member Functions

XmlBindingFactory< T > *
getInstance();

Public Member Functions

T
createObject(const rwsf::XmlName & name);
void
registerObject(const rwsf::XmlName & name,
    XmlBindingFactoryMethod method);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.