com.sapportals.portal.prt.util.html

Class HtmlLink

java.lang.Object
  extended by com.sapportals.portal.prt.util.html.HtmlAttributeContainer
      extended by com.sapportals.portal.prt.util.html.HtmlBase
          extended by com.sapportals.portal.prt.util.html.HtmlSinglePartElement
              extended by 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


Field Summary
protected  String m_hRef
          URL of related document.
protected  String m_rel
          Relationship to this page
protected  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(String href)
           
 
Method Summary
 String getHRef()
          Get the value of m_hRef.
 String getRel()
          Get the value of m_rel.
 String getType()
          Gets the value of m_type.
 void getUniqueHtmlCode(PrintWriter out)
          Deprecated.  
 void getUniqueHtmlCode(StringBuffer strbuf)
           
 void getUniqueHtmlCode(Writer out)
           
 String getUniqueId()
           
 void outputAttributes(PrintWriter out)
          Deprecated.  
 void outputAttributes(StringBuffer strbuf)
           
 void outputAttributes(Writer out)
           
 HtmlLink setHRef(String v)
          Set the value of m_hRef.
 HtmlLink setRel(String v)
          Set the value of m_rel.
 void setType(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, addIsThreadHTML5Compliant, addIsThreadXHTMLCompliant, appendToAttribute, destroy, getAttributes, isThreadHTML5Compliant, isThreadXHTMLCompliant, removeAttribute, removeIsThreadHTML5Compliant, removeIsThreadXHTMLCompliant
 
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 String m_rel
Relationship to this page


m_hRef

protected String m_hRef
URL of related document.


m_type

protected String m_type
The type of the link object

Constructor Detail

HtmlLink

public HtmlLink(String href)

HtmlLink

public HtmlLink()
Method Detail

outputAttributes

public void outputAttributes(StringBuffer strbuf)
Specified by:
outputAttributes in interface IHtmlAttributeContainer
Overrides:
outputAttributes in class HtmlAttributeContainer

outputAttributes

public void outputAttributes(PrintWriter out)
Deprecated. 

Specified by:
outputAttributes in interface IHtmlAttributeContainer
Overrides:
outputAttributes in class HtmlAttributeContainer

outputAttributes

public void outputAttributes(Writer out)
Specified by:
outputAttributes in interface IHtmlAttributeContainer
Overrides:
outputAttributes in class HtmlAttributeContainer

getUniqueId

public String getUniqueId()
Specified by:
getUniqueId in interface IHtmlUniqueObject

getUniqueHtmlCode

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

getUniqueHtmlCode

public void getUniqueHtmlCode(PrintWriter out)
Deprecated. 

Specified by:
getUniqueHtmlCode in interface IHtmlUniqueObject

getUniqueHtmlCode

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

getRel

public String getRel()
Get the value of m_rel.

Returns:
Value of m_rel.

setRel

public HtmlLink setRel(String v)
Set the value of m_rel.

Parameters:
v - Value to assign to m_rel.

getHRef

public String getHRef()
Get the value of m_hRef.

Returns:
Value of m_hRef.

setHRef

public HtmlLink setHRef(String v)
Set the value of m_hRef.

Parameters:
v - Value to assign to m_hRef.

getType

public String getType()
Gets the value of m_type.

Returns:
Value of m_type.

setType

public void setType(String v)
Sets the value of m_type.

Parameters:
v - Value to assign to m_type.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice