public class XMLMoreInfo extends AbstractMoreInfoRef
XMLSeeArticle
desc, id, idMayBeDesc, rawID
TYPE_NONE
Constructor and Description |
---|
XMLMoreInfo(Article article)
Constructor.
|
XMLMoreInfo(Article article,
java.lang.String refID,
java.lang.String pack)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addInfo(XMLMoreInfoRef ref)
Add a child reference.
|
int |
countInfos()
Return the number of children references.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.util.List<XMLMoreInfoRef> |
getInfos()
Return the children references.
|
boolean |
hasInfos()
Return true if there are children references.
|
boolean |
hasUniqueRef()
Return true if this is a unique reference.
|
boolean |
isValid()
Return true if the moreInfo element is valid.
|
getDescription
bind, bind, getAnchorElement, getArticleRef, getCustomStyles, getDesc, getInlinedStyle, getLineNumber, getOriginArticle, getReferencedArticle, getRefID, getRefPackage, getStyle, isAutoDesc, isBareReference, isBound, setCustomStyles, setDesc, setInlinedStyle, setLineNumber, setLowerCase, setStyle, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
hasInlinedStyle, setCustomStyles
hasLineNumber
public XMLMoreInfo(Article article)
article
- the article which emit the referencepublic XMLMoreInfo(Article article, java.lang.String refID, java.lang.String pack)
article
- the article which emit the referencerefID
- the other article IDpack
- the packagepublic java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
getDeclaration
in class XMLReference
public void addInfo(XMLMoreInfoRef ref)
ref
- the referencepublic boolean hasUniqueRef()
public boolean isValid()
public boolean hasInfos()
public int countInfos()
public java.util.List<XMLMoreInfoRef> getInfos()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence