ca.intelliware.amakihi.actor.http
Class Anchor

java.lang.Object
  |
  +--ca.intelliware.amakihi.actor.http.Anchor

public class Anchor
extends java.lang.Object

An HTML <a> element.

Version:
$Revision: 1.3 $
Author:
Intelliware Development

Constructor Summary
Anchor(java.net.URL url, org.w3c.dom.Element element)
           
 
Method Summary
 java.lang.String describe()
          Finds the best possible short description of the form.
 java.net.URL getFullyQualifiedURL()
           
 java.lang.String getHref()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Anchor

public Anchor(java.net.URL url,
              org.w3c.dom.Element element)
Method Detail

getHref

public java.lang.String getHref()

getFullyQualifiedURL

public java.net.URL getFullyQualifiedURL()
                                  throws java.net.MalformedURLException

describe

public java.lang.String describe()

Finds the best possible short description of the form.

Returns:
String - the id attribute, the name attribute or the action attribute (whichever is found first);


Copyright 2002 Intelliware Development. All Rights Reserved.