Class AutoLinkResolver.PathInfo
- java.lang.Object
-
- org.apache.wicket.markup.resolver.AutoLinkResolver.PathInfo
-
- Enclosing class:
- AutoLinkResolver
public static final class AutoLinkResolver.PathInfo extends Object
Encapsulates different aspects of a path. For instance, the pathorg.apache.wicket.markup.html.tree.Tree/tree.css
has extensioncss
, is relative (absolute == true) and has no page parameters.
-
-
Constructor Summary
Constructors Constructor Description PathInfo(String reference, MarkupContainer container, MarkupStream markupStream)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnchor()
Gets the anchor (e.g.MarkupContainer
getContainer()
Gets container.String
getExtension()
Gets extension.MarkupStream
getMarkupStream()
Gets markup streamPageParameters
getPageParameters()
Gets pageParameters.String
getPath()
Gets path.String
getReference()
Gets reference.boolean
isAbsolute()
Gets absolute.
-
-
-
Constructor Detail
-
PathInfo
public PathInfo(String reference, MarkupContainer container, MarkupStream markupStream)
Construct.- Parameters:
reference
- the original reference (e.g the full value of a href attribute)
-
-
Method Detail
-
getExtension
public final String getExtension()
Gets extension.- Returns:
- extension
-
getPageParameters
public final PageParameters getPageParameters()
Gets pageParameters.- Returns:
- pageParameters
-
getReference
public final String getReference()
Gets reference.- Returns:
- reference
-
isAbsolute
public final boolean isAbsolute()
Gets absolute.- Returns:
- absolute
-
getContainer
public MarkupContainer getContainer()
Gets container.- Returns:
- container
-
getMarkupStream
public MarkupStream getMarkupStream()
Gets markup stream- Returns:
- markup stream
-
-