StructureAttribute
Inheritance: java.lang.Object
public class StructureAttribute
Represents attribute of structure element.
Constructors
Constructor | Description |
---|---|
StructureAttribute(AttributeKey attributeKey) | Initializes a new instance of the StructureAttribute. |
StructureAttribute(AttributeKey attributeKey, IPdfPrimitive pdfEntity) |
Methods
Method | Description |
---|---|
getKey() | Gets attribute key. |
getNameValue() | Gets Value Name. |
getStringValue() | Gets Value String. |
getNumberValue() | Gets Value Number. |
getArrayValue() | Gets Value Name Array. |
getArrayNumberValue() | Gets Value Number Array. |
setNameValue(AttributeName name) | Sets Value Name. |
setStringValue(String value) | Sets Value String. |
setNumberValue(double number) | Sets Value Number. |
setArrayValue(AttributeName[] array) | Sets Value Name Array. |
setArrayNumberValue(Double[][] arrayNumber) | Sets Value Number Array. |
setColorValue(Color color) | Sets Value Color. |
setRectangleValue(Rectangle rectangle) | Sets Value Rectangle. |
isInitializedValue() | Gets status of structure attribute value. |
StructureAttribute(AttributeKey attributeKey)
public StructureAttribute(AttributeKey attributeKey)
Initializes a new instance of the StructureAttribute.
Parameters:
Parameter | Type | Description |
---|---|---|
attributeKey | AttributeKey | Attribute Key |
StructureAttribute(AttributeKey attributeKey, IPdfPrimitive pdfEntity)
public StructureAttribute(AttributeKey attributeKey, IPdfPrimitive pdfEntity)
Parameters:
Parameter | Type | Description |
---|---|---|
attributeKey | AttributeKey | |
pdfEntity | IPdfPrimitive |
getKey()
public final AttributeKey getKey()
Gets attribute key.
Value: Attribute Key.
Returns: AttributeKey - AttributeKey instance
getNameValue()
public final AttributeName getNameValue()
Gets Value Name.
Returns: AttributeName - Value Name.
getStringValue()
public final String getStringValue()
Gets Value String.
Returns: java.lang.String - Value String.
getNumberValue()
public final Double[] getNumberValue()
Gets Value Number.
Returns: java.lang.Double[] - Value Number.
getArrayValue()
public final AttributeName[] getArrayValue()
Gets Value Name Array.
Returns: com.aspose.pdf.tagged.logicalstructure.AttributeName[] - Value Name Array.
getArrayNumberValue()
public final Double[][] getArrayNumberValue()
Gets Value Number Array.
Returns: java.lang.Double[][] - Value Number Array.
setNameValue(AttributeName name)
public final void setNameValue(AttributeName name)
Sets Value Name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | AttributeName | Allowable Value Name. |
setStringValue(String value)
public final void setStringValue(String value)
Sets Value String.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | Value String. |
setNumberValue(double number)
public final void setNumberValue(double number)
Sets Value Number.
Parameters:
Parameter | Type | Description |
---|---|---|
number | double | Value Number. |
setArrayValue(AttributeName[] array)
public final void setArrayValue(AttributeName[] array)
Sets Value Name Array.
Parameters:
Parameter | Type | Description |
---|---|---|
array | AttributeName[] | Array of allowable Value Names. |
setArrayNumberValue(Double[][] arrayNumber)
public final void setArrayNumberValue(Double[][] arrayNumber)
Sets Value Number Array.
Parameters:
Parameter | Type | Description |
---|---|---|
arrayNumber | java.lang.Double[][] | Array of Numbers. |
setColorValue(Color color)
public final void setColorValue(Color color)
Sets Value Color.
Parameters:
Parameter | Type | Description |
---|---|---|
color | Color | Color. |
setRectangleValue(Rectangle rectangle)
public final void setRectangleValue(Rectangle rectangle)
Sets Value Rectangle.
Parameters:
Parameter | Type | Description |
---|---|---|
rectangle | Rectangle | Rectangle. |
isInitializedValue()
public final boolean isInitializedValue()
Gets status of structure attribute value. True if value is set.
Returns: boolean - boolean value