All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.lespaul361.commons.commonroutines.utilities.Streams.XML.Attribute Maven / Gradle / Ivy

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.github.lespaul361.commons.commonroutines.utilities.Streams.XML;

/**
 * XML attributes are normally used to describe XML elements, or to provide
 * additional information about elements.
 *
 *
 *
 * @author Charles Hamilton
 */
public class Attribute {

    private String value;
    private String name;

    /**
     * Constructs an Attribute with the value and the name defined
     *
     * @param value value of the attribute
     * @param name name of the attribute
     */
    public Attribute(String value, String name) {
        this.value = value;
        this.name = name;
    }

    /**
     * @return the value
     */
    public String getValue() {
        return value;
    }

    /**
     * @param value the value to set
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy