StructureAttributeCollection

Inheritance: java.lang.Object

public class StructureAttributeCollection

Represents collection of attributes of structure elements.

Constructors

ConstructorDescription
StructureAttributeCollection(IPdfPrimitive entityA, StructureElement structureElement)
StructureAttributeCollection(StructureElement structureElement)

Methods

MethodDescription
getEngineAttributeCollection()
getAttributes(AttributeOwnerStandard ownerStandard)Return StructureAttributes of structure element by standard attribute owner.
createAttributes(AttributeOwnerStandard ownerStandard)Create and return StructureAttributes of structure element by standard attribute owner.

StructureAttributeCollection(IPdfPrimitive entityA, StructureElement structureElement)

public StructureAttributeCollection(IPdfPrimitive entityA, StructureElement structureElement)

Parameters:

ParameterTypeDescription
entityAIPdfPrimitive
structureElementStructureElement

StructureAttributeCollection(StructureElement structureElement)

public StructureAttributeCollection(StructureElement structureElement)

Parameters:

ParameterTypeDescription
structureElementStructureElement

getEngineAttributeCollection()

public final IPdfPrimitive getEngineAttributeCollection()

Returns: IPdfPrimitive

getAttributes(AttributeOwnerStandard ownerStandard)

public final StructureAttributes getAttributes(AttributeOwnerStandard ownerStandard)

Return StructureAttributes of structure element by standard attribute owner.

Parameters:

ParameterTypeDescription
ownerStandardAttributeOwnerStandardStandard attribute owner.

Returns: StructureAttributes - StructureAttributes of structure element. Return null if not found.

createAttributes(AttributeOwnerStandard ownerStandard)

public final StructureAttributes createAttributes(AttributeOwnerStandard ownerStandard)

Create and return StructureAttributes of structure element by standard attribute owner.

Parameters:

ParameterTypeDescription
ownerStandardAttributeOwnerStandardStandard attribute owner.

Returns: StructureAttributes - StructureAttributes of structure element. Structure Attributes will be created if it needed.