public class XMLFooter extends HeaderElement
| Modifier and Type | Class and Description |
|---|---|
static class |
XMLFooter.XMLFooterPart
A left or right footer.
|
| Modifier and Type | Field and Description |
|---|---|
static short |
ARTICLE_VERSION
The articleVersion property.
|
static short |
ERRORS
The errors property.
|
static short |
PACKAGE_PROPERTY
The package property.
|
static short |
VERSION
The version property.
|
paragraphsARTICLE, 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 |
|---|
XMLFooter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
XMLFooter.XMLFooterPart |
addFooterPart(boolean isLeft)
Add a footer left or right part.
|
java.util.List<java.lang.String> |
getAdditionalContent()
Return the optional footer additional content.
|
XMLFooter.XMLFooterPart |
getFooterPart(boolean isLeft)
Return the left or right footer part.
|
java.lang.String |
getID() |
short |
getRootElementType()
Return the
RootElement.FOOTER type. |
java.lang.String |
getText()
Return the footer text.
|
boolean |
hasFooterPart(boolean isLeft)
Return true if there is a left or right footer part.
|
boolean |
hasFooterParts()
Return true if there is a left or right footer part.
|
boolean |
hasLocalMacros()
Return true if the footer has local macros.
|
boolean |
hasText()
Return true if the footer has text.
|
void |
setAdditionalContent(java.util.List<java.lang.String> content)
Set the optional footer additional content.
|
void |
setHasLocalMacros(boolean hasLocalMacros)
Set if the footer has local macros.
|
void |
setText(java.lang.String text)
Set the footer text.
|
getInputFile, getLeftImage, getPackage, getParent, getRoot, hasLeftImage, hasPackage, setInputFile, setLeftImage, setPackage, setRootaddParagraph, getParagraphs, isEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final short VERSION
public static final short ARTICLE_VERSION
public static final short PACKAGE_PROPERTY
public static final short ERRORS
public void setText(java.lang.String text)
text - the textpublic java.lang.String getText()
public boolean hasText()
public void setHasLocalMacros(boolean hasLocalMacros)
hasLocalMacros - true if the footer has local macrospublic boolean hasLocalMacros()
public XMLFooter.XMLFooterPart getFooterPart(boolean isLeft)
isLeft - true for the left footer partisLeft is false)public boolean hasFooterParts()
public boolean hasFooterPart(boolean isLeft)
isLeft - true for the left footer partisLeft is false)public XMLFooter.XMLFooterPart addFooterPart(boolean isLeft)
isLeft - true for the left footer partpublic void setAdditionalContent(java.util.List<java.lang.String> content)
content - the content lines of textpublic java.util.List<java.lang.String> getAdditionalContent()
public short getRootElementType()
RootElement.FOOTER type.public java.lang.String getID()
Copyright © 2016-2026 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence