| Modifier and Type | Field and Description |
|---|---|
| protected static final float | UNSPECIFIED
An "unspecified" default float value. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PDStandardAttributeObject(COSDictionary
the dictionary dictionary)Creates a new standard attribute object with a given dictionary. |
| Modifier and Type | Method and Description |
|---|---|
| protected String[] | Returns: the array of stringsthe attribute name name)Gets an array of strings. |
| protected PDGamma | |
| protected Object | |
| protected int | Returns: the integerthe attribute name name, int the default value defaultValue)Gets an integer. |
| protected String | |
| protected String | |
| protected Object | Returns: a String or array of Stringsthe attribute name name, String the default value defaultValue)Gets a name value or array of name values. |
| protected float | |
| protected float | |
| protected Object | Returns: a Float or an array of floatsthe attribute name name, float the default value defaultValue)Gets a number or an array of numbers. |
| protected Object | Returns: a Float or a Stringthe attribute name name, String the default name defaultValue)Gets a number or a name value. |
| protected String | |
| public boolean | Returns: true if the attribute is specified,
false otherwisethe attribute name name)Is the attribute with the given name specified in this attribute object? |
| protected void | setArrayOfName(String
the attribute name name, String[] the array of name values values)Sets an array of name values. |
| protected void | setArrayOfNumber(String
the attribute name name, float[] the float numbers values)Sets an array of float numbers. |
| protected void | setArrayOfString(String
the attribute name name, String[] the array of strings values)Sets an array of strings. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void |
| UNSPECIFIED | back to summary |
|---|---|
| protected static final float UNSPECIFIED An "unspecified" default float value. | |
| PDStandardAttributeObject | back to summary |
|---|---|
| public PDStandardAttributeObject() Default constructor. | |
| PDStandardAttributeObject | back to summary |
|---|---|
| public PDStandardAttributeObject(COSDictionary dictionary) Creates a new standard attribute object with a given dictionary.
| |
| getArrayOfString | back to summary |
|---|---|
| protected String[] getArrayOfString(String name) Gets an array of strings. | |
| getColor | back to summary |
|---|---|
| protected PDGamma getColor(String name) Gets a colour. | |
| getColorOrFourColors | back to summary |
|---|---|
| protected Object getColorOrFourColors(String name) Gets a single colour or four colours.
| |
| getInteger | back to summary |
|---|---|
| protected int getInteger(String name, int defaultValue) Gets an integer.
| |
| getName | back to summary |
|---|---|
| protected String getName(String name) Gets a name value. | |
| getName | back to summary |
|---|---|
| protected String getName(String name, String defaultValue) Gets a name value. | |
| getNameOrArrayOfName | back to summary |
|---|---|
| protected Object getNameOrArrayOfName(String name, String defaultValue) Gets a name value or array of name values. | |
| getNumber | back to summary |
|---|---|
| protected float getNumber(String name, float defaultValue) Gets a number value.
| |
| getNumber | back to summary |
|---|---|
| protected float getNumber(String name) Gets a number value.
| |
| getNumberOrArrayOfNumber | back to summary |
|---|---|
| protected Object getNumberOrArrayOfNumber(String name, float defaultValue) Gets a number or an array of numbers. | |
| getNumberOrName | back to summary |
|---|---|
| protected Object getNumberOrName(String name, String defaultValue) Gets a number or a name value. | |
| getString | back to summary |
|---|---|
| protected String getString(String name) Gets a string attribute value. | |
| isSpecified | back to summary |
|---|---|
| public boolean isSpecified(String name) Is the attribute with the given name specified in this attribute object?
| |
| setArrayOfName | back to summary |
|---|---|
| protected void setArrayOfName(String name, String[] values) Sets an array of name values. | |
| setArrayOfNumber | back to summary |
|---|---|
| protected void setArrayOfNumber(String name, float[] values) Sets an array of float numbers.
| |
| setArrayOfString | back to summary |
|---|---|
| protected void setArrayOfString(String name, String[] values) Sets an array of strings. | |
| setColor | back to summary |
|---|---|
| protected void setColor(String name, PDGamma value) Sets a colour. | |
| setFourColors | back to summary |
|---|---|
| protected void setFourColors(String name, PDFourColours value) Sets four colours.
| |
| setInteger | back to summary |
|---|---|
| protected void setInteger(String name, int value) Sets an integer.
| |
| setName | back to summary |
|---|---|
| protected void setName(String name, String value) Sets a name value. | |
| setNumber | back to summary |
|---|---|
| protected void setNumber(String name, float value) Sets a float number.
| |
| setNumber | back to summary |
|---|---|
| protected void setNumber(String name, int value) Sets an integer number.
| |
| setString | back to summary |
|---|---|
| protected void setString(String name, String value) Sets a string attribute value. | |