DefaultMetadataElementFactory Class Reference

(Internal) DefaultMetadataElementFactory is the default implementation of XmlMetadataElementFactory. More...

#include <librets/DefaultMetadataElementFactory.h>

Inheritance diagram for DefaultMetadataElementFactory:

XmlMetadataElementFactory RetsObject

List of all members.

Public Member Functions

 DefaultMetadataElementFactory ()
virtual ~DefaultMetadataElementFactory ()
virtual void SetErrorHandler (RetsErrorHandler *errorHandler)
 Set the error handler.
virtual MetadataElementPtr CreateMetadataElement (RetsXmlStartElementEventPtr startElementEvent)
 Create a metadata element.
MetadataElementListPtr Find (MetadataElement::MetadataType type, std::string level)
 Locate the metadata element for the given type and resource/class.
virtual std::ostream & Print (std::ostream &outputStream) const
std::string ToString () const
virtual bool Equals (const RetsObject *object) const


Detailed Description

(Internal) DefaultMetadataElementFactory is the default implementation of XmlMetadataElementFactory.

Constructor & Destructor Documentation

virtual ~DefaultMetadataElementFactory (  )  [virtual]


Member Function Documentation

virtual MetadataElementPtr CreateMetadataElement ( RetsXmlStartElementEventPtr  startElementEvent  )  [virtual]

Create a metadata element.

Parameters:
startElementEvent A pointer to the RetsXmlStartElementEvent that begins this metadata element.

Implements XmlMetadataElementFactory.

virtual bool Equals ( const RetsObject object  )  const [virtual, inherited]

MetadataElementListPtr Find ( MetadataElement::MetadataType  type,
std::string  level 
)

Locate the metadata element for the given type and resource/class.

Parameters:
type The metadata type such as SYSTEM or TABLE.
level A string containing the reosurce/class to find.

virtual std::ostream& Print ( std::ostream &  outputStream  )  const [virtual, inherited]

virtual void SetErrorHandler ( RetsErrorHandler errorHandler  )  [virtual]

Set the error handler.

Parameters:
errorHandler A pointer to the RetsErrorHandler that will be called on errors.

Implements XmlMetadataElementFactory.

std::string ToString (  )  const [inherited]


Generated by  doxygen