<commit_before>class ZCL_ABAPGIT_XML_INPUT definition
  public
  inheriting from ZCL_ABAPGIT_XML
  create public .

public section.

  methods CONSTRUCTOR
    importing
      !IV_XML type CLIKE
    raising
      ZCX_ABAPGIT_EXCEPTION .
  methods READ
    importing
      !IV_NAME type CLIKE
    changing
      !CG_DATA type ANY
    raising
      ZCX_ABAPGIT_EXCEPTION .
  methods GET_RAW
    returning
      value(RI_RAW) type ref to IF_IXML_DOCUMENT .
* todo, add read_xml to match add_xml in lcl_xml_output
  methods GET_METADATA
    returning
      value(RS_METADATA) type ZIF_ABAPGIT_DEFINITIONS=>TY_METADATA .
  PRIVATE SECTION.
    METHODS: fix_xml.

ENDCLASS.



CLASS ZCL_ABAPGIT_XML_INPUT IMPLEMENTATION.<commit_msg>fix indentation<commit_after>CLASS zcl_abapgit_xml_input DEFINITION
  PUBLIC
  INHERITING FROM zcl_abapgit_xml
  CREATE PUBLIC .

  PUBLIC SECTION.

    METHODS constructor
      IMPORTING
        !iv_xml TYPE clike
      RAISING
        zcx_abapgit_exception .
    METHODS read
      IMPORTING
        !iv_name TYPE clike
      CHANGING
        !cg_data TYPE any
      RAISING
        zcx_abapgit_exception .
    METHODS get_raw
      RETURNING
        VALUE(ri_raw) TYPE REF TO if_ixml_document .
* todo, add read_xml to match add_xml in lcl_xml_output
    METHODS get_metadata
      RETURNING
        VALUE(rs_metadata) TYPE zif_abapgit_definitions=>ty_metadata .
  PRIVATE SECTION.
    METHODS: fix_xml.

ENDCLASS.



CLASS ZCL_ABAPGIT_XML_INPUT IMPLEMENTATION.
{'fraction_non_alphanumeric': 0.03355704697986577, 'fraction_numerical': 0.0, 'mean_word_length': 2.8828125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2875393', 'n_tokens_mistral': 559, 'n_tokens_neox': 516, 'n_words': 122}