org.odftoolkit.odfdom.type
Class Vector3D

java.lang.Object
  extended by org.odftoolkit.odfdom.type.Vector3D
All Implemented Interfaces:
OdfDataType

public class Vector3D
extends Object
implements OdfDataType

This class represents the in OpenDocument format used data type vector3D


Constructor Summary
Vector3D(String vector3D)
          Construct Vector3D by the parsing the given string
 
Method Summary
static boolean isValid(String stringValue)
          check if the specified String instance is a valid vector3D data type
 String toString()
          Returns a String Object representing this Vector3D's value
static Vector3D valueOf(String stringValue)
          Returns a Vector3D instance representing the specified String value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Vector3D

public Vector3D(String vector3D)
Construct Vector3D by the parsing the given string

Parameters:
vector3D - The String to be parsed into Vector3D
Method Detail

toString

public String toString()
Returns a String Object representing this Vector3D's value

Overrides:
toString in class Object
Returns:
return a string representation of the value of this Vector3D object

valueOf

public static Vector3D valueOf(String stringValue)
Returns a Vector3D instance representing the specified String value

Parameters:
stringValue - a String value
Returns:
return a Vector3D instance representing stringValue

isValid

public static boolean isValid(String stringValue)
check if the specified String instance is a valid vector3D data type

Parameters:
stringValue - the value to be tested
Returns:
true if the value of argument is valid for vector3D data type false otherwise


Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.