org.odftoolkit.odfdom.dom.style.props
Class OdfStyleProperty
java.lang.Object
org.odftoolkit.odfdom.dom.style.props.OdfStyleProperty
- All Implemented Interfaces:
- java.lang.Comparable<OdfStyleProperty>
public class OdfStyleProperty
- extends java.lang.Object
- implements java.lang.Comparable<OdfStyleProperty>
Class to represent a odf style attribut. Each instance has a name and belongs
to an ODF style-properties element.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
get
public static OdfStyleProperty get(OdfStylePropertiesSet propSet,
OdfName name)
- 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
public OdfStylePropertiesSet getPropertySet()
- Returns:
- an OdfStylePropertiesSet member
getName
public OdfName getName()
- Returns:
- name of OdfStyleProperty instance
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
copy
public OdfStyleProperty copy()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
compareTo
public int compareTo(OdfStyleProperty o)
- Specified by:
compareTo in interface java.lang.Comparable<OdfStyleProperty>
Copyright © 2008-2010 ODF Toolkit Project. All Rights Reserved.