|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.core.Progress
org.basex.core.AbstractProcess
org.basex.core.proc.Proc
org.basex.core.proc.Insert
public final class Insert
Evaluates the 'insert' command.
| Field Summary | |
|---|---|
static java.lang.String |
ATT
Insert option. |
static java.lang.String |
COM
Insert option. |
static java.lang.String |
ELEM
Insert option. |
static java.lang.String |
FRG
Insert option. |
static java.lang.String[] |
KINDS
Node Kinds; order equals numbering in the Data class. |
static java.lang.String |
PI
Insert option. |
static java.lang.String |
TXT
Insert option. |
| Fields inherited from class org.basex.core.AbstractProcess |
|---|
cmd |
| Constructor Summary | |
|---|---|
Insert()
|
|
| Method Summary | |
|---|---|
static boolean |
check(byte[] name)
Checks the validity of the specified name. |
static int |
checkText(Data data,
int pre,
int par,
int kind)
Checks if the current insertion would create two adjacent text nodes. |
static Data |
copy(Data data,
int pre)
Creates a memory data instance from the specified database and pre value. |
static int |
pre(int par,
int pos,
Data data)
Retrieves the pre value for the specified child position. |
| Methods inherited from class org.basex.core.proc.Proc |
|---|
det, execute, execute, get, head, info, info, output, output, prog, result, toString |
| Methods inherited from class org.basex.core.Progress |
|---|
detail, header, progress, progress, stop, stopped |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ATT
public static final java.lang.String COM
public static final java.lang.String ELEM
public static final java.lang.String FRG
public static final java.lang.String[] KINDS
Data class.
public static final java.lang.String PI
public static final java.lang.String TXT
| Constructor Detail |
|---|
public Insert()
| Method Detail |
|---|
public static boolean check(byte[] name)
name - name to be checked
public static int checkText(Data data,
int pre,
int par,
int kind)
data - data referencepre - pre valuepar - parent valuekind - node kind
public static Data copy(Data data,
int pre)
data - data referencepre - pre value
public static int pre(int par,
int pos,
Data data)
par - parent nodepos - child positiondata - data reference
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||