public interface ArticleReference extends ParagraphElement, ElementReference
TYPE_NONE
Modifier and Type | Method and Description |
---|---|
default void |
bind(XMLParentArticle article)
Set the referenced article.
|
default void |
bind(XMLParentArticle article,
AnchorElement anchor)
Set the referenced article and associated anchor.
|
default AnchorElement |
getAnchorElement()
Return the referenced anchor element.
|
ArticleRef |
getArticleRef()
Return the associated reference.
|
java.lang.String |
getDesc()
Return the reference text.
|
XMLParentArticle |
getReferencedArticle()
Return the referenced article.
|
java.lang.String |
getRefID()
Return the other article reference ID.
|
default java.lang.String |
getRefPackage()
Return the article reference package.
|
default boolean |
isAutoDesc()
Return true if the description has been set automatically.
|
default boolean |
isBareReference()
Return true for a bare reference pointing directly to a File.
|
boolean |
isBound()
Return true if the reference is bound.
|
default void |
setDesc(java.lang.String desc)
Set the reference text.
|
getCustomStyles, getDeclaration, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
getLineNumber, hasLineNumber
java.lang.String getRefID()
XMLArticle.getDescription()
XMLArticle.getID()
XMLParentArticle getReferencedArticle()
ArticleRef getArticleRef()
default AnchorElement getAnchorElement()
java.lang.String getDesc()
default void setDesc(java.lang.String desc)
desc
- the reference textdefault boolean isAutoDesc()
default java.lang.String getRefPackage()
default boolean isBareReference()
default void bind(XMLParentArticle article)
article
- the referenced articledefault void bind(XMLParentArticle article, AnchorElement anchor)
article
- the referenced articleanchor
- the anchorboolean isBound()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence