- java.lang.Object
-
- com.itextpdf.text.factories.ElementFactory
-
public class ElementFactory extends java.lang.ObjectThis class is able to create Element objects based on a list of properties.
-
-
Constructor Summary
Constructors Constructor Description ElementFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnchorgetAnchor(java.util.Properties attributes)Creates an Anchor object based on a list of properties.static AnnotationgetAnnotation(java.util.Properties attributes)Creates an Annotation object based on a list of properties.static CellgetCell(java.util.Properties attributes)Creates a Cell object based on a list of properties.static ChapterAutoNumbergetChapter(java.util.Properties attributes)Creates a ChapterAutoNumber object based on a list of properties.static ChunkgetChunk(java.util.Properties attributes)Creates a Chunk object based on a list of properties.static ImagegetImage(java.util.Properties attributes)Creates an Image object based on a list of properties.static ListgetList(java.util.Properties attributes)Creates a List object based on a list of properties.static ListItemgetListItem(java.util.Properties attributes)Creates a ListItem object based on a list of properties.static ParagraphgetParagraph(java.util.Properties attributes)Creates a Paragraph object based on a list of properties.static PhrasegetPhrase(java.util.Properties attributes)Creates a Phrase object based on a list of properties.static SectiongetSection(Section parent, java.util.Properties attributes)Creates a Section object based on a list of properties.static TablegetTable(java.util.Properties attributes)Creates an Table object based on a list of properties.
-
-
-
Method Detail
-
getChunk
public static Chunk getChunk(java.util.Properties attributes)
Creates a Chunk object based on a list of properties.- Parameters:
attributes-- Returns:
- a Chunk
-
getPhrase
public static Phrase getPhrase(java.util.Properties attributes)
Creates a Phrase object based on a list of properties.- Parameters:
attributes-- Returns:
- a Phrase
-
getAnchor
public static Anchor getAnchor(java.util.Properties attributes)
Creates an Anchor object based on a list of properties.- Parameters:
attributes-- Returns:
- an Anchor
-
getParagraph
public static Paragraph getParagraph(java.util.Properties attributes)
Creates a Paragraph object based on a list of properties.- Parameters:
attributes-- Returns:
- a Paragraph
-
getListItem
public static ListItem getListItem(java.util.Properties attributes)
Creates a ListItem object based on a list of properties.- Parameters:
attributes-- Returns:
- a ListItem
-
getList
public static List getList(java.util.Properties attributes)
Creates a List object based on a list of properties.- Parameters:
attributes-- Returns:
- the List
-
getCell
public static Cell getCell(java.util.Properties attributes)
Creates a Cell object based on a list of properties.- Parameters:
attributes-- Returns:
- a Cell
-
getTable
public static Table getTable(java.util.Properties attributes)
Creates an Table object based on a list of properties.- Parameters:
attributes-- Returns:
- a Table
-
getChapter
public static ChapterAutoNumber getChapter(java.util.Properties attributes)
Creates a ChapterAutoNumber object based on a list of properties.- Parameters:
attributes-- Returns:
- a Chapter
-
getSection
public static Section getSection(Section parent, java.util.Properties attributes)
Creates a Section object based on a list of properties.- Parameters:
attributes-- Returns:
- a Section
-
getImage
public static Image getImage(java.util.Properties attributes) throws BadElementException, java.net.MalformedURLException, java.io.IOException
Creates an Image object based on a list of properties.- Parameters:
attributes-- Returns:
- an Image
- Throws:
BadElementExceptionjava.net.MalformedURLExceptionjava.io.IOException
-
getAnnotation
public static Annotation getAnnotation(java.util.Properties attributes)
Creates an Annotation object based on a list of properties.- Parameters:
attributes-- Returns:
- an Annotation
-
-