It is possible to join this project by writing a specialised renderer for the certain bioinformatical XML data structure.

For all persons who would decide to submit such code, a certain sub-projects will be created.

Such renderer is a java class. This class must be derived from
Ulm.XML.Render.Renderer. You must override two methods:

1. public String getNodeName() should return the name of the top node for the data
structure for that you plan to write the alternative, more convenient presentation.

2. public JComponent getComponent(Node R) must provide a JComponent that should be displayed
as an information, starting from the node R. This method will only be called if the
top node of the structure has the name, returned by getNodeName(). The vertical size
of the component must be returned can be obtained by calling Renderer method
getHeight().

Renderer also contains several additional built-in methods to access the XML tree structures
more easily. The following complete example explains how to use them:

public class Author extends Renderer {
/** returns "Author", the heading tag for the NCBI Author structure */
public String getNodeName() { return "Author"; };

/** Returns JLabel, containing authors last name and initials.*/
public JComponent getComponent(Node R)
{
Node n = cdir(R,"Author_name/Person-id/Person-id_name/Name-std");
if (n==null) return null; // Important: return null if the structure is unexpected
JLabel c = new JLabel();

try {
String last = seek(n,"Name-std_last/#text");
String initials = seek(n,"Name-std_initials/#text");
c.setText(last+" "+initials);
} catch (Exception exc)
{ exc.printStackTrace();
return null;
};
return c;
};
}