Static Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
com.generalrobotix.ui.util.GrxXmlUtil Class Reference

Static Public Member Functions

static Element appendNewElement (Node n, String tagName, int depth)
 
static Element appendNewElement (Document doc, Node n, String tagName, int depth)
 
static Element createElement (Document doc, String tagName)
 
static Element createElement (String tagName)
 
static String expandEnvVal (String str)
 
static Boolean getBoolean (String[] path, String atr, boolean defaultValue)
 
static Boolean getBoolean (Element e, String atr, boolean defaultValue)
 
static Double getDouble (String[] path, String atr)
 
static Double getDouble (Element e, String atr)
 
static Element getElement (String tag, String attrName, String attrValue)
 
static Element getElement (Element e, String tag, String attrName, String attrValue)
 
static Element getElement (String[] path)
 
static Integer getInteger (String[] path, String atr, int defaultValue)
 
static Integer getInteger (Element e, String atr, int defaultValue)
 
static NodeList getPropertyElements (String tag)
 
static Quat4d getQuat4d (String[] path)
 
static double[] getQuatDouble (String[] path)
 
static Dimension getSize (String[] path, Dimension defaultValue)
 
static Dimension getSize (Element e, Dimension defaultValue)
 
static String getString (String[] path, String atr, String defaultValue)
 
static String getString (Element e, String atr, String defaultValue)
 
static String getStringNoexpand (String[] path, String atr, String defaultValue)
 
static String getStringNoexpand (Element e, String atr, String defaultValue)
 
static Vector3d getVector3d (String[] path)
 
static double[] getXYZDouble (String[] path)
 
static void initialize (String fname)
 
static String replaceEnvVal (File f)
 
static void setBoolean (String[] path, String atr, boolean b)
 
static void setBoolean (Element e, String atr, boolean b)
 
static void setDouble (String[] path, String atr, double val)
 
static void setDouble (Element e, String atr, double val)
 
static void setInteger (String[] path, String atr, int val)
 
static void setInteger (Element e, String atr, int val)
 
static void setQuatDouble (String[] path, double[] val)
 
static void setSize (Element e, Dimension d)
 
static void setString (String[] path, String atr, String str)
 
static void setString (Element e, String atr, String str)
 
static void setXYZDouble (String[] path, double[] val)
 
static void store ()
 
static void store (String fname)
 
static void store (Document doc, String fname)
 
static void update ()
 

Static Public Attributes

static Document doc_ = null
 
static Element root_ = null
 

Static Private Attributes

static String fname_ = "property.xml"
 

Detailed Description

Definition at line 48 of file GrxXmlUtil.java.

Member Function Documentation

static Element com.generalrobotix.ui.util.GrxXmlUtil.appendNewElement ( Node  n,
String  tagName,
int  depth 
)
inlinestatic

Definition at line 392 of file GrxXmlUtil.java.

static Element com.generalrobotix.ui.util.GrxXmlUtil.appendNewElement ( Document  doc,
Node  n,
String  tagName,
int  depth 
)
inlinestatic

Definition at line 396 of file GrxXmlUtil.java.

static Element com.generalrobotix.ui.util.GrxXmlUtil.createElement ( Document  doc,
String  tagName 
)
inlinestatic

Definition at line 419 of file GrxXmlUtil.java.

static Element com.generalrobotix.ui.util.GrxXmlUtil.createElement ( String  tagName)
inlinestatic

Definition at line 423 of file GrxXmlUtil.java.

static String com.generalrobotix.ui.util.GrxXmlUtil.expandEnvVal ( String  str)
inlinestatic

Definition at line 296 of file GrxXmlUtil.java.

static Boolean com.generalrobotix.ui.util.GrxXmlUtil.getBoolean ( String[]  path,
String  atr,
boolean  defaultValue 
)
inlinestatic

Definition at line 235 of file GrxXmlUtil.java.

static Boolean com.generalrobotix.ui.util.GrxXmlUtil.getBoolean ( Element  e,
String  atr,
boolean  defaultValue 
)
inlinestatic

Definition at line 240 of file GrxXmlUtil.java.

static Double com.generalrobotix.ui.util.GrxXmlUtil.getDouble ( String[]  path,
String  atr 
)
inlinestatic

Definition at line 181 of file GrxXmlUtil.java.

static Double com.generalrobotix.ui.util.GrxXmlUtil.getDouble ( Element  e,
String  atr 
)
inlinestatic

Definition at line 185 of file GrxXmlUtil.java.

static Element com.generalrobotix.ui.util.GrxXmlUtil.getElement ( String  tag,
String  attrName,
String  attrValue 
)
inlinestatic

Definition at line 83 of file GrxXmlUtil.java.

static Element com.generalrobotix.ui.util.GrxXmlUtil.getElement ( Element  e,
String  tag,
String  attrName,
String  attrValue 
)
inlinestatic

Definition at line 89 of file GrxXmlUtil.java.

static Element com.generalrobotix.ui.util.GrxXmlUtil.getElement ( String[]  path)
inlinestatic

