|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.models.protos.ProtosUtil
public class ProtosUtil
Title: Protos utilities
Description:
Copyright: Copyright (c) 2004
Company:
Constructor Summary | |
---|---|
ProtosUtil()
|
Method Summary | |
---|---|
static boolean |
readBool(org.w3c.dom.Node node)
Returns the boolean value represented by the contents of the given node. |
static double |
readDouble(org.w3c.dom.Node node)
Returns the double value represented by the contents of the given node. |
static float |
readFloat(org.w3c.dom.Node node)
Returns the float value represented by the contents of the given node. |
static int |
readInt(org.w3c.dom.Node node)
Returns the int value represented by the contents of the given node. |
static java.lang.String |
readString(org.w3c.dom.Node node)
Returns the contents of the given node. |
static java.lang.String |
writeBool(java.lang.String tag,
boolean value)
Tags (XML-style) the given value with the given tag. |
static java.lang.String |
writeDouble(java.lang.String tag,
double value)
Tags (XML-style) the given value with the given tag. |
static java.lang.String |
writeFloat(java.lang.String tag,
float value)
Tags (XML-style) the given value with the given tag. |
static java.lang.String |
writeInt(java.lang.String tag,
int value)
Tags (XML-style) the given value with the given tag. |
static java.lang.String |
writeString(java.lang.String tag,
java.lang.String value)
Tags (XML-style) the given value with the given tag. |
static java.lang.String |
writeStringIfNonEmpty(java.lang.String tag,
java.lang.String value)
Tags (XML-style) the given value with the given tag, if the given value is non-empty. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProtosUtil()
Method Detail |
---|
public static java.lang.String readString(org.w3c.dom.Node node)
node
- Node The fiven node.
public static boolean readBool(org.w3c.dom.Node node)
node
- Node The given node.
public static int readInt(org.w3c.dom.Node node)
node
- Node The given node.
public static float readFloat(org.w3c.dom.Node node)
node
- Node The given node.
public static double readDouble(org.w3c.dom.Node node)
node
- Node The given node.
public static java.lang.String writeString(java.lang.String tag, java.lang.String value)
tag
- String The given tag.value
- String The given value.
public static java.lang.String writeStringIfNonEmpty(java.lang.String tag, java.lang.String value)
tag
- String The given tag.value
- String The given value.
public static java.lang.String writeInt(java.lang.String tag, int value)
tag
- String The given tag.value
- int The given value.
public static java.lang.String writeBool(java.lang.String tag, boolean value)
tag
- String The given tag.value
- boolean The given value.
public static java.lang.String writeFloat(java.lang.String tag, float value)
tag
- String The given tag.value
- float The given value.
public static java.lang.String writeDouble(java.lang.String tag, double value)
tag
- String The given tag.value
- double The given value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |