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

java.lang.Object
  |
  +--com.sapportals.portal.prt.util.html.HtmlAttributeContainer
        |
        +--com.sapportals.portal.prt.util.html.HtmlBase
              |
              +--com.sapportals.portal.prt.util.html.HtmlContainer
                    |
                    +--com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
                          |
                          +--com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
                                |
                                +--com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithEvents
                                      |
                                      +--com.sapportals.portal.prt.util.html.HtmlAnchor
All Implemented Interfaces:
IHtmlAttributeContainer, IHtmlBase, IHtmlEventListener, IHtmlIdentifiable, IHtmlOutputable

public class HtmlAnchor
extends HtmlContainerIdentifiableWithEvents

HtmlAnchor.java Created: Tue Nov 23 10:45:09 1999

Version:
$Revision: #3 $

Inner classes inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
HtmlContainerIdentifiableWithUniqueManager.HtmlUniqueObjectFacade
 
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_target
          TARGET indicates which frame in a set of frames to send the results to, and works just like .
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithEvents
m_onClick, m_onDoubleClick, m_onKeyDown, m_onKeyPress, m_onKeyUp, m_onMouseOut, m_onMouseOver
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
m_uniqueObjectList, m_uniqueObjects
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
m_htmlElements
 
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
HtmlAnchor()
           
 
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 getTarget()
          Get the value of m_target.
 void outputAttributes(java.io.PrintWriter out)
          Deprecated.  
 void outputAttributes(java.lang.StringBuffer strbuf)
           
 void outputAttributes(java.io.Writer out)
           
 HtmlAnchor setHRef(java.lang.String v)
          Set the value of m_hRef.
 HtmlAnchor setRel(java.lang.String v)
          Set the value of m_rel.
 HtmlAnchor setTarget(java.lang.String v)
          Set the value of m_target.
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithEvents
getOnClick, getOnDoubleClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseOut, getOnMouseOver, setOnClick, setOnClick, setOnDblClick, setOnDoubleClick, setOnKeyDown, setOnKeyDown, setOnKeyPress, setOnKeyPress, setOnKeyUp, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOut, setOnMouseOver, setOnMouseOver, setOnMouseUp
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
addUniqueObject, addUniqueObject, destroy, getElementCount, getUniqueObject, getUniqueObjects, output, output, output, removeAllUniqueObjects, removeUniqueObject
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
setID
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
addElement, addElement, getHtmlElements, outputChildren, outputChildren, outputEndTag, outputEndTag, outputStartTag, outputStartTag, removeAllElements, removeElement, setHtmlElements, 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, 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.IHtmlIdentifiable
setClass
 

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_target

protected java.lang.String m_target
TARGET indicates which frame in a set of frames to send the results to, and works just like . This attribute can be used so that the form is always visible even as the form results are displayed and redisplayed.
Constructor Detail

HtmlAnchor

public HtmlAnchor()
Method Detail

outputAttributes

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

outputAttributes

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

Overrides:
outputAttributes in class HtmlContainerIdentifiableWithEvents
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 HtmlContainerIdentifiableWithEvents

getRel

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

setRel

public HtmlAnchor 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 HtmlAnchor setHRef(java.lang.String v)
Set the value of m_hRef.
Parameters:
v - Value to assign to m_hRef.

getTarget

public java.lang.String getTarget()
Get the value of m_target.
Returns:
Value of m_target.

setTarget

public HtmlAnchor setTarget(java.lang.String v)
Set the value of m_target.
Parameters:
v - Value to assign to m_target.