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.HtmlBase |
m_hasTag |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
HtmlLink
public HtmlLink(java.lang.String href)
HtmlLink
public HtmlLink()
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.