|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.XNode
inetsoft.uql.schema.XValueNode
public class XValueNode
This is the base class for all primitive value node.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.XNode |
|---|
value |
| Constructor Summary | |
|---|---|
XValueNode()
Create a value node. |
|
XValueNode(String name)
Create a value node. |
|
| Method Summary | |
|---|---|
static XValueNode |
createValueNode(Element root)
Create a value node from XML element. |
static XValueNode |
createValueNode(Object value,
String name)
Create a value node from a value. |
static XValueNode |
createValueNode(String name,
String type)
Create a value node from a type. |
boolean |
equals(Object obj)
Check if equals another object. |
String |
format()
Convert the value to a string. |
String |
getType()
Get the type of this node. |
String |
getVariable()
Get the variable name of this node. |
int |
hashCode()
Get the hash code value. |
void |
parse(String str)
Parse the string to the value. |
void |
setFormat(Format fmt)
Set the format string for the type. |
void |
setVariable(String var)
Set the variable name for this value node. |
Object |
toSQLValue()
from java Object to SQL type |
String |
toString()
|
void |
writeXML(PrintWriter writer)
Write the node XML representation. |
| Methods inherited from class inetsoft.uql.XNode |
|---|
addChild, addChild, addChild, addr, checkDuplicate, clone, cloneValue, compareTo, eq, getAttribute, getAttributeNames, getChild, getChild, getChildCount, getChildIndex, getDefaultFormat, getName, getNode, getParent, getPath, getPath, getValue, getValue, insertChild, isAncestor, removeAllChildren, removeChild, removeChild, removeChild, removeChild, setAttribute, setChild, setDefaultFormat, setName, setValue, sort, sort |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XValueNode()
public XValueNode(String name)
| Method Detail |
|---|
public void setVariable(String var)
var - variable name.public String getVariable()
public String format()
public String getType()
public void setFormat(Format fmt)
public void parse(String str)
throws ParseException
ParseExceptionpublic void writeXML(PrintWriter writer)
writeXML in class XNodepublic String toString()
toString in class XNode
public static XValueNode createValueNode(Object value,
String name)
public static XValueNode createValueNode(String name,
String type)
public static XValueNode createValueNode(Element root)
throws ParseException
ParseExceptionpublic Object toSQLValue()
public boolean equals(Object obj)
equals in class XNodepublic int hashCode()
hashCode in class XNode
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||