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

com.github.linushp.commons.xmlstring.xmlelement.StringElement Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package com.github.linushp.commons.xmlstring.xmlelement;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;

public class StringElement {

    private String id;
    private String name;
    private String content;


    @XmlAttribute(name = "id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    @XmlAttribute(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    @XmlValue
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy