Package org.odftoolkit.odfdom.type
Class Point3D
- java.lang.Object
-
- org.odftoolkit.odfdom.type.Point3D
-
- All Implemented Interfaces:
OdfDataType
public class Point3D extends Object implements OdfDataType
This class represents the in OpenDocument format used data type point3D
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanisValid(String stringValue)check if the specified String instance is a valid point3D data typeStringtoString()Returns a String Object representing this Point3D's valuestatic Point3DvalueOf(String stringValue)Returns a Point3D instance representing the specified String value
-
-
-
Constructor Detail
-
Point3D
public Point3D(String point3D) throws IllegalArgumentException
Construct Point3D by the parsing the given string- Parameters:
point3D- The String to be parsed into Point3D- Throws:
IllegalArgumentException- if the given argument is not a valid Point3D
-
-
Method Detail
-
toString
public String toString()
Returns a String Object representing this Point3D's value
-
valueOf
public static Point3D valueOf(String stringValue) throws IllegalArgumentException
Returns a Point3D instance representing the specified String value- Parameters:
stringValue- a String value- Returns:
- return a Point3D instance representing stringValue
- Throws:
IllegalArgumentException- if the given argument is not a valid Point3D
-
-