    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

##

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

##

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

##

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

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

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

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

##

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