public static class XMLFooter.XMLFooterPart
extends org.docgene.model.HeaderElement
ARTICLE, 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 |
|---|
XMLFooterPart(XMLFooter footer,
boolean isLeft)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.docgene.model.HTMLOutput root)
Return true if the footer part should be created for an element.
|
java.lang.String |
getID() |
java.util.Set<java.lang.Short> |
getOnProperties()
Return the set of properties which need to be defined for this part to be present (can be null).
|
short |
getRootElementType()
Return the
RootElement.FOOTER type. |
java.lang.String |
getText()
Return the footer part text.
|
boolean |
hasOnProperties(short property)
Return true if a property of a specified type needs to be defined for this part to be present.
|
boolean |
hasText()
Return true if the footer part has text.
|
boolean |
isLeft()
Return true if this is the left footer.
|
boolean |
onProperty(short property)
Add a property which needs to be defined for this part to be present.
|
void |
setText(java.lang.String text)
Set the footer part text.
|
java.lang.String |
toString() |
getInputFile, getLeftImage, getPackage, getParent, getRoot, hasLeftImage, hasPackage, setInputFile, setLeftImage, setPackage, setRootaddParagraph, getParagraphs, isEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic XMLFooterPart(XMLFooter footer, boolean isLeft)
footer - the footerisLeft - true if this is a left footer partpublic void setText(java.lang.String text)
text - the textpublic boolean hasText()
public java.lang.String getText()
public boolean accept(org.docgene.model.HTMLOutput root)
root - the elementpublic boolean onProperty(short property)
property - the property typepublic java.util.Set<java.lang.Short> getOnProperties()
public boolean hasOnProperties(short property)
property - the property typepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isLeft()
public java.lang.String getID()
public short getRootElementType()
RootElement.FOOTER type.Copyright © 2016-2026 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence