diff -r 9f6225d83611 -r bebec432330a java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/ClanekXML.java --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/ClanekXML.java Tue Apr 06 02:38:47 2010 +0200 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/ClanekXML.java Tue Apr 23 21:43:37 2013 +0200 @@ -8,48 +8,47 @@ * Převaděč do XML * @author fiki */ -@XmlRootElement(name="clanek") +@XmlRootElement(name = "clanek") public class ClanekXML { - private Clanek clanek; + private Clanek clanek; - public ClanekXML() { - clanek = new Clanek(); - } + public ClanekXML() { + clanek = new Clanek(); + } - public ClanekXML(Clanek clanek) { - this.clanek = clanek; - } + public ClanekXML(Clanek clanek) { + this.clanek = clanek; + } - @XmlElement - public int getId() { - return clanek.getId(); - } + @XmlElement + public int getId() { + return clanek.getId(); + } - public void setId(int id) { - clanek.setId(id); - } + public void setId(int id) { + clanek.setId(id); + } - @XmlElement - public String getNadpis() { - return clanek.getNadpis(); - } + @XmlElement + public String getNadpis() { + return clanek.getNadpis(); + } - public void setNadpis(String nadpis) { - clanek.setNadpis(nadpis); - } + public void setNadpis(String nadpis) { + clanek.setNadpis(nadpis); + } - @XmlElement - public String getText() { - return clanek.getText(); - } + @XmlElement + public String getText() { + return clanek.getText(); + } - public void setText(String text) { - clanek.setText(text); - } + public void setText(String text) { + clanek.setText(text); + } - public Clanek getClanek() { - return clanek; - } - + public Clanek getClanek() { + return clanek; + } }