com.sapportals.portal.prt.util.html

Class HtmlLink

java.lang.Object
  extended bycom.sapportals.portal.prt.util.html.HtmlAttributeContainer
      extended bycom.sapportals.portal.prt.util.html.HtmlBase
          extended bycom.sapportals.portal.prt.util.html.HtmlSinglePartElement
              extended bycom.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, 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 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
Parameters:
out -

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.


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.