Class OdfStyleProperty
java.lang.Object
org.odftoolkit.odfdom.dom.style.props.OdfStyleProperty
- All Implemented Interfaces:
Comparable<OdfStyleProperty>
Class to represent a odf style attribut. Each instance has a name and belongs to an ODF
style-properties element.
-
Method Summary
Modifier and TypeMethodDescriptionint
copy()
boolean
static OdfStyleProperty
get
(OdfStylePropertiesSet propSet, OdfName name) Looks if an OdfStyleProperty is already listed in the static sytleProperties set, otherwise creates a new one.getName()
int
hashCode()
toString()
-
Method Details
-
get
Looks if an OdfStyleProperty is already listed in the static sytleProperties set, otherwise creates a new one.- Parameters:
propSet
- an OdfStylePropertiesSet membername
-- Returns:
- new created or existing OdfStylePorperty
-
getPropertySet
- Returns:
- an OdfStylePropertiesSet member
-
getName
- Returns:
- name of OdfStyleProperty instance
-
toString
-
copy
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<OdfStyleProperty>
-