com.sapportals.portal.prt.util.html
Class HtmlLink

java.lang.Object
  |
  +--com.sapportals.portal.prt.util.html.HtmlAttributeContainer
        |
        +--com.sapportals.portal.prt.util.html.HtmlBase
              |
              +--com.sapportals.portal.prt.util.html.HtmlSinglePartElement
                    |
                    +--com.sapportals.portal.prt.util.html.HtmlLink
All Implemented Interfaces:
IHtmlAttributeContainer, IHtmlBase, IHtmlOutputable, IHtmlUniqueObject

public class HtmlLink
extends HtmlSinglePartElement
implements IHtmlUniqueObject

HtmlLink.java Created: Thu Nov 18 11:23:08 1999

Version:
$Revision: #3 $

Field Summary
protected  java.lang.String m_hRef
          URL of related document.
protected  java.lang.String m_rel
          Relationship to this page
protected  java.lang.String m_type
          The type of the link object
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlSinglePartElement
m_name
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlBase
m_hasTag
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
EQUALS_BEGIN, EQUALS_END, m_attributes, SPACE
 
Constructor Summary
HtmlLink()
           
HtmlLink(java.lang.String href)
           
 
Method Summary
 java.lang.String getHRef()
          Get the value of m_hRef.
 java.lang.String getRel()
          Get the value of m_rel.
 java.lang.String getType()
          Gets the value of m_type.
 void getUniqueHtmlCode(java.io.PrintWriter out)
          Deprecated.  
 void getUniqueHtmlCode(java.lang.StringBuffer strbuf)
           
 void getUniqueHtmlCode(java.io.Writer out)
           
 java.lang.String getUniqueId()
           
 void outputAttributes(java.io.PrintWriter out)
          Deprecated.  
 void outputAttributes(java.lang.StringBuffer strbuf)
           
 void outputAttributes(java.io.Writer out)
           
 HtmlLink setHRef(java.lang.String v)
          Set the value of m_hRef.
 HtmlLink setRel(java.lang.String v)
          Set the value of m_rel.
 void setType(java.lang.String v)
          Sets the value of m_type.
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlSinglePartElement
getElementCount, getName, output, output, output, setName, toString
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlBase
getTag, hasTag, requireClosingTag, requireClosingTag, setClass, setStyle, setTag
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
addAttribute, appendToAttribute, destroy, getAttributes, removeAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sapportals.portal.prt.util.html.IHtmlOutputable
destroy, getElementCount, output, output, output, toString
 

Field Detail

m_rel

protected java.lang.String m_rel
Relationship to this page

m_hRef

protected java.lang.String m_hRef
URL of related document.

m_type

protected java.lang.String m_type
The type of the link object
Constructor Detail

HtmlLink

public HtmlLink(java.lang.String href)

HtmlLink

public HtmlLink()
Method Detail

outputAttributes

public void outputAttributes(java.lang.StringBuffer strbuf)
Overrides:
outputAttributes in class HtmlAttributeContainer

outputAttributes

public void outputAttributes(java.io.PrintWriter out)
Deprecated.  

Overrides:
outputAttributes in class HtmlAttributeContainer
Following copied from interface: com.sapportals.portal.prt.util.html.IHtmlAttributeContainer
Parameters:
writer -  

outputAttributes

public void outputAttributes(java.io.Writer out)
Overrides:
outputAttributes in class HtmlAttributeContainer

getUniqueId

public java.lang.String getUniqueId()
Specified by:
getUniqueId in interface IHtmlUniqueObject

getUniqueHtmlCode

public void getUniqueHtmlCode(java.lang.StringBuffer strbuf)
Specified by:
getUniqueHtmlCode in interface IHtmlUniqueObject

getUniqueHtmlCode

public void getUniqueHtmlCode(java.io.PrintWriter out)
Deprecated.  

Specified by:
getUniqueHtmlCode in interface IHtmlUniqueObject
Following copied from interface: com.sapportals.portal.prt.util.html.IHtmlUniqueObject
Parameters:
writer -  

getUniqueHtmlCode

public void getUniqueHtmlCode(java.io.Writer out)
Specified by:
getUniqueHtmlCode in interface IHtmlUniqueObject

getRel

public java.lang.String getRel()
Get the value of m_rel.
Returns:
Value of m_rel.

setRel

public HtmlLink setRel(java.lang.String v)
Set the value of m_rel.
Parameters:
v - Value to assign to m_rel.

getHRef

public java.lang.String getHRef()
Get the value of m_hRef.
Returns:
Value of m_hRef.

setHRef

public HtmlLink setHRef(java.lang.String v)
Set the value of m_hRef.
Parameters:
v - Value to assign to m_hRef.

getType

public java.lang.String getType()
Gets the value of m_type.
Returns:
Value of m_type.

setType

public void setType(java.lang.String v)
Sets the value of m_type.
Parameters:
v - Value to assign to m_type.