|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.core.Context
public final class Context
This class stores the reference to the currently opened database. Moreover, it provides references to the currently used, marked and copied node sets.
| Method Summary | |
|---|---|
boolean |
close()
Closes the database instance. |
Nodes |
copied()
Returns the copied context set. |
void |
copy(Nodes copy)
Sets the current node set copy. |
Nodes |
current()
Returns the current context set. |
void |
current(Nodes curr)
Sets the current context set. |
Data |
data()
Returns data reference. |
void |
data(Data d)
Sets a new data instance. |
static Context |
get()
Returns unique class instance. |
Nodes |
marked()
Returns the marked context set. |
void |
marked(Nodes mark)
Sets the marked context set. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean close()
public Nodes copied()
public void copy(Nodes copy)
copy - current node set copy.public Nodes current()
public void current(Nodes curr)
curr - current context setpublic Data data()
public void data(Data d)
d - data referencepublic static Context get()
public Nodes marked()
public void marked(Nodes mark)
mark - marked context set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||