<commit_before>package org.codehaus.xfire.exchange;

import java.util.HashMap;
import java.util.Map;

import org.codehaus.xfire.attachments.Attachments;
import org.codehaus.xfire.soap.Soap11;
import org.codehaus.xfire.soap.SoapVersion;
import org.codehaus.xfire.soap.SoapVersionFactory;
import org.codehaus.xfire.transport.Channel;
import org.codehaus.yom.Element;

public abstract class AbstractMessage
{
    public static final String ANONYMOUS_URI = "urn:codehaus:xfire:anonymous";

    private Element header;
    private String uri;
    private String encoding = "UTF-8";
    private String action;
    private Object body;
    private Attachments attachments;
    private SoapVersion soapVersion = Soap11.getInstance();
    private Channel channel;
    private Map properties = new HashMap();

    public Object getBody()
    {
        return body;
    }

    public void setBody(Object body)
    {
        this.body = body;
    }

    public Channel getChannel()
    {
        return channel;
    }

    public void setChannel(Channel channel)
    {
        this.channel = channel;
    }

    public SoapVersion getSoapVersion()
    {
        return soapVersion;
    }

    public void setSoapVersion(String soapVersion)
    {
        this.soapVersion = SoapVersionFactory.getInstance().getSoapVersion(soapVersion);
    }

    public void setSoapVersion(SoapVersion soapVersion)
    {
        this.soapVersion = soapVersion;
    }
    
    public String getEncoding()
    {
        return encoding;
    }

    public void setEncoding(String encoding)
    {
        this.encoding = encoding;
    }

    public String getAction()
    {
        return action;
    }

    public void setAction(String action)
    {
        this.action = action;
    }

    public Element getHeader()
    {
        return header;
    }

    public void setHeader(Element header)
    {
        this.header = header;
    }

    public String getUri()
    {
        return uri;
    }
<commit_msg>missed a file to make ws-a work<commit_after>package org.codehaus.xfire.exchange;

import java.util.HashMap;
import java.util.Map;

import org.codehaus.xfire.attachments.Attachments;
import org.codehaus.xfire.soap.Soap11;
import org.codehaus.xfire.soap.SoapVersion;
import org.codehaus.xfire.soap.SoapVersionFactory;
import org.codehaus.xfire.transport.Channel;
import org.codehaus.yom.Element;

public abstract class AbstractMessage
{
    public static final String ANONYMOUS_URI = "urn:codehaus:xfire:anonymous";

    private Element header;
    private String uri;
    private String encoding = "UTF-8";
    private String action;
    private Object body;
    private Attachments attachments;
    private SoapVersion soapVersion = Soap11.getInstance();
    private Channel channel;
    private Map properties = new HashMap();

    public Object getBody()
    {
        return body;
    }

    public void setBody(Object body)
    {
        this.body = body;
    }

    public Channel getChannel()
    {
        return channel;
    }

    public void setChannel(Channel channel)
    {
        this.channel = channel;
    }

    public SoapVersion getSoapVersion()
    {
        return soapVersion;
    }

    public void setSoapVersion(String soapVersion)
    {
        this.soapVersion = SoapVersionFactory.getInstance().getSoapVersion(soapVersion);
    }

    public void setSoapVersion(SoapVersion soapVersion)
    {
        this.soapVersion = soapVersion;
    }
    
    public String getEncoding()
    {
        return encoding;
    }

    public void setEncoding(String encoding)
    {
        this.encoding = encoding;
    }

    public String getAction()
    {
        return action;
    }

    public void setAction(String action)
    {
        this.action = action;
    }

    public Element getHeader()
    {
        if (header == null)
        {
            header = new Element(getSoapVersion().getPrefix() + ":Header", getSoapVersion().getNamespace());
        }
        return header;
    }

    public void setHeader(Element header)
    {
        this.header = header;
    }

    public String getUri()
    {
        return uri;
    }

{'fraction_non_alphanumeric': 0.08375695957395304, 'fraction_numerical': 0.002420721374969741, 'mean_word_length': 2.5106202209005946, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '6817101', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1176, 'n_words': 286}