I am new to java and I came across a statement in a java project which says:
Digester digester = DigesterLoader.createDigester(getClass() .getClassLoader().getResource("rules.xml"));
rules.xml file contains various patterns and every pattern has different attributes like classname ,methodname and some another properties.
i googled about digester but couldn't found anything useful that could help me with the statement above. can anyone just tell me what are the steps followed in executing above statement ? In fact what is the advantage of this XML stuff ?