public interface IDElement
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Return the element description.
|
java.lang.String |
getID()
Returns the element id.
|
java.net.URL |
getURL()
Return the URL of the element.
|
java.lang.String |
getURLAsString(java.net.URL baseURL)
Return the element associated URL as a String.
|
default boolean |
hasDescription()
Return true if the element has a description.
|
boolean |
hasURL()
Return true if the element has an associated URL.
|
default boolean |
isTemplate()
Return true if this element is a template.
|
void |
setDescription(java.lang.String desc)
Set the element description.
|
default void |
setURL(java.io.File file)
Sets the element associated file.
|
void |
setURL(java.net.URL url)
Sets the element associated URL.
|
java.lang.String getID()
default void setURL(java.io.File file)
file
- the filevoid setURL(java.net.URL url)
url
- the URLboolean hasURL()
java.lang.String getURLAsString(java.net.URL baseURL)
baseURL
- the base URLjava.net.URL getURL()
void setDescription(java.lang.String desc)
desc
- the descriptionjava.lang.String getDescription()
default boolean hasDescription()
default boolean isTemplate()
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence