public class ElementFactory extends Object
| Constructor and Description |
|---|
ElementFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Anchor |
getAnchor(Properties attributes)
Creates an Anchor object based on a list of properties.
|
static Annotation |
getAnnotation(Properties attributes)
Creates an Annotation object based on a list of properties.
|
static Cell |
getCell(Properties attributes)
Creates a Cell object based on a list of properties.
|
static ChapterAutoNumber |
getChapter(Properties attributes)
Creates a ChapterAutoNumber object based on a list of properties.
|
static Chunk |
getChunk(Properties attributes)
Creates a Chunk object based on a list of properties.
|
static Image |
getImage(Properties attributes)
Creates an Image object based on a list of properties.
|
static List |
getList(Properties attributes)
Creates a List object based on a list of properties.
|
static ListItem |
getListItem(Properties attributes)
Creates a ListItem object based on a list of properties.
|
static Paragraph |
getParagraph(Properties attributes)
Creates a Paragraph object based on a list of properties.
|
static Phrase |
getPhrase(Properties attributes)
Creates a Phrase object based on a list of properties.
|
static Section |
getSection(Section parent,
Properties attributes)
Creates a Section object based on a list of properties.
|
static Table |
getTable(Properties attributes)
Creates an Table object based on a list of properties.
|
public static Chunk getChunk(Properties attributes)
attributes - The properties to base the parameters onpublic static Phrase getPhrase(Properties attributes)
attributes - The properties to base the parameters onpublic static Anchor getAnchor(Properties attributes)
attributes - The properties to base the parameters onpublic static Paragraph getParagraph(Properties attributes)
attributes - The properties to base the parameters onpublic static ListItem getListItem(Properties attributes)
attributes - The properties to base the parameters onpublic static List getList(Properties attributes)
attributes - The properties to base the parameters onpublic static Cell getCell(Properties attributes)
attributes - The properties to base the parameters onpublic static Table getTable(Properties attributes)
attributes - The properties to base the parameters onpublic static ChapterAutoNumber getChapter(Properties attributes)
attributes - The properties to base the parameters onpublic static Section getSection(Section parent, Properties attributes)
attributes - The attributes to base the parameters onparent - The parent Section to add a Section topublic static Image getImage(Properties attributes) throws BadElementException, IOException
attributes - The properties to base the Image onIOException - thrown if an I/O problem occursBadElementException - the exception thrown when the Element doesn't have the right formpublic static Annotation getAnnotation(Properties attributes)
attributes - The properties to base the Annotation onCopyright © 2024. All rights reserved.