XML stands for Extensible Markup Language. It is language similar to HTML used for creating arbitrarily-structured document. The languages based on or that operate on XML. There are languages to navigate through it and its more tree-oriented structure.
public class MyTask { // 'doIt' method that does some function/task... public void run() throws SomeException { // do something... } // Properties, can be any type public void setX(int x) { this.x = x; } public void setY(String y) { this.y = y; } }