Class Vector3D

java.lang.Object
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 Details

    • Vector3D

      public Vector3D(String vector3D)
      Construct Vector3D by the parsing the given string
      Parameters:
      vector3D - The String to be parsed into Vector3D
  • Method Details

    • 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