Package | Description |
---|---|
org.basex.api.dom |
Basic DOM API.
|
org.basex.io.serial | |
org.basex.io.serial.json | |
org.basex.query.expr |
XQuery expressions.
|
org.basex.query.expr.constr |
Constructor expressions.
|
org.basex.query.expr.path |
XQuery path expressions.
|
org.basex.query.func.http |
HTTP Functions.
|
org.basex.query.iter |
XQuery iterators.
|
org.basex.query.up | |
org.basex.query.up.primitives | |
org.basex.query.util |
XQuery utility classes.
|
org.basex.query.util.list |
Query processor, list structures.
|
org.basex.query.value.node | |
org.basex.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
ANode |
BXNode.getNode()
Returns the internal node representation.
|
Modifier and Type | Method and Description |
---|---|
static BXNode |
BXNode.get(ANode node)
Creates a new DOM node instance for the input node.
|
Constructor and Description |
---|
BXDoc(ANode node)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Serializer.ignore(ANode node)
Checks if an element should be ignored.
|
protected void |
StandardSerializer.node(ANode item) |
protected void |
Serializer.node(ANode node)
Serializes the specified node.
|
protected void |
AdaptiveSerializer.node(ANode item) |
Modifier and Type | Method and Description |
---|---|
protected void |
JsonNodeSerializer.node(ANode node) |
Modifier and Type | Method and Description |
---|---|
static ANode |
Root.root(Value v)
Returns the root node of the specified item.
|
protected ANode |
ParseExpr.toElem(Expr ex,
QueryContext qc)
Checks if the specified expression yields an element.
|
protected ANode |
ParseExpr.toEmptyNode(Expr ex,
QueryContext qc)
Checks if the specified expression yields a node or
null . |
protected ANode |
ParseExpr.toNode(Expr ex,
QueryContext qc)
Checks if the specified expression yields a node.
|
protected ANode |
ParseExpr.toNode(Item it)
Checks if the specified non-item is a node.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
CmpN.OpN.eval(ANode it1,
ANode it2)
Evaluates the expression.
|
Modifier and Type | Method and Description |
---|---|
abstract ANode |
CNode.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Test.eq(ANode node)
Tests if the test yields true.
|
boolean |
NodeTest.eq(ANode node) |
boolean |
NameTest.eq(ANode node) |
boolean |
DocTest.eq(ANode node) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequestParser.parse(ANode request,
ValueBuilder bodies)
Parses an
|
Modifier and Type | Field and Description |
---|---|
ANode[] |
NodeSeqBuilder.nodes
Node container.
|
Modifier and Type | Method and Description |
---|---|
ANode |
NodeSeqBuilder.get(int i)
Returns the specified node.
|
ANode |
NodeSeqBuilder.get(long i) |
ANode |
NodeSeqBuilder.next() |
abstract ANode |
NodeIter.next() |
abstract ANode |
AxisIter.next() |
Modifier and Type | Method and Description |
---|---|
Iterator<ANode> |
AxisIter.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
NodeSeqBuilder.add(ANode n)
Adds a node.
|
int |
NodeSeqBuilder.indexOf(ANode n,
boolean db)
Checks if the iterator contains a database node with the specified pre value.
|
Constructor and Description |
---|
NodeSeqBuilder(ANode[] nodes,
int size)
Lightweight constructor, assigning the specified array of sorted nodes.
|
Modifier and Type | Method and Description |
---|---|
DBNode |
Updates.determineDataRef(ANode target,
QueryContext qc)
Determines the data reference and pre value for an update primitive
which has a fragment as a target node.
|
void |
NamePool.remove(ANode node)
Adds an entry to the pool and decreases its number of occurrence.
|
Modifier and Type | Field and Description |
---|---|
ANode |
NewInput.node
Node to be added.
|
Modifier and Type | Method and Description |
---|---|
static ANode |
DataBuilder.stripNS(ANode node,
byte[] ns,
Context ctx)
Returns a new node without the specified namespace.
|
Modifier and Type | Method and Description |
---|---|
void |
DataBuilder.build(ANode node)
Fills the data instance with the specified node.
|
static ANode |
DataBuilder.stripNS(ANode node,
byte[] ns,
Context ctx)
Returns a new node without the specified namespace.
|
Modifier and Type | Method and Description |
---|---|
ANode |
ANodeList.get(int p)
Returns the specified element.
|
Modifier and Type | Method and Description |
---|---|
Iterator<ANode> |
ANodeList.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
ANodeList.add(ANode e)
Adds an element to the array.
|
void |
ANodeList.set(int i,
ANode e)
Sets an element at the specified index position.
|
Constructor and Description |
---|
ANodeList(ANode... n)
Constructor, specifying initial nodes.
|
Modifier and Type | Class and Description |
---|---|
class |
DBNode
Database node.
|
class |
FAttr
Attribute node fragment.
|
class |
FComm
Comment node fragment.
|
class |
FDoc
Document node fragment.
|
class |
FElem
Element node fragment.
|
class |
FNames
Namespace node.
|
class |
FNode
Main-memory node fragment.
|
class |
FPI
PI node fragment.
|
class |
FTNode
Disk-based full-text Node item.
|
class |
FTPosNode
Database node with full-text positions.
|
class |
FTxt
Text node fragment.
|
Modifier and Type | Method and Description |
---|---|
abstract ANode |
ANode.copy()
Creates a copy of this node.
|
ANode |
FNode.deepCopy(MainOptions options) |
abstract ANode |
ANode.deepCopy(MainOptions opts)
Returns a deep copy of the node.
|
ANode |
ANode.finish()
Returns a final node representation.
|
ANode |
ANode.optimize()
Minimizes the memory consumption of the node.
|
ANode |
FNode.parent() |
ANode |
DBNode.parent() |
abstract ANode |
ANode.parent()
Returns the parent node.
|
protected abstract ANode |
ANode.parent(ANode p)
Sets the parent node.
|
Modifier and Type | Method and Description |
---|---|
FElem |
FElem.add(ANode node)
Adds a node and updates its parent reference.
|
FDoc |
FDoc.add(ANode node)
Adds a node and updates its parent reference.
|
int |
FNode.diff(ANode node) |
int |
DBNode.diff(ANode node) |
abstract int |
ANode.diff(ANode node)
Checks the document order of two nodes.
|
boolean |
FNode.is(ANode node) |
boolean |
DBNode.is(ANode node) |
abstract boolean |
ANode.is(ANode node)
Checks if two nodes are identical.
|
FNode |
FNode.parent(ANode p) |
protected DBNode |
DBNode.parent(ANode p) |
protected abstract ANode |
ANode.parent(ANode p)
Sets the parent node.
|
Constructor and Description |
---|
FElem(Element elem,
ANode par,
TokenMap nss)
Constructor for creating an element from a DOM node.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
XMLAccess.attribute(String pref,
ANode node,
byte[] name)
Returns the value of the requested attribute, or an error.
|
static <E extends Enum<E>> |
XMLAccess.attribute(String pref,
ANode node,
byte[] name,
E[] values)
Returns an enum instance for the requested attribute.
|
static AxisIter |
XMLAccess.children(ANode node,
byte[] name)
Returns child elements.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.