|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.gui.view.ViewData
public final class ViewData
This class assembles some database access methods which are used
in the same way by different visualizations. If more specific database
access is needed, it is advisable to directly work on the Data
class.
| Field Summary | |
|---|---|
static int |
focusedPre
Current context set. |
| Method Summary | |
|---|---|
static byte[] |
content(int p,
boolean s)
Returns the contents of the specified node. |
static boolean |
isLeaf(int pre)
Checks if the specified node is a leaf node (text node or file element or file tag). |
static void |
launch(int pre)
Opens the file which is defined by the specified pre value. |
static int |
parent(int pre)
Returns the parent for the specified node. |
static java.lang.String |
path(int pre)
Returns path for the specified pre value. |
static byte[] |
tag(int pre)
Returns the tag name of the specified node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int focusedPre
| Method Detail |
|---|
public static byte[] content(int p,
boolean s)
p - pre values - if specified, a short representation is returned
(no full text nodes, only attribute names)
public static boolean isLeaf(int pre)
pre - pre value
public static void launch(int pre)
pre - pre valuepublic static int parent(int pre)
pre - child node
public static java.lang.String path(int pre)
pre - pre value
public static byte[] tag(int pre)
pre - pre value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||