xmltooling 1.6.3

xmltooling::hasSchemaType Class Reference

Predicate that checks the xsi:type of an XMLObject. More...

#include <xmltooling/util/Predicates.h>

List of all members.

Public Member Functions

 hasSchemaType (const QName &q)
 Constructor.
bool operator() (const XMLObject *xmlObject) const
 Returns true iff the provided object's xsi:type matches the constructor argument.

Detailed Description

Predicate that checks the xsi:type of an XMLObject.


Constructor & Destructor Documentation

xmltooling::hasSchemaType::hasSchemaType ( const QName q) [inline]

Constructor.

Parameters:
qthe QName to check for

Member Function Documentation

bool xmltooling::hasSchemaType::operator() ( const XMLObject xmlObject) const [inline]

Returns true iff the provided object's xsi:type matches the constructor argument.

Parameters:
xmlObjectthe object to examine

The documentation for this class was generated from the following file: