public abstract class HeaderElement extends AbstractXMLParent implements org.docgene.model.globals.XMLRootElement
chapters, 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 |
|---|
HeaderElement() |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getInputFile()
Return the element input XML file.
|
XMLImage |
getLeftImage()
Return the associated left image.
|
java.lang.String |
getPackage()
Return the article package.
|
XMLParent |
getParent()
Return null.
|
org.docgene.model.globals.RootDirectory |
getRoot()
Return the root directory.
|
boolean |
hasLeftImage()
Return true if there is an associated left image.
|
boolean |
hasPackage()
Return true if the article has a package.
|
void |
setInputFile(java.io.File file)
Set the element input XML file.
|
void |
setLeftImage(XMLImage image)
Set the associated left image.
|
void |
setPackage(java.lang.String pack)
Set the package ID of the 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, waitpublic XMLParent getParent()
public void setRoot(org.docgene.model.globals.RootDirectory root)
root - the rootpublic org.docgene.model.globals.RootDirectory getRoot()
getRoot in interface org.docgene.model.globals.RootElementpublic void setPackage(java.lang.String pack)
setPackage in interface org.docgene.model.globals.XMLRootElementpack - the package ID of the articlepublic java.lang.String getPackage()
getPackage in interface org.docgene.model.globals.PackagedElementgetPackage in interface org.docgene.model.globals.XMLRootElementpublic boolean hasPackage()
hasPackage in interface org.docgene.model.globals.PackagedElementhasPackage in interface org.docgene.model.globals.XMLRootElementpublic void setLeftImage(XMLImage image)
image - the imagepublic XMLImage getLeftImage()
public boolean hasLeftImage()
public void setInputFile(java.io.File file)
setInputFile in interface org.docgene.model.globals.XMLRootElementfile - the element input XML filepublic java.io.File getInputFile()
getInputFile in interface org.docgene.model.globals.RootElementCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence