|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.Resource
com.cete.dynamicpdf.Tag
com.cete.dynamicpdf.StructureElement
public class StructureElement
Represents a structure element.
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
|---|---|
StructureElement(TagType tag)
Initializes a new instance of the StructureElement class. |
|
StructureElement(TagType tag,
boolean includeDefaultAttributes)
Initializes a new instance of the StructureElement class. |
|
| Method Summary | |
|---|---|
void |
draw(DocumentWriter writer)
Draws the structure element to the given DocumentWriter object. |
java.lang.String |
getAbbreviation()
Gets a value indicating expandable form of an abbreviation. |
java.lang.String |
getActualText()
Gets a value indicating the text that is exact replacement for the structure element. |
java.lang.String |
getAlternateText()
Gets a value indicating alternate description of the structure element. |
AttributeTypeList |
getAttributeLists()
Gets an AttributeTypeList to which AttributeObject to be added. |
AttributeClassList |
getClasses()
Gets an AttributeClassList to which AttributeClass to be added. |
java.lang.String |
getIdentifier()
Gets a value indicating identifier for the structure element. |
boolean |
getIncludeDefaultAttributes()
Gets a value indicating default attributes to be include. |
java.lang.String |
getLanguage()
Gets a value indicating natural language for all text in the structure element. |
int |
getOrder()
Gets a value indicating the order in its parent structure element or structure tree root. |
StructureElement |
getParent()
Gets a value indicating parent structure element. |
TagType |
getTagType()
Gets a value indicating standard structure type or named structure type. |
java.lang.String |
getTitle()
Gets a value indicating title of structure element. |
void |
setAbbreviation(java.lang.String abbreviation)
Sets a value indicating expandable form of an abbreviation. |
void |
setActualText(java.lang.String actualText)
Sets a value indicating the text that is exact replacement for the structure element. |
void |
setAlternateText(java.lang.String alternateText)
Sets a value indicating alternate description of the structure element. |
void |
setIdentifier(java.lang.String identifier)
Sets a value indicating identifier for the structure element. |
void |
setIncludeDefaultAttributes(boolean includeDefaultAttributes)
Sets a value indicating default attributes to be include. |
void |
setLanguage(java.lang.String language)
Sets a value indicating natural language for all text in the structure element. |
void |
setOrder(int order)
Sets or sets a value indicating the order in its parent structure element or structure tree root. |
void |
setParent(StructureElement structureElementParent)
Sets a value indicating parent structure element. |
void |
setTitle(java.lang.String title)
Sets a value indicating title of structure element. |
java.lang.String |
toString()
Gets the ID of the structure element. |
| Methods inherited from class com.cete.dynamicpdf.Resource |
|---|
getRequiredPdfObjects, getResourceType, getUid, newUid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StructureElement(TagType tag)
StructureElement class.
tag - Tag type of the structure element identifying the nature of the structure element and its role.
public StructureElement(TagType tag,
boolean includeDefaultAttributes)
StructureElement class.
tag - Tag type of the structure element identifying the nature of the structure element and its role.includeDefaultAttributes - Specifes if default attributes need to be added.| Method Detail |
|---|
public StructureElement getParent()
StructureElement object.public void setParent(StructureElement structureElementParent)
structureElementParent - The parent StructureElement object.public int getOrder()
public void setOrder(int order)
order - The order or the position in the structure hierarchy.public TagType getTagType()
getTagType in class TagStructureElement representing page element in structure.public java.lang.String getTitle()
StructureElement title which characterize the structure element.public void setTitle(java.lang.String title)
title - The String value indicating the StructureElement title which characterize the structure element.public java.lang.String getIdentifier()
StructureElement in the structure heirachy which should be unique.public void setIdentifier(java.lang.String identifier)
identifier - The identifier designating StructureElement in the structure heirachy which should be unique.public java.lang.String getLanguage()
StructureElement. Eg: "en-US".public void setLanguage(java.lang.String language)
language - The language for all text in the StructureElement. Eg: "en-US".public java.lang.String getAlternateText()
public void setAlternateText(java.lang.String alternateText)
alternateText - alternate description of the structure element.public java.lang.String getAbbreviation()
public void setAbbreviation(java.lang.String abbreviation)
abbreviation - A string value represeting the expandable form of an abbreviation.public java.lang.String getActualText()
public void setActualText(java.lang.String actualText)
actualText - actualText for structure element.public AttributeClassList getClasses()
AttributeClassList to which AttributeClass to be added.
AttributeClass to be added.public boolean getIncludeDefaultAttributes()
public void setIncludeDefaultAttributes(boolean includeDefaultAttributes)
includeDefaultAttributes - specifies whether to add default attributes.public AttributeTypeList getAttributeLists()
AttributeTypeList to which AttributeObject to be added.
AttributeObject to be added.public java.lang.String toString()
toString in class java.lang.Objectpublic void draw(DocumentWriter writer)
DocumentWriter object.
draw in class Resourcewriter - DocumentWriter object to receive the structure element output.DocumentWriter
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||