|
Rosetta
|
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) const |
Private Attributes | |
| bool | schema_has_been_set_ = false |
| xmlSchemaPtr | schema_ = nullptr |
| xmlSchemaParserCtxtPtr | schema_parser_context_ = nullptr |
| xmlSchemaValidCtxtPtr | schema_validator_ = nullptr |
|
default |
| utility::tag::XMLValidatorImpl::~XMLValidatorImpl | ( | ) |
References schema_, schema_parser_context_, and schema_validator_.
| bool utility::tag::XMLValidatorImpl::schema_has_been_set | ( | ) | const |
References schema_has_been_set_.
Referenced by utility::tag::XMLValidator::schema_has_been_set().
| XMLValidationOutput utility::tag::XMLValidatorImpl::set_schema | ( | std::string const & | schema | ) |
References utility::tag::XMLErrorHandler::errors(), utility::tag::handle_structured_xml_error(), test.T008_Serialization::oss, bin_torsions::output, schema_, schema_has_been_set_, schema_parser_context_, schema_validator_, utility::tag::XMLErrorHandler::set_file_contents(), and utility::tag::XMLErrorHandler::warnings().
Referenced by utility::tag::XMLValidator::set_schema().
| XMLValidationOutput utility::tag::XMLValidatorImpl::validate_xml_against_schema | ( | std::string const & | xml | ) | const |
References utility::tag::XMLErrorHandler::errors(), free(), utility::tag::handle_structured_xml_error(), bin_torsions::output, schema_validator_, utility::tag::XMLErrorHandler::set_file_contents(), and utility::tag::XMLErrorHandler::warnings().
Referenced by utility::tag::XMLValidator::validate_xml_against_schema().
|
private |
Referenced by set_schema(), and ~XMLValidatorImpl().
|
private |
Referenced by schema_has_been_set(), and set_schema().
|
private |
Referenced by set_schema(), and ~XMLValidatorImpl().
|
private |
Referenced by set_schema(), validate_xml_against_schema(), and ~XMLValidatorImpl().