public class XMLHeader extends HeaderElement implements HTMLOutput
chapters, paragraphs
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 |
---|
XMLHeader()
Constructor.
|
XMLHeader(java.lang.String rightText)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile()
Return the additional header output file.
|
java.lang.String |
getID() |
java.lang.String |
getLeftText()
Return the header left Text.
|
java.io.File |
getOutputFile()
Return the HTML root element output file.
|
java.lang.String |
getRightText()
Return the header right text.
|
short |
getRootElementType()
Return the
RootElement.HEADER type. |
boolean |
hasLeftText()
Return true if the header has a left text.
|
boolean |
hasRightText()
Return true if the header has a right text.
|
void |
setFile(java.io.File file)
Set the additional header file.
|
void |
setLeftText(java.lang.String leftText)
Set the header leftText.
|
getInputFile, getLeftImage, getPackage, getParent, getRoot, hasLeftImage, hasPackage, setInputFile, setLeftImage, setPackage, setRoot
addChapter, addParagraph, getChapters, getParagraphs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasOutputFile
public XMLHeader(java.lang.String rightText)
rightText
- the header right textpublic XMLHeader()
public void setLeftText(java.lang.String leftText)
leftText
- the header left textpublic java.io.File getOutputFile()
getOutputFile
in interface HTMLOutput
public void setFile(java.io.File file)
file
- the additional header file.public java.io.File getFile()
public java.lang.String getLeftText()
public boolean hasLeftText()
public java.lang.String getRightText()
public boolean hasRightText()
public short getRootElementType()
RootElement.HEADER
type.getRootElementType
in interface org.docgene.model.globals.RootElement
public java.lang.String getID()
getID
in interface org.docgene.model.globals.RootElement
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence