Ulm.XML.Render
Class Author

java.lang.Object
  |
  +--Ulm.XML.Render.Renderer
        |
        +--Ulm.XML.Render.Author

public class Author
extends Renderer

Example of the simple renderer to render the "Author" structure in NCBI XML documents. Company: Ulm university


Field Summary
static java.awt.Color color
          The color of the text, set to dark green.
 
Fields inherited from class Ulm.XML.Render.Renderer
height
 
Constructor Summary
Author()
           
 
Method Summary
 javax.swing.JComponent getComponent(org.w3c.dom.Node R)
          Returns JLabel, containing authors last name and initials.
 java.lang.String getNodeName()
          returns "Author", the heading tag for the NCBI Author structure
 void p(java.lang.String s)
          Override to display debug messages
 
Methods inherited from class Ulm.XML.Render.Renderer
cdir, getHeight, seek, seekInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

public static java.awt.Color color
The color of the text, set to dark green.

Constructor Detail

Author

public Author()
Method Detail

getNodeName

public java.lang.String getNodeName()
returns "Author", the heading tag for the NCBI Author structure

Specified by:
getNodeName in class Renderer

getComponent

public javax.swing.JComponent getComponent(org.w3c.dom.Node R)
Returns JLabel, containing authors last name and initials. The color is set to dark green.

Specified by:
getComponent in class Renderer

p

public void p(java.lang.String s)
Description copied from class: Renderer
Override to display debug messages

Overrides:
p in class Renderer