|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.syndication.feed.module.base.types.Size
public class Size
Represents the size on an item in 2 or 3 dimensions.
| Constructor Summary | |
|---|---|
Size(FloatUnit length,
FloatUnit width)
Creates a new instance of Size |
|
Size(FloatUnit length,
FloatUnit width,
FloatUnit height)
Creates a new instance of Size. |
|
Size(java.lang.String source)
Creates a new Size object parsing a string value. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Duplicates this object. |
boolean |
equals(java.lang.Object o)
|
FloatUnit |
getHeight()
Height value. |
FloatUnit |
getLength()
Length value. |
FloatUnit |
getWidth()
Width value. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Size(java.lang.String source)
source - String value to parse
public Size(FloatUnit length,
FloatUnit width)
length - lenght valuewidth - width value
public Size(FloatUnit length,
FloatUnit width,
FloatUnit height)
length - Length value.width - Width value.height - Height value.| Method Detail |
|---|
public FloatUnit getHeight()
public FloatUnit getLength()
public FloatUnit getWidth()
public java.lang.Object clone()
clone in interface CloneableTypeclone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||