public abstract class AbstractXMLParentArticle extends AbstractXMLParent implements XMLParentArticle
chapters, paragraphsINDEX, INDEX_LC, TYPE_ARTICLE, TYPE_DISAMB, TYPE_FALLBACK, TYPE_INDEX, TYPE_RAW_HTML, TYPE_REDIRECT, TYPE_TEMPLATEARTICLE, CATEGORIES, CATEGORY, DICTIONARY, FOOTER, FULL_TEXT_SEARCH, GLOSSARY, HEADER, IMAGE_DEFINITION, IMAGES_DEFINITION, INFOBOX_DEFINITION, INFOBOX_PROPERTY, MENUS, PACKAGE, RESOURCE_DEFINITION, RESOURCES_DEFINITION, UNDEFINED| Constructor and Description |
|---|
AbstractXMLParentArticle() |
| Modifier and Type | Method and Description |
|---|---|
void |
addArticleParent(XMLParentArticle article)
Add an article which include this article.
|
void |
addLinkFromArticle(XMLParentArticle article)
Add an article from which there is a reference to this article.
|
void |
addReference(ArticleRef ref)
Add an article reference.
|
void |
addReference(XMLParentArticle article)
Add an article reference.
|
java.util.Map<java.lang.String,XMLParentArticle> |
getArticleParents()
Return the articles which include this article.
|
org.docgene.model.conditions.DefaultCondition |
getCondition()
Return the condition for the article.
|
java.util.SortedMap<java.lang.String,XMLParentArticle> |
getLinksFrom()
Return the articles from which there is a reference to this article.
|
java.util.Set<ArticleRef> |
getReferences()
Return the references used in the article.
|
org.docgene.model.globals.RootDirectory |
getRoot()
Return the root directory.
|
boolean |
hasCondition()
Return true if the article has a condition.
|
boolean |
hasImages()
Return true if this article has at least one image.
|
boolean |
isPresent()
Return true if the article is present.
|
void |
setCondition(org.docgene.model.conditions.DefaultCondition condition)
Set the condition for the article.
|
void |
setImages()
Set that this article has at least one image.
|
void |
setLinkFromArticles(java.util.SortedMap<java.lang.String,XMLParentArticle> linksFrom)
Set the articles from which there is a reference to this article.
|
void |
setRoot(org.docgene.model.globals.RootDirectory root)
Set the root directory.
|
addChapter, addParagraph, getChapters, getParagraphs, isEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountSortableTables, getAnchor, getAnchorElements, getAnchors, getIncludes, getInfoboxes, getLinksFromFile, getMessageBoxes, getNotes, getReviewElements, getSearchableTitles, getSeeAlso, getSeeAlsoHeading, getTitledElementsList, hasAnchor, hasAnchors, hasIncludes, hasInfoboxes, hasMessageBoxes, hasNotes, hasTitledElementsList, incrementSortableTables, isGlobalIndex, isNotesTwoColumns, isXMLArticle, setLinksFromFile, setOutputFileaddAlternateTitle, articleNameAlreadyTaken, getAlternateTitles, getAlternateTitlesMap, getArticle, getArticleType, getCategories, getDescription, getHeader, getHeader, getID, getMaps, getMeta, getNormalizedAlternateTitles, getPackage, getRef, getRootElementType, getSuffix, getTitle, hasAlternateTitles, hasID, hasImageMaps, hasMaps, hasSearchableTitles, hasSuffix, hasTOC, isDirect, isDirectXMLArticle, isIndex, isKeepingCase, isRawHTMLArticle, isTemplate, isValid, setArticleNameAlreadyTaken, setDescription, setID, setSuffixgetAbsolutePath, getRelativePath, hasInputFile, hasPackage, isParsable, setInputFile, setPackagegetInputFile, hasRoot, isArticle, isFallback, notExistingInputFileaddChapter, addParagraph, getChapters, getParagraphs, getParent, isEmptygetOutputFile, hasOutputFilepublic void setCondition(org.docgene.model.conditions.DefaultCondition condition)
condition - the conditionpublic boolean hasCondition()
hasCondition in interface Articlepublic boolean isPresent()
public org.docgene.model.conditions.DefaultCondition getCondition()
public void setImages()
public boolean hasImages()
public void addLinkFromArticle(XMLParentArticle article)
addLinkFromArticle in interface XMLParentArticlearticle - the articlepublic void setLinkFromArticles(java.util.SortedMap<java.lang.String,XMLParentArticle> linksFrom)
setLinkFromArticles in interface XMLParentArticlelinksFrom - the articles from which there is a reference to this articlepublic java.util.SortedMap<java.lang.String,XMLParentArticle> getLinksFrom()
getLinksFrom in interface XMLParentArticlepublic void addArticleParent(XMLParentArticle article)
addArticleParent in interface XMLParentArticlearticle - the articlepublic java.util.Map<java.lang.String,XMLParentArticle> getArticleParents()
getArticleParents in interface XMLParentArticlepublic void addReference(ArticleRef ref)
addReference in interface Articleref - the article referencepublic void addReference(XMLParentArticle article)
article - the articlepublic java.util.Set<ArticleRef> getReferences()
getReferences in interface Articlepublic void setRoot(org.docgene.model.globals.RootDirectory root)
public org.docgene.model.globals.RootDirectory getRoot()
getRoot in interface org.docgene.model.globals.RootElementCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence