#include <shibsp/util/PropertySet.h>
Public Member Functions | |
virtual const PropertySet * | getParent () const =0 |
Returns parent of this PropertySet, if any. | |
virtual void | setParent (const PropertySet *parent)=0 |
Establishes a "parent" PropertySet to supply inherited settings. | |
virtual std::pair< bool, bool > | getBool (const char *name, const char *ns=nullptr) const =0 |
Returns a boolean-valued property. | |
virtual std::pair< bool, const char * > | getString (const char *name, const char *ns=nullptr) const =0 |
Returns a string-valued property. | |
virtual std::pair< bool, const XMLCh * > | getXMLString (const char *name, const char *ns=nullptr) const =0 |
Returns a Unicode string-valued property. | |
virtual std::pair< bool, unsigned int > | getUnsignedInt (const char *name, const char *ns=nullptr) const =0 |
Returns an unsigned integer-valued property. | |
virtual std::pair< bool, int > | getInt (const char *name, const char *ns=nullptr) const =0 |
Returns an integer-valued property. | |
virtual void | getAll (std::map< std::string, const char * > &properties) const =0 |
Returns a map of all known properties in string form. | |
virtual const PropertySet * | getPropertySet (const char *name, const char *ns=shibspconstants::ASCII_SHIB2SPCONFIG_NS) const =0 |
Returns a nested property set. | |
virtual const xercesc::DOMElement * | getElement () const =0 |
Returns a DOM element representing the property container, if any. |
virtual const PropertySet* shibsp::PropertySet::getParent | ( | ) | const [pure virtual] |
Returns parent of this PropertySet, if any.
Implemented in shibsp::DOMPropertySet.
virtual void shibsp::PropertySet::setParent | ( | const PropertySet * | parent | ) | [pure virtual] |
Establishes a "parent" PropertySet to supply inherited settings.
parent | the parent PropertySet to use |
Implemented in shibsp::DOMPropertySet.
virtual std::pair<bool,bool> shibsp::PropertySet::getBool | ( | const char * | name, | |
const char * | ns = nullptr | |||
) | const [pure virtual] |
Returns a boolean-valued property.
name | property name | |
ns | property namespace, or nullptr |
Implemented in shibsp::DOMPropertySet.
virtual std::pair<bool,const char*> shibsp::PropertySet::getString | ( | const char * | name, | |
const char * | ns = nullptr | |||
) | const [pure virtual] |
Returns a string-valued property.
name | property name | |
ns | property namespace, or nullptr |
Implemented in shibsp::DOMPropertySet.
virtual std::pair<bool,const XMLCh*> shibsp::PropertySet::getXMLString | ( | const char * | name, | |
const char * | ns = nullptr | |||
) | const [pure virtual] |
Returns a Unicode string-valued property.
name | property name | |
ns | property namespace, or nullptr |
Implemented in shibsp::DOMPropertySet.
virtual std::pair<bool,unsigned int> shibsp::PropertySet::getUnsignedInt | ( | const char * | name, | |
const char * | ns = nullptr | |||
) | const [pure virtual] |
Returns an unsigned integer-valued property.
name | property name | |
ns | property namespace, or nullptr |
Implemented in shibsp::DOMPropertySet.
virtual std::pair<bool,int> shibsp::PropertySet::getInt | ( | const char * | name, | |
const char * | ns = nullptr | |||
) | const [pure virtual] |
Returns an integer-valued property.
name | property name | |
ns | property namespace, or nullptr |
Implemented in shibsp::DOMPropertySet.
virtual void shibsp::PropertySet::getAll | ( | std::map< std::string, const char * > & | properties | ) | const [pure virtual] |
Returns a map of all known properties in string form.
properties | map to populate |
Implemented in shibsp::DOMPropertySet.
virtual const PropertySet* shibsp::PropertySet::getPropertySet | ( | const char * | name, | |
const char * | ns = shibspconstants::ASCII_SHIB2SPCONFIG_NS | |||
) | const [pure virtual] |
Returns a nested property set.
name | nested property set name | |
ns | nested property set namespace, or nullptr |
Implemented in shibsp::DOMPropertySet.
virtual const xercesc::DOMElement* shibsp::PropertySet::getElement | ( | ) | const [pure virtual] |
Returns a DOM element representing the property container, if any.
Implemented in shibsp::DOMPropertySet.