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

rwsf::XmlBindingFactory<T>

Library:  XML Binding


Does not inherit

Local Index

Members

Header File

#include <rwsf/XmlBinding/XmlBindingFactory.h>

Description

Class rwsf::XmlBindingFactory<T> 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.

Typedefs

typedef T (*XmlBindingFactoryMethod)();

Public Constructors

XmlBindingFactory()

Public Member Functions

static XmlBindingFactory<T>*
getInstance();
T 
createObject(const rwsf::XmlName& name);
void 
registerObject(const rwsf::XmlName& name,
               XmlBindingFactoryMethod method);


Previous fileTop of DocumentContentsIndex pageNext file

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.