TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.core.internal
Class DLink

java.lang.Object
  extended by org.eclipse.tptp.platform.report.core.internal.DItem
      extended by org.eclipse.tptp.platform.report.core.internal.DItemContainer
          extended by org.eclipse.tptp.platform.report.core.internal.DLink
All Implemented Interfaces:
IDItem, IDLink, IDObject, IDParagraphItem

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class DLink
extends DItemContainer
implements IDParagraphItem, IDLink

A DLink allows to define links in a document and create hypertext document. by referencing a DTag. A DLink describes a link to a document, a section and a tag. The target is described as a string.

See Also:
utility class

Constructor Summary
DLink()
          Deprecated. Creates a DLink with an empty target.
DLink(java.lang.String target)
          Deprecated. Creates a DLink whose target is the parameter target.
DLink(java.lang.String a_method, java.lang.String a_path)
          Deprecated. Creates a DLink whose target is a_path and method is a_method.
 
Method Summary
 IDItem getLinkedItem()
          Deprecated. Returns this
 java.lang.String getTarget()
          Deprecated. Returns the link target
 void setTarget(java.lang.String a_target)
          Deprecated. Sets the target (method and path) for this link.
 
Methods inherited from class org.eclipse.tptp.platform.report.core.internal.DItemContainer
clear, getChildCount, getChildOfClass, getChildPosition, getChildrenOfClass, getFirstChild, getLastChild, insertChild, isContainer, removeChild
 
Methods inherited from class org.eclipse.tptp.platform.report.core.internal.DItem
addChild, getAppliedStyle, getIterator, getNext, getParent, getRoot, getStyle, setNext, setParent, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.tptp.platform.report.core.internal.IDItem
addChild, clear, getAppliedStyle, getChildCount, getChildPosition, getFirstChild, getIterator, getLastChild, getNext, getParent, getRoot, getStyle, insertChild, isContainer, removeChild, setNext, setParent, setStyle
 

Constructor Detail

DLink

public DLink(java.lang.String target)
Deprecated. 
Creates a DLink whose target is the parameter target.


DLink

public DLink(java.lang.String a_method,
             java.lang.String a_path)
Deprecated. 
Creates a DLink whose target is a_path and method is a_method.
path must not specify any method.

Parameters:
a_method - a method identifier from IDLink interface.
a_target - target of the link.

DLink

public DLink()
Deprecated. 
Creates a DLink with an empty target.

Method Detail

getTarget

public java.lang.String getTarget()
Deprecated. 
Returns the link target

Specified by:
getTarget in interface IDLink
Returns:
the current value of the target property
See Also:
IDLink.getTarget()

getLinkedItem

public IDItem getLinkedItem()
Deprecated. 
Returns this

Specified by:
getLinkedItem in interface IDLink
Returns:
IDItem associated with this link.
See Also:
IDLink.getLinkedItem()

setTarget

public void setTarget(java.lang.String a_target)
Deprecated. 
Sets the target (method and path) for this link. If a_target is null this method sets automatically linktarget as a target.

Specified by:
setTarget in interface IDLink
See Also:
DLinkUtil.buildTarget(java.lang.String, java.lang.String)

TPTP 4.5.0 Platform Project
Internal API Specification