Package org.apache.fop.pdf
Class StandardStructureTypes
- java.lang.Object
-
- org.apache.fop.pdf.StandardStructureTypes
-
public final class StandardStructureTypes extends java.lang.Object
Standard structure types, as defined in section 10.7.4 of the PDF Reference, Fourth Edition (PDF 1.5).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StandardStructureTypes.Grouping
static class
StandardStructureTypes.Illustration
static class
StandardStructureTypes.InlineLevelStructure
static class
StandardStructureTypes.List
static class
StandardStructureTypes.Paragraphlike
static class
StandardStructureTypes.RubyOrWarichu
private static class
StandardStructureTypes.StructureTypeImpl
static class
StandardStructureTypes.Table
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<java.lang.String,StructureType>
STRUCTURE_TYPES
-
Constructor Summary
Constructors Modifier Constructor Description private
StandardStructureTypes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StructureType
get(java.lang.String name)
Returns the standard structure type of the given name.
-
-
-
Field Detail
-
STRUCTURE_TYPES
private static final java.util.Map<java.lang.String,StructureType> STRUCTURE_TYPES
-
-
Method Detail
-
get
public static StructureType get(java.lang.String name)
Returns the standard structure type of the given name.- Parameters:
name
- the name of a structure type, case sensitive. For example, Document, Sect, H1, etc.- Returns:
- the corresponding
StructureType
instance, ornull
if the given name does not correspond to a standard structure type
-
-