Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
utility::tag::XMLValidatorImpl Class Reference

Public Member Functions

 XMLValidatorImpl ()
 
 ~XMLValidatorImpl ()
 
bool schema_has_been_set () const
 
XMLValidationOutput set_schema (std::string const &schema)
 
XMLValidationOutput validate_xml_against_schema (std::string const &xml)
 

Private Attributes

bool schema_has_been_set_ = false
 
xmlSchemaPtr schema_ = nullptr
 
xmlSchemaParserCtxtPtr schema_parser_context_ = nullptr
 
xmlSchemaValidCtxtPtr schema_validator_ = nullptr
 

Constructor & Destructor Documentation

utility::tag::XMLValidatorImpl::XMLValidatorImpl ( )
default
utility::tag::XMLValidatorImpl::~XMLValidatorImpl ( )

Member Function Documentation

bool utility::tag::XMLValidatorImpl::schema_has_been_set ( ) const
XMLValidationOutput utility::tag::XMLValidatorImpl::set_schema ( std::string const &  schema)
XMLValidationOutput utility::tag::XMLValidatorImpl::validate_xml_against_schema ( std::string const &  xml)

Member Data Documentation

xmlSchemaPtr utility::tag::XMLValidatorImpl::schema_ = nullptr
private

Referenced by set_schema(), and ~XMLValidatorImpl().

bool utility::tag::XMLValidatorImpl::schema_has_been_set_ = false
private

Referenced by schema_has_been_set(), and set_schema().

xmlSchemaParserCtxtPtr utility::tag::XMLValidatorImpl::schema_parser_context_ = nullptr
private

Referenced by set_schema(), and ~XMLValidatorImpl().

xmlSchemaValidCtxtPtr utility::tag::XMLValidatorImpl::schema_validator_ = nullptr
private

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