public static class Navigation.Element
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Navigation.Element.Type
Type of the navigation element
|
Modifier and Type | Method and Description |
---|---|
Page |
getPage()
Returns the underlying page.
|
java.lang.String |
getPath()
Returns the escaped path of the underlying page.
|
java.lang.String |
getRawTitle()
Returns the unescaped navigation title of the underlying page.
|
java.lang.String |
getTitle()
Returns the escaped navigation title of the underlying page.
|
Navigation.Element.Type |
getType()
Returns the element type.
|
boolean |
hasChildren()
Checks if the this element has children.
|
boolean |
isCurrent()
Checks if this element is the current one.
|
boolean |
isFirst()
Checks if this element is the first of it's siblings.
|
boolean |
isLast()
Checks if this element is the last of it's siblings.
|
boolean |
isOnTrail()
Checks if this element is on the trail.
|
public Navigation.Element.Type getType()
public Page getPage()
public java.lang.String getPath()
Text.escape(String, char, boolean)
public java.lang.String getRawTitle()
Page.getNavigationTitle()
,
Page.getTitle()
,
Page.getName()
public java.lang.String getTitle()
StringEscapeUtils.escapeHtml4(String)
Page.getNavigationTitle()
,
Page.getTitle()
,
Page.getName()
public boolean hasChildren()
true
for
Navigation.Element.Type.NODE_OPEN
and Navigation.Element.Type.NODE_CLOSE
elements.true
if the current element has children.public boolean isOnTrail()
true
if this element is on the trail.public boolean isCurrent()
true
if this element is the current one.public boolean isFirst()
true
if this element is the first of it's siblings.public boolean isLast()
true
if this element is the last of it's siblings."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"