All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.html.HtmlLink

java.lang.Object
   |
   +----w3c.jigsaw.html.HtmlLink

public class HtmlLink
extends Object

Constructor Index

 o HtmlLink(String)
Create a link with only HREF part (not very useful)
 o HtmlLink(String, String)
Create a link with only REL and HREF part
 o HtmlLink(String, String, String)
Create a link with only REL and HREF part
 o HtmlLink(String, String, String, String)
Create a complete link

Method Index

 o toString()
genereate a String representation that can be append in a HTML document

Constructors

 o HtmlLink
 public HtmlLink(String rel,
                 String href)
Create a link with only REL and HREF part

Parameters:
rel, - String part of rel
href, - String form of an URL or relative URL
 o HtmlLink
 public HtmlLink(String href)
Create a link with only HREF part (not very useful)

Parameters:
href, - String form of an URL or relative URL
 o HtmlLink
 public HtmlLink(String rev,
                 String rel,
                 String href)
Create a link with only REL and HREF part

Parameters:
rev, - String definition of rev
rel, - String definition of rel
href, - String form of an URL or relative URL
 o HtmlLink
 public HtmlLink(String rev,
                 String rel,
                 String href,
                 String title)
Create a complete link

Parameters:
rev, - String definition of rev
rel, - String definition of rel
href, - String form of an URL or relative URL
title, - String title

Methods

 o toString
 public String toString()
genereate a String representation that can be append in a HTML document

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index