Definition at line 101 of file GrxXmlUtil.java.

static Integer com.generalrobotix.ui.util.GrxXmlUtil.getInteger ( String[]  path,
String  atr,
int  defaultValue 
)
inlinestatic

Definition at line 208 of file GrxXmlUtil.java.

static Integer com.generalrobotix.ui.util.GrxXmlUtil.getInteger ( Element  e,
String  atr,
int  defaultValue 
)
inlinestatic

Definition at line 212 of file GrxXmlUtil.java.

static NodeList com.generalrobotix.ui.util.GrxXmlUtil.getPropertyElements ( String  tag)
inlinestatic

Definition at line 77 of file GrxXmlUtil.java.

static Quat4d com.generalrobotix.ui.util.GrxXmlUtil.getQuat4d ( String[]  path)
inlinestatic

Definition at line 147 of file GrxXmlUtil.java.

static double [] com.generalrobotix.ui.util.GrxXmlUtil.getQuatDouble ( String[]  path)
inlinestatic

Definition at line 154 of file GrxXmlUtil.java.

static Dimension com.generalrobotix.ui.util.GrxXmlUtil.getSize ( String[]  path,
Dimension  defaultValue 
)
inlinestatic

Definition at line 371 of file GrxXmlUtil.java.

static Dimension com.generalrobotix.ui.util.GrxXmlUtil.getSize ( Element  e,
Dimension  defaultValue 
)
inlinestatic

Definition at line 375 of file GrxXmlUtil.java.

static String com.generalrobotix.ui.util.GrxXmlUtil.getString ( String[]  path,
String  atr,
String  defaultValue 
)
inlinestatic

Definition at line 264 of file GrxXmlUtil.java.

static String com.generalrobotix.ui.util.GrxXmlUtil.getString ( Element  e,
String  atr,
String  defaultValue 
)
inlinestatic

Definition at line 269 of file GrxXmlUtil.java.

static String com.generalrobotix.ui.util.GrxXmlUtil.getStringNoexpand ( String[]  path,
String  atr,
String  defaultValue 
)
inlinestatic

Definition at line 280 of file GrxXmlUtil.java.

static String com.generalrobotix.ui.util.GrxXmlUtil.getStringNoexpand ( Element  e,
String  atr,
String  defaultValue 
)
inlinestatic

Definition at line 285 of file GrxXmlUtil.java.

static Vector3d com.generalrobotix.ui.util.GrxXmlUtil.getVector3d ( String[]  path)
inlinestatic

Definition at line 131 of file GrxXmlUtil.java.

static double [] com.generalrobotix.ui.util.GrxXmlUtil.getXYZDouble ( String[]  path)
inlinestatic

Definition at line 115 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.initialize ( String  fname)
inlinestatic

Definition at line 53 of file GrxXmlUtil.java.

static String com.generalrobotix.ui.util.GrxXmlUtil.replaceEnvVal ( File  f)
inlinestatic

Definition at line 320 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setBoolean ( String[]  path,
String  atr,
boolean  b 
)
inlinestatic

Definition at line 254 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setBoolean ( Element  e,
String  atr,
boolean  b 
)
inlinestatic

Definition at line 258 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setDouble ( String[]  path,
String  atr,
double  val 
)
inlinestatic

Definition at line 199 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setDouble ( Element  e,
String  atr,
double  val 
)
inlinestatic

Definition at line 203 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setInteger ( String[]  path,
String  atr,
int  val 
)
inlinestatic

Definition at line 226 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setInteger ( Element  e,
String  atr,
int  val 
)
inlinestatic

Definition at line 230 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setQuatDouble ( String[]  path,
double[]  val 
)
inlinestatic

Definition at line 171 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setSize ( Element  e,
Dimension  d 
)
inlinestatic

Definition at line 385 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setString ( String[]  path,
String  atr,
String  str 
)
inlinestatic

Definition at line 362 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setString ( Element  e,
String  atr,
String  str 
)
inlinestatic

Definition at line 366 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.setXYZDouble ( String[]  path,
double[]  val 
)
inlinestatic

Definition at line 138 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.store ( )
inlinestatic

Definition at line 427 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.store ( String  fname)
inlinestatic

Definition at line 431 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.store ( Document  doc,
String  fname 
)
inlinestatic

Definition at line 435 of file GrxXmlUtil.java.

static void com.generalrobotix.ui.util.GrxXmlUtil.update ( void  )
inlinestatic

Definition at line 61 of file GrxXmlUtil.java.

Member Data Documentation

Document com.generalrobotix.ui.util.GrxXmlUtil.doc_ = null
static

Definition at line 49 of file GrxXmlUtil.java.

String com.generalrobotix.ui.util.GrxXmlUtil.fname_ = "property.xml"
staticprivate

Definition at line 51 of file GrxXmlUtil.java.

Element com.generalrobotix.ui.util.GrxXmlUtil.root_ = null
static

Definition at line 50 of file GrxXmlUtil.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:44