AHA
Class Link

java.lang.Object
  |
  +--AHA.Link

public class Link
extends java.lang.Object


Constructor Summary
Link(AHA AHA, org.w3c.dom.Node linkNode)
           
 
Method Summary
 java.lang.String FilterLink(org.w3c.dom.Node anchorNode)
          given an anchorNode change the 'class' attribute according to the user's knowledge
 java.lang.String hasVisited(java.lang.String h)
          Used for adjusting the color of the anchor
 java.lang.String isGood(java.lang.String href)
          Used for adjusting the color of the anchor
 void print(java.lang.Object s)
           
 java.lang.StringBuffer printChildNodes(org.w3c.dom.Node node, boolean t)
           
 void println(java.lang.Object s)
           
 void setAHA(AHA AHA)
           
 void setNode(org.w3c.dom.Node node)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Link

public Link(AHA AHA,
            org.w3c.dom.Node linkNode)
Method Detail

println

public void println(java.lang.Object s)

print

public void print(java.lang.Object s)

setAHA

public void setAHA(AHA AHA)

setNode

public void setNode(org.w3c.dom.Node node)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hasVisited

public java.lang.String hasVisited(java.lang.String h)
Used for adjusting the color of the anchor
Parameters:
h - name of page

isGood

public java.lang.String isGood(java.lang.String href)
Used for adjusting the color of the anchor
Parameters:
href - name of page

FilterLink

public java.lang.String FilterLink(org.w3c.dom.Node anchorNode)
                            throws AhaException
given an anchorNode change the 'class' attribute according to the user's knowledge
Parameters:
anchorNode - the anchor object

printChildNodes

public java.lang.StringBuffer printChildNodes(org.w3c.dom.Node node,
                                              boolean t)