You may annotate setters and not fields, and then make setter parse value to two fields.
You may annotate setters and not fields, and then make setter parse value to two fields: @XmlElement(name="element") void setElement(String value) { // parse value StringTokenizer st = new StringTokenizer(value, "()"); this. One = st.nextToken().trim(); this. Two = st.nextToken().trim(); }.
Not exactly the solution I was hoping for but it works well :) ty – Sam Jul 21 at 13:00.
I think it's a bad practice, because the unmarchalling system play with markers separators only. You can split the line after unmarchalling the xml. Why not use this xml format : valuesomething.
The xml side is not under my control. – Sam Jul 19 at 13:36.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.