    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.html.HtmlLink

    java.lang.Object
       |
       +----org.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, MimeType)
  Create a link with only REL, HREF, and type part
HtmlLink(String, String, String)
  Create a link with only REL and HREF part
HtmlLink(String, String, String, MimeType)
  Create a link with only REV, REL, HREF, and type part
HtmlLink(String, String, String, MimeType, String)
  Create a link with REV, REL, HREF, type and title
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 rel,
                     String href,
                     MimeType type)

  Create a link with only REL, HREF, and type part

  Parameters:
    rel, - String part of rel
    href, - String form of an URL or relative URL
    type, - mimetype

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,
                     MimeType type)

  Create a link with only REV, REL, HREF, and type part

  Parameters:
    rev, - String definition of rev
    rel, - String part of rel
    href, - String form of an URL or relative URL
    type, - mimetype

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

HtmlLink

     public HtmlLink(String rev,
                     String rel,
                     String href,
                     MimeType type,
                     String title)

  Create a link with REV, REL, HREF, type and title

  Parameters:
    rev, - String definition of rev
    rel, - String part of rel
    href, - String form of an URL or relative URL
    type, - mimetype
    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