Site.Home
public static class Site.Page extends Site.Source
Modifier and Type | Class | Description |
---|---|---|
static class |
Site.Page.Generated |
Modifier and Type | Field | Description |
---|---|---|
protected List<Site.Page.Generated> |
generateds |
|
List<String> |
labels |
site
Constructor | Description |
---|---|
Page() |
Modifier and Type | Method | Description |
---|---|---|
Optional<Site.Page> |
findPage(Predicate<Site.Page> criteria) |
|
List<Site.Attachment> |
getAttachments() |
|
List<Site.Page> |
getChildren() |
|
List<String> |
getComputedLabels() |
|
List<Site.Page.Generated> |
getGenerateds() |
Gets the value of the generateds property.
|
List<String> |
getLabels() |
|
Site.Page |
getParent() |
|
URI |
getUri() |
|
Boolean |
isIgnoreVariables() |
|
void |
setAttachment(Site.Attachment attachment) |
need for XmlMapper
|
void |
setChild(Site.Page child) |
need for XmlMapper
|
void |
setIgnoreVariables(Boolean value) |
|
void |
setIgnoreVariablesDeprecated(Boolean value) |
Deprecated.
|
void |
setLabel(String label) |
need for XmlMapper
|
void |
setParent(Site.Page p) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getRelativeUri, setName, setUri, toString
protected List<Site.Page.Generated> generateds
public final void setParent(Site.Page p)
public final Site.Page getParent()
public void setLabel(String label)
label
- public void setChild(Site.Page child)
child
- public List<Site.Attachment> getAttachments()
public void setAttachment(Site.Attachment attachment)
attachment
- public URI getUri()
getUri
in class Site.Source
public Boolean isIgnoreVariables()
@Deprecated public void setIgnoreVariablesDeprecated(Boolean value)
public void setIgnoreVariables(Boolean value)
public List<Site.Page.Generated> getGenerateds()
This accessor method returns a reference to the live list, not a snapshot.
Therefore any modification you make to the returned list will be present
inside the JAXB object. This is why there is not a set
method
for the generateds property.
For example, to add a new item, do as follows:
getGenerateds().add(newItem);
Objects of the following type(s) are allowed in the list Site.Page.Generated
Copyright © 2023. All rights reserved.