StructureAttributes

Inheritance: java.lang.Object

public class StructureAttributes

Represents attributes of structure element for standard attribute owners.

Methods

MethodDescription
getEngineAttributes()
getOwner()Gets standard attribute owner.
getAttribute(AttributeKey key)Gets StructureAttribute by AttributeKey.
hasAttribute(AttributeKey key)
setAttribute(StructureAttribute attribute)Sets StructureAttribute into StructureAttributes.

getEngineAttributes()

public final IPdfDictionary getEngineAttributes()

Returns: IPdfDictionary

getOwner()

public final AttributeOwnerStandard getOwner()

Gets standard attribute owner.

Value: Standard attribute owner.

Returns: AttributeOwnerStandard - AttributeOwnerStandard instance

getAttribute(AttributeKey key)

public final StructureAttribute getAttribute(AttributeKey key)

Gets StructureAttribute by AttributeKey.

Parameters:

ParameterTypeDescription
keyAttributeKeyAttributeKey.

Returns: StructureAttribute - StructureAttribute instance

hasAttribute(AttributeKey key)

public final boolean hasAttribute(AttributeKey key)

Parameters:

ParameterTypeDescription
keyAttributeKey

Returns: boolean

setAttribute(StructureAttribute attribute)

public final void setAttribute(StructureAttribute attribute)

Sets StructureAttribute into StructureAttributes.

Parameters:

ParameterTypeDescription
attributeStructureAttributeStructureAttribute.