22#if !defined(XERCESC_INCLUDE_GUARD_SECURITYMANAGER_HPP)
23#define XERCESC_INCLUDE_GUARD_SECURITYMANAGER_HPP
55 enum { ENTITY_EXPANSION_LIMIT = 50000};
61 : fEntityExpansionLimit((
XMLSize_t)ENTITY_EXPANSION_LIMIT)
85 fEntityExpansionLimit = newLimit;
97 return fEntityExpansionLimit;
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XMLUTIL_EXPORT
Definition XercesDefs.hpp:162
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
size_t XMLSize_t
Definition Xerces_autoconf_config.hpp:112
Allow application to force the parser to behave in a security-conscious way.
Definition SecurityManager.hpp:52
virtual ~SecurityManager()
Destructor.
Definition SecurityManager.hpp:66
XMLSize_t fEntityExpansionLimit
Definition SecurityManager.hpp:102
SecurityManager()
Default constructor.
Definition SecurityManager.hpp:60
virtual void setEntityExpansionLimit(XMLSize_t newLimit)
An application should call this method when it wishes to specify a particular limit to the number of ...
Definition SecurityManager.hpp:83
virtual XMLSize_t getEntityExpansionLimit() const
Permits the application or a parser component to query the current limit for entity expansions.
Definition SecurityManager.hpp:95