Klasse DocLink
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.toolkit.util.DocLink
Abstraction for simple relative URIs, consisting of a path and an
optional fragment.
DocLink objects can be created by the constructors
below or from a DocPath using the convenience
fragment
method.
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic DocLink
Creates a DocLink representing the URI #fragment.relativizeAgainst
(DocPath base) Creates a DocLink formed by relativizing the path against a given base.toString()
Returns the link in the form “path#fragment”, omitting any empty components.withFragment
(String fragment)
-
Konstruktordetails
-
DocLink
Creates a DocLink representing the URI path.- Parameter:
path
- the path
-
DocLink
Creates a DocLink representing the URI path#fragment.Any of the component parts may be null.
- Parameter:
path
- the pathfragment
- the fragment
-
DocLink
Creates a DocLink representing the URI path#fragment.Any of the component parts may be null.
- Parameter:
path
- the pathfragment
- the fragment
-
-
Methodendetails
-
fragment
Creates a DocLink representing the URI #fragment.- Parameter:
fragment
- the fragment- Gibt zurück:
- the DocLink
-
relativizeAgainst
Creates a DocLink formed by relativizing the path against a given base.- Parameter:
base
- the base- Gibt zurück:
- the DocLink
-
withFragment
-
toString
Returns the link in the form “path#fragment”, omitting any empty components.
-