|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Node | |
|---|---|
| org.gcube.data.trees.data | |
| org.gcube.data.trees.io | |
| org.gcube.data.trees.patterns | |
| org.gcube.data.trees.streams | |
| Uses of Node in org.gcube.data.trees.data |
|---|
| Subclasses of Node in org.gcube.data.trees.data | |
|---|---|
class |
InnerNode
An inner Node, i.e. |
class |
Leaf
A leaf Node. |
class |
Tree
An InnerNode at the root of a tree. |
| Methods in org.gcube.data.trees.data with type parameters of type Node | ||
|---|---|---|
static
|
Nodes.attr(N n,
Nodes.Attribute attribute,
Nodes.Attribute... attributes)
Returns a Node annotated with one or more attributes. |
|
|
InnerNode.child(Class<T> type,
QName l)
Returns a child of this node with a given label and of a given node type, if exactly one exists. |
|
|
InnerNode.child(Class<T> type,
String l)
Returns a child of this node with a given label and of a given node type, if exactly one exists. |
|
|
InnerNode.child(Class<T> type,
String ns,
String l)
Returns a child of this node with a given label and of a given type, if exactly one exists. |
|
|
InnerNode.children(Class<T> type)
Returns all the children of a given node type. |
|
|
InnerNode.children(Class<T> type,
QName l)
Returns all the children with a given label and a given node type. |
|
|
InnerNode.children(Class<T> type,
String l)
Returns all the children with a given label and a given node type. |
|
|
InnerNode.children(Class<T> type,
String ns,
String l)
Returns all the children with a given label and given node type. |
|
|
InnerNode.descendant(Class<T> type,
String... descendantIDs)
Returns the descendant of a given node type which can be reached from this node by following a given path of identifiers. |
|
|
InnerNode.descendants(Class<T> type,
QName... labels)
Returns all the descendants of a given node type which can be reached from this node by following a given path of labels. |
|
|
InnerNode.descendants(Class<T> type,
String... labels)
Returns all the descendants of a given node type that can be reached from this node by following a given sequence of labels. |
|
| Methods in org.gcube.data.trees.data that return Node | |
|---|---|
Node |
InnerNode.child(QName l)
Returns a child of this node with a given label, if exactly one exists. |
Node |
InnerNode.child(String l)
Returns a child of this node with a given label, if exactly one exists. |
Node |
InnerNode.child(String ns,
String l)
Returns a child of this node with a given label, if exactly one exists. |
protected Node |
Node.delta(Node future)
Returns a node that reflects the delta between this node and a given input node. |
Node |
InnerNode.descendant(String... ids)
Returns the descendant that can be reached from this node by following a given path of node identifiers. |
Node |
InnerNode.remove(String childID)
Removes a child. |
Node |
Edge.target()
Returns the target node. |
| Methods in org.gcube.data.trees.data that return types with arguments of type Node | |
|---|---|
List<Node> |
Node.ancestorsAndSelf()
Returns the ancestors of the node along with the node itself. |
List<Node> |
InnerNode.children()
Returns all the children. |
List<Node> |
InnerNode.children(QName l)
Returns all the children with a given label. |
List<Node> |
InnerNode.children(String l)
Returns all the children with a given label. |
List<Node> |
InnerNode.children(String ns,
String l)
Returns all the children with a given label. |
List<? extends Node> |
InnerNode.descendants(QName... labels)
Returns all the descendants that can be reached from this node by following a given path of labels. |
List<? extends Node> |
InnerNode.descendants(String... labels)
Returns all the descendants that can be reached from this node by following a given sequence of labels. |
List<? extends Node> |
InnerNode.find(QName... labels)
Returns all the descendants of this node that can be reached from this node or any other descendant by following a given path of labels. |
List<? extends Node> |
InnerNode.find(String... labels)
Returns all the descendants of this node that can be reached from this node or any other descendant by following a given path of labels. |
List<Node> |
InnerNode.remove(String... childIDs)
Removes one or more children. |
| Methods in org.gcube.data.trees.data with parameters of type Node | |
|---|---|
protected static void |
InnerNode.clearState(Node n)
|
InnerNode |
InnerNode.delta(Node f)
Returns a node that reflects the delta between this node and a given input node. |
protected Leaf |
Leaf.delta(Node f)
Returns a node that reflects the delta between this node and a given input node. |
protected Node |
Node.delta(Node future)
Returns a node that reflects the delta between this node and a given input node. |
static Edge |
Nodes.e(QName name,
Node node)
Creates an Edge to a Node. |
static Edge |
Nodes.e(String name,
Node node)
Creates an Edge to a Node. |
protected static void |
InnerNode.markAsNew(Node n)
|
void |
Edge.target(Node n)
Sets the target node. |
void |
InnerNode.update(Node delta)
Applies the changes captured by the delta node in input (cf. |
void |
Leaf.update(Node delta)
Applies the changes captured by the delta node in input (cf. |
void |
Node.update(Node delta)
Applies the changes captured by the delta node in input.. |
| Constructors in org.gcube.data.trees.data with parameters of type Node | |
|---|---|
Edge(QName l,
Node n)
Creates an instance with a label and a node. |
|
Edge(String l,
Node n)
Creates an instance with a label and a node. |
|
Edge(String ns,
String l,
Node n)
Creates an instance with a label and a node. |
|
| Uses of Node in org.gcube.data.trees.io |
|---|
| Methods in org.gcube.data.trees.io that return Node | |
|---|---|
static Node |
Bindings.nodeFromElement(Element element)
Binds an Element to a Node. |
static Node |
Bindings.nodeFromReader(Reader r)
Binds a Reader to a Node. |
static Node |
Bindings.nodeFromStream(InputStream in)
Binds an InputStream to a Node. |
| Methods in org.gcube.data.trees.io with parameters of type Node | |
|---|---|
static Element |
Bindings.nodeToElement(Node node,
QName... name)
Binds a Node to an Element. |
static void |
Bindings.nodeToWriter(Node node,
Writer stream,
QName... name)
Binds a Node to a Writer. |
| Uses of Node in org.gcube.data.trees.patterns |
|---|
| Methods in org.gcube.data.trees.patterns with parameters of type Node | |
|---|---|
boolean |
LeafPattern.matches(Node n)
Indicates whether a node matches a pattern. |
boolean |
TreePattern.matches(Node n)
Indicates whether a node matches a pattern. |
boolean |
AnyPattern.matches(Node n)
Indicates whether a node matches a pattern. |
boolean |
Pattern.matches(Node n)
Indicates whether a node matches a pattern. |
boolean |
AbstractPattern.matches(Node node)
|
void |
LeafPattern.prune(Node n)
Prunes a node of all the descendants that are not required to match the pattern. |
void |
CutTreePattern.prune(Node n)
Removes all the edges of a nodes that matches the pattern, not only those that are not required for matching. |
void |
TreePattern.prune(Node n)
Prunes a node of all the descendants that are not required to match the pattern. |
void |
AnyPattern.prune(Node n)
Prunes a node of all the descendants that are not required to match the pattern. |
void |
Pattern.prune(Node n)
Prunes a node of all the descendants that are not required to match the pattern. |
void |
AbstractPattern.prune(Node node)
|
| Uses of Node in org.gcube.data.trees.streams |
|---|
| Methods in org.gcube.data.trees.streams that return Node | |
|---|---|
Node |
TreeStreams.NodeParser.yield(String payload)
|
| Methods in org.gcube.data.trees.streams that return types with arguments of type Node | ||
|---|---|---|
static org.gcube.data.streams.Stream<Node> |
TreeStreams.nodesIn(URI locator)
Converts a Result Set with Nodes into a Stream. |
|
static
|
TreeStreams.publishNodesIn(org.gcube.data.streams.Stream<Node> stream)
Publishes a Stream of Nodes as a result set. |
|
| Methods in org.gcube.data.trees.streams with parameters of type Node | |
|---|---|
String |
TreeStreams.NodeSerialiser.yield(Node doc)
|
| Method parameters in org.gcube.data.trees.streams with type arguments of type Node | ||
|---|---|---|
static
|
TreeStreams.publishNodesIn(org.gcube.data.streams.Stream<Node> stream)
Publishes a Stream of Nodes as a result set. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||