diff -r 9f6225d83611 -r 40b7aa9126d0 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 Mon Nov 07 20:31:44 2011 +0100 @@ -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; + } }