com.opensymphony.webwork.sitegraph.model
Class Link

java.lang.Object
  extended by com.opensymphony.webwork.sitegraph.model.Link
All Implemented Interfaces:
Render, Comparable

public class Link
extends Object
implements Render, Comparable

User: plightbo Date: Jun 26, 2005 Time: 4:50:33 PM


Field Summary
static int TYPE_ACTION
           
static int TYPE_FORM
           
static int TYPE_HREF
           
static int TYPE_REDIRECT
           
static int TYPE_RESULT
           
 
Constructor Summary
Link(SiteGraphNode from, SiteGraphNode to, int type, String label)
           
 
Method Summary
 int compareTo(Object o)
           
 void render(IndentWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_FORM

public static final int TYPE_FORM
See Also:
Constant Field Values

TYPE_ACTION

public static final int TYPE_ACTION
See Also:
Constant Field Values

TYPE_HREF

public static final int TYPE_HREF
See Also:
Constant Field Values

TYPE_RESULT

public static final int TYPE_RESULT
See Also:
Constant Field Values

TYPE_REDIRECT

public static final int TYPE_REDIRECT
See Also:
Constant Field Values
Constructor Detail

Link

public Link(SiteGraphNode from,
            SiteGraphNode to,
            int type,
            String label)
Method Detail

render

public void render(IndentWriter writer)
            throws IOException
Specified by:
render in interface Render
Throws:
IOException

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

WebWork Project Page