I am trying to use JAXB annotation @XmlElement
on function which returns a object.
Function is:
@XmlElement(name= "properties")
public Object getX(XType x){
return new ListimplementClass(x.getList());
}
Its returning only <properties/>
, not the content inside.
Could you please help me in resolving this issue?