public class XMLIndex extends XMLArticle
desc, idINDEX, 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 |
|---|
XMLIndex()
Constructor.
|
XMLIndex(boolean isConcurrent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getArticleType()
Return the article type.
|
java.lang.String |
getReferTo()
Return the article id on which the index is referring to.
|
XMLParentArticle |
getReferToArticle()
Set the article on which the index is referring to.
|
boolean |
isGlobalIndex()
Return true if the index is the global index.
|
boolean |
isIndex()
Return true.
|
boolean |
isReferingTo()
Return true if the index is refering to an article.
|
void |
setDescription(java.lang.String id,
java.lang.String desc,
boolean keepCase)
Do nothing.
|
void |
setGlobalIndex(boolean isGlobalIndex)
Set if the index is the global index.
|
void |
setReferTo(java.lang.String referTo)
Set the article id on which the index is referring to.
|
void |
setReferTo(XMLParentArticle referToArticle)
Set the article on which the index is referring to.
|
addAlternateTitle, addAnchor, addCategory, addChapter, addChapter, addComment, addInclude, addInfobox, addMap, addMessageBox, addNote, addResolvedChapter, addResolvedTitle, addSeeAlsoReference, addTitle, addTitle, addTodo, articleNameAlreadyTaken, compareTo, countSortableTables, countTitles, equals, getAlternateTitles, getAlternateTitlesMap, getAnchor, getAnchorElements, getAnchors, getArticle, getArticleRef, getCategories, getDescription, getHeader, getHeader, getID, getIncludes, getInfoboxes, getInputFile, getJustification, getLinksFromFile, getMaps, getMessageBoxes, getMeta, getNote, getNotes, getNotesByID, getOutputFile, getPackage, getParent, getRelativePath, getReviewElements, getSearchableTitles, getSeeAlso, getSeeAlsoHeading, getSuffix, getSyntaxType, getTitledElementsList, getTitlesOrIncludes, hasAnchor, hasAnchorElement, hasAnchors, hashCode, hasID, hasImageMaps, hasIncludes, hasInfoboxes, hasMaps, hasMessageBoxes, hasNote, hasPackage, hasReviewElements, hasSearchableTitles, hasTitledElementsList, hasTitles, hasTOC, incrementSortableTables, isDirect, isKeepingCase, isNotesTwoColumns, isTemplate, isTitlesResolved, isXMLArticle, resolveTitles, setArticleNameAlreadyTaken, setCategories, setHasImageMaps, setID, setInputFile, setJustification, setKeepCase, setLinksFromFile, setMeta, setNotesTwoColumns, setOutputFile, setPackage, setRelativePath, setSeeAlsoHeading, setSuffix, setSyntaxType, setTemplate, setTitledElementsList, setTOC, toStringaddArticleParent, addLinkFromArticle, addReference, addReference, getArticleParents, getCondition, getLinksFrom, getReferences, getRoot, hasCondition, hasImages, isPresent, setCondition, setImages, setLinkFromArticles, setRootaddParagraph, getChapters, getParagraphs, isEmptyclone, finalize, getClass, notify, notifyAll, wait, wait, waithasNotesgetNormalizedAlternateTitles, getRef, getRootElementType, getTitle, hasAlternateTitles, hasSuffix, isDirectXMLArticle, isRawHTMLArticle, isValidgetAbsolutePath, hasInputFile, isParsablehasRoot, isArticle, isFallback, notExistingInputFileaddParagraph, getChapters, getParagraphs, isEmptypublic XMLIndex()
public XMLIndex(boolean isConcurrent)
isConcurrent - true for concurrent parsingpublic void setGlobalIndex(boolean isGlobalIndex)
isGlobalIndex - true if the index is the global indexpublic boolean isGlobalIndex()
public short getArticleType()
getArticleType in interface org.docgene.model.ArticlegetArticleType in class XMLArticlepublic void setDescription(java.lang.String id,
java.lang.String desc,
boolean keepCase)
setDescription in interface org.docgene.model.ArticlesetDescription in class XMLArticleid - the article iddesc - the article descriptionkeepCase - true if the article description should keep the title description casepublic boolean isIndex()
isIndex in interface org.docgene.model.ArticleisIndex in class XMLArticlepublic void setReferTo(java.lang.String referTo)
referTo - the article idpublic java.lang.String getReferTo()
public void setReferTo(XMLParentArticle referToArticle)
referToArticle - the articlepublic XMLParentArticle getReferToArticle()
public boolean isReferingTo()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence