EDIT: As of Java 8, static methods are now allowed in interfaces.
Here\'s the example:
public interface IXMLizable
Normally this is done using a Factory pattern
public interface IXMLizableFactory { public T newInstanceFromXML(Element e); } public interface IXMLizable { public Element toXMLElement(); }