A B C D E F G H I L M N O P Q R S T U V W Y

A

a(String, Object) - Static method in class org.gcube.data.trees.data.Nodes
Returns an Nodes.Attribute with a given name and a given value.
a(QName, Object) - Static method in class org.gcube.data.trees.data.Nodes
Returns an Nodes.Attribute with a given name and a given value.
AbstractPattern - Class in org.gcube.data.trees.patterns
Partial Pattern implementation.
AbstractPattern() - Constructor for class org.gcube.data.trees.patterns.AbstractPattern
 
AbstractTreeTemplate - Class in org.gcube.data.trees.generators
Partially implementation of TreeTemplate.
AbstractTreeTemplate() - Constructor for class org.gcube.data.trees.generators.AbstractTreeTemplate
 
accepts(Calendar) - Method in class org.gcube.data.trees.constraints.After
Returns true if a value satisfies the constraint.
accepts(Date) - Method in class org.gcube.data.trees.constraints.AfterDate
Returns true if a value satisfies the constraint.
accepts(T) - Method in class org.gcube.data.trees.constraints.All
 
accepts(Object) - Method in class org.gcube.data.trees.constraints.AnyValue
Returns true if a value satisfies the constraint.
accepts(Calendar) - Method in class org.gcube.data.trees.constraints.Before
Returns true if a value satisfies the constraint.
accepts(Date) - Method in class org.gcube.data.trees.constraints.BeforeDate
Returns true if a value satisfies the constraint.
accepts(T) - Method in interface org.gcube.data.trees.constraints.Constraint
Returns true if a value satisfies the constraint.
accepts(T) - Method in class org.gcube.data.trees.constraints.Either
 
accepts(Double) - Method in class org.gcube.data.trees.constraints.Less
Returns true if a value satisfies the constraint.
accepts(Object) - Method in class org.gcube.data.trees.constraints.Match
Returns true if a value satisfies the constraint.
accepts(Double) - Method in class org.gcube.data.trees.constraints.More
Returns true if a value satisfies the constraint.
accepts(T) - Method in class org.gcube.data.trees.constraints.Not
 
accepts(Object) - Method in class org.gcube.data.trees.constraints.Same
Returns true if a value satisfies the constraint.
add(List<Edge>) - Method in class org.gcube.data.trees.data.InnerNode
Adds one or more edges.
add(Edge) - Method in class org.gcube.data.trees.data.InnerNode
Adds one edge.
add(Edge...) - Method in class org.gcube.data.trees.data.InnerNode
Adds one or more edges.
After - Class in org.gcube.data.trees.constraints
Accepts Calendar values that follow a given one.
After(Calendar) - Constructor for class org.gcube.data.trees.constraints.After
Creates an instance with a given calendar.
after(Calendar) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a After constraint for a given calendar.
AfterDate - Class in org.gcube.data.trees.constraints
Accepts Date values that follow a given one.
AfterDate() - Constructor for class org.gcube.data.trees.constraints.AfterDate
 
AfterDate(Date) - Constructor for class org.gcube.data.trees.constraints.AfterDate
Creates an instance with a given date.
afterDate(Date) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an AfterDate constraint for a given date.
All<T> - Class in org.gcube.data.trees.constraints
Accepts values that have the same type and satisfy one ore more constraints.
All(Constraint<T>, Constraint<T>) - Constructor for class org.gcube.data.trees.constraints.All
Creates an instance from two constraints.
all(Constraint<T>, Constraint<T>) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an All constraint that combines two or more Constraints.
ancestors() - Method in class org.gcube.data.trees.data.Node
Returns the ancestors of the node.
ancestorsAndSelf() - Method in class org.gcube.data.trees.data.Node
Returns the ancestors of the node along with the node itself.
any - Static variable in class org.gcube.data.trees.patterns.Patterns
A wildcard for labels.
any() - Static method in class org.gcube.data.trees.patterns.Patterns
The AnyPattern.
AnyPattern - Class in org.gcube.data.trees.patterns
A pattern that matches all Nodes.
AnyPattern() - Constructor for class org.gcube.data.trees.patterns.AnyPattern
 
anyval - Static variable in class org.gcube.data.trees.patterns.Patterns
The null constraint.
AnyValue - Class in org.gcube.data.trees.constraints
Accepts any value.
AnyValue() - Constructor for class org.gcube.data.trees.constraints.AnyValue
 
as() - Method in class org.gcube.data.trees.constraints.Same
 
atleast(QName, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an AtLeastPattern for a given label and a given Pattern.
atleast(String, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an AtLeastPattern for a given label and a given Pattern.
AtLeastPattern - Class in org.gcube.data.trees.patterns
A Pattern that matches nodes with at least one Edge with a given label and a target that matches a given Pattern.
AtLeastPattern(QName, Pattern) - Constructor for class org.gcube.data.trees.patterns.AtLeastPattern
Creates an instance for a given label and pattern.
aTree() - Static method in class org.gcube.data.trees.generators.TemplateFactory
Returns a builder of StructuralTemplates.
aTreeLike(Tree, double) - Static method in class org.gcube.data.trees.generators.TemplateFactory
Returns a SimilarityTemplate for a given prototype and similarity coefficient.
aTreeLike(Tree) - Static method in class org.gcube.data.trees.generators.TemplateFactory
Returns a SimilarityTemplate for a given prototype and a similarity coefficient of .9.
attr(N, Nodes.Attribute, Nodes.Attribute...) - Static method in class org.gcube.data.trees.data.Nodes
Returns a Node annotated with one or more attributes.
attribute(QName) - Method in class org.gcube.data.trees.data.Node
Returns the value of an attribute with a given name.
attribute(String) - Method in class org.gcube.data.trees.data.Node
Returns the value of an attribute with a given name.
attributes() - Method in class org.gcube.data.trees.data.Node
Returns (a copy of) the node attributes.

B

BaseConstraint<T> - Class in org.gcube.data.trees.constraints
Base implementation of Constraint.
BaseConstraint() - Constructor for class org.gcube.data.trees.constraints.BaseConstraint
 
Before - Class in org.gcube.data.trees.constraints
Accepts Calendar values that precede a given one.
Before(Calendar) - Constructor for class org.gcube.data.trees.constraints.Before
Creates an instance with a given calendar.
before(Date) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a BeforeDate constraint for a given date.
before(Calendar) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a Before constraint for a given calendar.
BeforeDate - Class in org.gcube.data.trees.constraints
Accepts Date values that precede a given one.
BeforeDate() - Constructor for class org.gcube.data.trees.constraints.BeforeDate
 
BeforeDate(Date) - Constructor for class org.gcube.data.trees.constraints.BeforeDate
Creates an instance from a given date.
bind(T) - Method in interface org.gcube.data.trees.io.TreeBinder
Binds an instance of the data to a tree.
bind(Tree) - Method in interface org.gcube.data.trees.io.TreeBinder
Binds a tree to an instance of the data.
BinderHome - Interface in org.gcube.data.trees.io
Inspects the classpath for available TreeBinders.
BinderInfo - Interface in org.gcube.data.trees.io
Describes a TreeBinder.
BinderLoader - Class in org.gcube.data.trees.io
Simple implementation of BinderHome based on a ServiceLoader.
BinderLoader() - Constructor for class org.gcube.data.trees.io.BinderLoader
 
binders() - Method in interface org.gcube.data.trees.io.BinderHome
Returns the binders available on the classpath.
binders() - Method in class org.gcube.data.trees.io.BinderLoader
Returns the binders available on the classpath.
Bindings - Class in org.gcube.data.trees.io
Static facilities for binding trees to and from other data types.
Bindings() - Constructor for class org.gcube.data.trees.io.Bindings
 
bool(Constraint<? super Boolean>) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a BoolPattern with a given constraint.
bool() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an unconstrained BoolPattern predicate.
BoolPattern - Class in org.gcube.data.trees.patterns
A Pattern that matches the value of a Leaf against a given Boolean Constraint.
BoolPattern(Constraint<? super Boolean>) - Constructor for class org.gcube.data.trees.patterns.BoolPattern
Creates an instance with a given constraint.
build() - Method in class org.gcube.data.trees.generators.StructuralTemplate.STBuilder
Builds the template.

C

C - Static variable in class org.gcube.data.trees.patterns.Patterns
A marker for condition edges.
calendar(Constraint<? super Calendar>) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a CalendarPatternwith a given constraint.
calendar() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an unconstrained CalendarPattern.
CalendarPattern - Class in org.gcube.data.trees.patterns
A Pattern that matches the value of a Leaf against a given Calendar Constraint.
CalendarPattern(Constraint<? super Calendar>) - Constructor for class org.gcube.data.trees.patterns.CalendarPattern
Creates an instance with a given constraint.
child(QName) - Method in class org.gcube.data.trees.data.InnerNode
Returns a child of this node with a given label, if exactly one exists.
child(Class<T>, QName) - Method in class org.gcube.data.trees.data.InnerNode
Returns a child of this node with a given label and of a given node type, if exactly one exists.
child(String) - Method in class org.gcube.data.trees.data.InnerNode
Returns a child of this node with a given label, if exactly one exists.
child(Class<T>, String) - Method in class org.gcube.data.trees.data.InnerNode
Returns a child of this node with a given label and of a given node type, if exactly one exists.
child(String, String) - Method in class org.gcube.data.trees.data.InnerNode
Returns a child of this node with a given label, if exactly one exists.
child(Class<T>, String, String) - Method in class org.gcube.data.trees.data.InnerNode
Returns a child of this node with a given label and of a given type, if exactly one exists.
children() - Method in class org.gcube.data.trees.data.InnerNode
Returns all the children.
children(Class<T>) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the children of a given node type.
children(QName) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the children with a given label.
children(Class<T>, QName) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the children with a given label and a given node type.
children(String) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the children with a given label.
children(Class<T>, String) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the children with a given label and a given node type.
children(String, String) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the children with a given label.
children(Class<T>, String, String) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the children with a given label and given node type.
clearState(Node) - Static method in class org.gcube.data.trees.data.InnerNode
 
clone(Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Clones a Pattern.
clone(EdgePattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Clones an EdgePattern.
COLLID_ATTR - Static variable in class org.gcube.data.trees.io.Bindings
 
cond(EdgePattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Marks an EdgePattern as a condition.
Constants - Class in org.gcube.data.trees
Library constants.
Constants() - Constructor for class org.gcube.data.trees.Constants
 
Constraint<T> - Interface in org.gcube.data.trees.constraints
Accepts typed values that satisfy a given constraint.
constraint - Variable in class org.gcube.data.trees.patterns.LeafPattern
 
constraint() - Method in class org.gcube.data.trees.patterns.LeafPattern
 
constraints() - Method in class org.gcube.data.trees.constraints.All
 
constraints() - Method in class org.gcube.data.trees.constraints.Either
Returns the constraints combined in this instance.
cut(TreePattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a CutTreePattern with the EdgePatterns of a given TreePattern but removes all the edges of a matching node under pruning
CutTreePattern - Class in org.gcube.data.trees.patterns
A Pattern in which CutTreePattern.prune(Node) removes all the edges of matching nodes, not only those that are not required for matching.
CutTreePattern(List<EdgePattern>) - Constructor for class org.gcube.data.trees.patterns.CutTreePattern
Creates an instance with a list of EdgePatterns.

D

date(Constraint<? super Date>) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a DatePattern with a given constraint.
date() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an unconstrained DatePattern.
DatePattern - Class in org.gcube.data.trees.patterns
A Pattern that matches the value of Leafs against given Date Constraint.
DatePattern(Constraint<? super Date>) - Constructor for class org.gcube.data.trees.patterns.DatePattern
Creates an instance with a given constraint.
deep(int) - Method in class org.gcube.data.trees.generators.StructuralTemplate.STBuilder
Sets the depth on the template.
DEFAULT_NODE_NAME - Static variable in class org.gcube.data.trees.io.Bindings
 
delete() - Method in class org.gcube.data.trees.data.InnerNode
Marks the node as Node.State.DELETED, removing all its attributes and all its edges.
delete() - Method in class org.gcube.data.trees.data.Leaf
Marks the node as Node.State.DELETED, removing all its attributes and replacing its value with null.
delete() - Method in class org.gcube.data.trees.data.Node
Marks the node as Node.State.DELETED, removing all its attributes.
delta(Node) - Method in class org.gcube.data.trees.data.InnerNode
Returns a node that reflects the delta between this node and a given input node.
delta(Node) - Method in class org.gcube.data.trees.data.Leaf
Returns a node that reflects the delta between this node and a given input node.
delta(Node) - Method in class org.gcube.data.trees.data.Node
Returns a node that reflects the delta between this node and a given input node.
delta(Tree) - Method in class org.gcube.data.trees.data.Tree
Returns a tree that reflects the delta between this tree and a given tree, or null if the tree are equals.
descendant(String...) - Method in class org.gcube.data.trees.data.InnerNode
Returns the descendant that can be reached from this node by following a given path of node identifiers.
descendant(Class<T>, String...) - Method in class org.gcube.data.trees.data.InnerNode
Returns the descendant of a given node type which can be reached from this node by following a given path of identifiers.
descendants(QName...) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the descendants that can be reached from this node by following a given path of labels.
descendants(Class<T>, QName...) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the descendants of a given node type which can be reached from this node by following a given path of labels.
descendants(String...) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the descendants that can be reached from this node by following a given sequence of labels.
descendants(Class<T>, String...) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the descendants of a given node type that can be reached from this node by following a given sequence of labels.
description() - Method in interface org.gcube.data.trees.io.BinderInfo
Returns a description for the binder.

E

e(Edge) - Static method in class org.gcube.data.trees.data.Nodes
Clones a given Edge.
e(QName, Node) - Static method in class org.gcube.data.trees.data.Nodes
Creates an Edge to a Node.
e(String, Node) - Static method in class org.gcube.data.trees.data.Nodes
Creates an Edge to a Node.
e(QName, Object) - Static method in class org.gcube.data.trees.data.Nodes
Creates an Edge to a Leaf.
e(String, Object) - Static method in class org.gcube.data.trees.data.Nodes
Creates an Edge to a Leaf.
Edge - Class in org.gcube.data.trees.data
A labelled edge that connects two Nodes.
Edge(Edge) - Constructor for class org.gcube.data.trees.data.Edge
Copy constructor, creates a clone of a given edge.
Edge(QName, Node) - Constructor for class org.gcube.data.trees.data.Edge
Creates an instance with a label and a node.
Edge(String, Node) - Constructor for class org.gcube.data.trees.data.Edge
Creates an instance with a label and a node.
Edge(String, String, Node) - Constructor for class org.gcube.data.trees.data.Edge
Creates an instance with a label and a node.
edge(QName) - Method in class org.gcube.data.trees.data.InnerNode
Returns the edges with a given label, if exactly one exists.
edge(String) - Method in class org.gcube.data.trees.data.InnerNode
Returns the edges with a given label, if exactly one exists.
edge(String, String) - Method in class org.gcube.data.trees.data.InnerNode
Returns the edges with a given label, if exactly one exists.
EdgePattern - Class in org.gcube.data.trees.patterns
A Pattern over the Edges of a Node.
EdgePattern.Range - Class in org.gcube.data.trees.patterns
The minimum and maximum number of Edges that may match a given EdgePattern.
edges() - Method in class org.gcube.data.trees.data.InnerNode
Returns all the edges.
edges(QName) - Method in class org.gcube.data.trees.data.InnerNode
Returns the outgoing edges with a given label.
edges(String, String) - Method in class org.gcube.data.trees.data.InnerNode
Returns the outgoing edges with a given label.
edges(String) - Method in class org.gcube.data.trees.data.InnerNode
Returns the outgoing edges with a given label.
Either<T> - Class in org.gcube.data.trees.constraints
Accepts values that satisfy at least one of two constraints.
Either(Constraint<T>, Constraint<T>) - Constructor for class org.gcube.data.trees.constraints.Either
Creates an instance from two constraints.
either(Constraint<T>, Constraint<T>) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an Either constraint that combines two or more Constraints.
equals(Object) - Method in class org.gcube.data.trees.constraints.After
equals(Object) - Method in class org.gcube.data.trees.constraints.AfterDate
equals(Object) - Method in class org.gcube.data.trees.constraints.All
 
equals(Object) - Method in class org.gcube.data.trees.constraints.AnyValue
equals(Object) - Method in class org.gcube.data.trees.constraints.Before
 
equals(Object) - Method in class org.gcube.data.trees.constraints.BeforeDate
equals(Object) - Method in class org.gcube.data.trees.constraints.Either
 
equals(Object) - Method in class org.gcube.data.trees.constraints.Less
equals(Object) - Method in class org.gcube.data.trees.constraints.Match
equals(Object) - Method in class org.gcube.data.trees.constraints.More
equals(Object) - Method in class org.gcube.data.trees.constraints.Not
equals(Object) - Method in class org.gcube.data.trees.constraints.Same
equals(Object) - Method in class org.gcube.data.trees.data.Edge
equals(Object) - Method in class org.gcube.data.trees.data.InnerNode
equals(Object) - Method in class org.gcube.data.trees.data.Leaf
equals(Object) - Method in class org.gcube.data.trees.data.Node
equals(Object) - Method in class org.gcube.data.trees.data.Tree
 
equals(Object) - Method in class org.gcube.data.trees.patterns.AbstractPattern
 
equals(Object) - Method in class org.gcube.data.trees.patterns.EdgePattern
 
equals(Object) - Method in class org.gcube.data.trees.patterns.LeafPattern
 
equals(Object) - Method in class org.gcube.data.trees.patterns.TreePattern
 

F

find(QName...) - Method in class org.gcube.data.trees.data.InnerNode
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.
find(String...) - Method in class org.gcube.data.trees.data.InnerNode
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.
fromElement(Element) - Static method in class org.gcube.data.trees.io.Bindings
Binds an Element to a Tree.
fromReader(Reader) - Static method in class org.gcube.data.trees.io.Bindings
Binds a Reader to a Tree
fromStream(InputStream) - Static method in class org.gcube.data.trees.io.Bindings
Binds an InputStream to a Tree.
future() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an After constraint for the current date.
futureDate() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an AfterDate constraint for the current date.

G

generate() - Method in class org.gcube.data.trees.generators.AbstractTreeTemplate
Generates a Tree from this template.
generate(long) - Method in class org.gcube.data.trees.generators.AbstractTreeTemplate
Returns an Iterator over Trees generated from this template.
generate() - Method in class org.gcube.data.trees.generators.SimilarityTemplate
Generates a Tree from this template.
generate() - Method in class org.gcube.data.trees.generators.StructuralTemplate
Generates a Tree from this template.
generate() - Method in interface org.gcube.data.trees.generators.TreeTemplate
Generates a Tree from this template.
generate(long) - Method in interface org.gcube.data.trees.generators.TreeTemplate
Returns an Iterator over Trees generated from this template.
getMarshaller() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a Marshaller for Patterns.
getUnMarshaller() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an Unmarshaller for Patterns.

H

hasAttribute(QName) - Method in class org.gcube.data.trees.data.Node
Indicates whether the node has an attribute with a given name.
hasAttribute(String) - Method in class org.gcube.data.trees.data.Node
Indicates whether the node has an attribute with a given name.
hasEdge(QName) - Method in class org.gcube.data.trees.data.InnerNode
Indicates whether the node has at least an edge with a given label.
hasEdge(String) - Method in class org.gcube.data.trees.data.InnerNode
Indicates whether the node has at least an edge with a given label.
hasEdge(String, String) - Method in class org.gcube.data.trees.data.InnerNode
Indicates whether the node has at least an edge with a given label.
hashCode() - Method in class org.gcube.data.trees.constraints.After
hashCode() - Method in class org.gcube.data.trees.constraints.AfterDate
hashCode() - Method in class org.gcube.data.trees.constraints.All
 
hashCode() - Method in class org.gcube.data.trees.constraints.AnyValue
hashCode() - Method in class org.gcube.data.trees.constraints.Before
 
hashCode() - Method in class org.gcube.data.trees.constraints.BeforeDate
hashCode() - Method in class org.gcube.data.trees.constraints.Either
 
hashCode() - Method in class org.gcube.data.trees.constraints.Less
hashCode() - Method in class org.gcube.data.trees.constraints.Match
hashCode() - Method in class org.gcube.data.trees.constraints.More
hashCode() - Method in class org.gcube.data.trees.constraints.Not
hashCode() - Method in class org.gcube.data.trees.constraints.Same
hashCode() - Method in class org.gcube.data.trees.data.Edge
hashCode() - Method in class org.gcube.data.trees.data.InnerNode
hashCode() - Method in class org.gcube.data.trees.data.Leaf
hashCode() - Method in class org.gcube.data.trees.data.Node
hashCode() - Method in class org.gcube.data.trees.data.Tree
 
hashCode() - Method in class org.gcube.data.trees.patterns.AbstractPattern
 
hashCode() - Method in class org.gcube.data.trees.patterns.EdgePattern
 
hashCode() - Method in class org.gcube.data.trees.patterns.LeafPattern
 
hashCode() - Method in class org.gcube.data.trees.patterns.TreePattern
 
hasLabelPath(String...) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a TreePattern that matches InnerNodes with a path of one or more edge labels.
hasLabelPath(QName...) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a TreePattern that matches InnerNodes with a path of one or more edge labels.
hasPath(String...) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a Pattern that matches InnerNodes with a path of one or more node identifiers.

I

id() - Method in class org.gcube.data.trees.data.Node
Returns the node identifier.
id(LeafPattern<?, ?>, T) - Static method in class org.gcube.data.trees.patterns.Patterns
Adds a LeafPattern over the identifier of nodes matched by an AbstractPattern.
id(String, T) - Static method in class org.gcube.data.trees.patterns.Patterns
Adds a LeafPattern for text equality over the identifier of nodes matched by a AbstractPattern.
ID_ATTR - Static variable in class org.gcube.data.trees.io.Bindings
 
idPattern() - Method in class org.gcube.data.trees.patterns.AbstractPattern
Returns the pattern on the node identifier.
includes(EdgePattern.Range) - Method in class org.gcube.data.trees.patterns.EdgePattern.Range
Returns true if this range is included in another.
info() - Method in interface org.gcube.data.trees.io.TreeBinder
Returns descriptive information about the binder
InnerNode - Class in org.gcube.data.trees.data
An inner Node, i.e.
InnerNode(InnerNode) - Constructor for class org.gcube.data.trees.data.InnerNode
Copy constructor, creates an instance as a clone of a given InnerNode.
InnerNode(String) - Constructor for class org.gcube.data.trees.data.InnerNode
Constructs an instance with a given identifier.
InnerNode(String, Edge...) - Constructor for class org.gcube.data.trees.data.InnerNode
Constructs an instance with a given identifier and edges.
InnerNode(Edge...) - Constructor for class org.gcube.data.trees.data.InnerNode
Constructs an instance with a given edges.
InnerNode(String, Map<QName, String>, Edge...) - Constructor for class org.gcube.data.trees.data.InnerNode
Constructs an instance with a given identifier, attributes, and edges.
InnerNode(String, Node.State, Map<QName, String>, Edge...) - Constructor for class org.gcube.data.trees.data.InnerNode
Constructs an instance with a given identifier, state, attributes, and edges.
inSource(String) - Method in class org.gcube.data.trees.generators.StructuralTemplate.STBuilder
Sets a source identifier on the template.
is(T) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a Same constraint for a given value.
isCondition() - Method in class org.gcube.data.trees.patterns.EdgePattern
Indicates whether the pattern is to be processed as a condition.
ISO8601formatter - Static variable in class org.gcube.data.trees.patterns.CalendarPattern
Formatter for ISO8601.
ISO8601formatter - Static variable in class org.gcube.data.trees.patterns.DatePattern
Formatter for ISO8601.
ISO8601minFormatter - Static variable in class org.gcube.data.trees.patterns.CalendarPattern
Formatter for ISO8601 without time.
ISO8601shortFormatter - Static variable in class org.gcube.data.trees.patterns.CalendarPattern
Formatter for ISO8601 without time zones.

L

L - Static variable in class org.gcube.data.trees.data.Nodes
Constant for the Leaf node type.
l(Leaf) - Static method in class org.gcube.data.trees.data.Nodes
Clones a Leaf.
l(String, Object) - Static method in class org.gcube.data.trees.data.Nodes
Returns a Leaf with a given identifier and a given value.
l(Object) - Static method in class org.gcube.data.trees.data.Nodes
Returns a Leaf with a given value.
label() - Method in class org.gcube.data.trees.data.Edge
Returns the label.
label() - Method in class org.gcube.data.trees.patterns.EdgePattern
Returns the label.
labels() - Method in class org.gcube.data.trees.data.InnerNode
Returns the labels of all the outgoing edges.
labels(QName) - Method in class org.gcube.data.trees.data.InnerNode
Returns all the labels that match a given one.
Leaf - Class in org.gcube.data.trees.data
A leaf Node.
Leaf(Leaf) - Constructor for class org.gcube.data.trees.data.Leaf
Copy constructor, creates an instance as a clone of a given Leaf.
Leaf(String) - Constructor for class org.gcube.data.trees.data.Leaf
Creates an instance with a given identifier.
Leaf(String, String) - Constructor for class org.gcube.data.trees.data.Leaf
Creates an instance with a given identifier and a given value.
Leaf(String, Map<QName, String>) - Constructor for class org.gcube.data.trees.data.Leaf
Creates an instance with given attributes and a given value.
Leaf(String, Node.State, String, Map<QName, String>) - Constructor for class org.gcube.data.trees.data.Leaf
Creates an instance with a given identifier, given attributes, and a given value.
LeafPattern<T,C extends Constraint<? super T>> - Class in org.gcube.data.trees.patterns
A Patterns over Leafs.
LeafPattern(C) - Constructor for class org.gcube.data.trees.patterns.LeafPattern
Creates and instance with a given constraint.
Less - Class in org.gcube.data.trees.constraints
Constrains Double values to be strictly smaller than a given one.
Less(double) - Constructor for class org.gcube.data.trees.constraints.Less
Creates an instance from a given value.
less(double) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a Less constraint for a given value.

M

many(QName, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a ManyPattern for a given label and a given Pattern.
many(String, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a ManyPattern for a given label and a given Pattern.
ManyPattern - Class in org.gcube.data.trees.patterns
A Pattern that matches Nodes with zero or more edges that have a given label and target nodes that match a given Pattern.
ManyPattern(QName, Pattern) - Constructor for class org.gcube.data.trees.patterns.ManyPattern
Creates an instance for a givel label and pattern.
markAsNew(Node) - Static method in class org.gcube.data.trees.data.InnerNode
 
Match - Class in org.gcube.data.trees.constraints
Accepts values that match a given regular expression when converted to String.
Match(String) - Constructor for class org.gcube.data.trees.constraints.Match
Creates an instance from a regular expression.
matches(QName, QName) - Static method in class org.gcube.data.trees.data.Nodes
Indicates whether a label matches a regular expression.
matches(Node) - Method in class org.gcube.data.trees.patterns.AbstractPattern
 
matches(Node) - Method in class org.gcube.data.trees.patterns.AnyPattern
Indicates whether a node matches a pattern.
matches(List<Edge>) - Method in class org.gcube.data.trees.patterns.AtLeastPattern
Indicates whether the pattern matches some of the edges in a given list.
matches(Node) - Method in class org.gcube.data.trees.patterns.LeafPattern
Indicates whether a node matches a pattern.
matches(List<Edge>) - Method in class org.gcube.data.trees.patterns.ManyPattern
Indicates whether the pattern matches some of the edges in a given list.
matches(List<Edge>) - Method in class org.gcube.data.trees.patterns.OnePattern
Indicates whether the pattern matches some of the edges in a given list.
matches(List<Edge>) - Method in class org.gcube.data.trees.patterns.OnlyPattern
Indicates whether the pattern matches some of the edges in a given list.
matches(List<Edge>) - Method in class org.gcube.data.trees.patterns.OptPattern
Indicates whether the pattern matches some of the edges in a given list.
matches(Node) - Method in interface org.gcube.data.trees.patterns.Pattern
Indicates whether a node matches a pattern.
matches(String) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a Match constraint for a given regular expression.
matches(Node) - Method in class org.gcube.data.trees.patterns.TreePattern
Indicates whether a node matches a pattern.
matchLabels(List<Edge>) - Method in class org.gcube.data.trees.patterns.EdgePattern
 
max() - Method in class org.gcube.data.trees.patterns.EdgePattern.Range
Returns the minimum number of Edges that may match a given EdgePattern.
min() - Method in class org.gcube.data.trees.patterns.EdgePattern.Range
Returns the maximum number of Edges that may match a given EdgePattern.
More - Class in org.gcube.data.trees.constraints
Constraints values of type Double to be strictly greater than a given one.
More(double) - Constructor for class org.gcube.data.trees.constraints.More
Creates a new instance with a double value.
more(double) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a More constraint for a given value.

N

N - Static variable in class org.gcube.data.trees.data.Nodes
Constant for the InnerNode type.
n(InnerNode) - Static method in class org.gcube.data.trees.data.Nodes
Clones an InnerNode.
n(String, Edge...) - Static method in class org.gcube.data.trees.data.Nodes
Creates an InnerNode with a given identifier and given Edgee.
n(Edge...) - Static method in class org.gcube.data.trees.data.Nodes
Creates an InnerNode with given Edges.
name - Variable in class org.gcube.data.trees.data.Nodes.Attribute
 
name() - Method in interface org.gcube.data.trees.io.BinderInfo
Returns the name of the binder.
name() - Method in class org.gcube.data.trees.patterns.AtLeastPattern
 
name() - Method in class org.gcube.data.trees.patterns.BoolPattern
 
name() - Method in class org.gcube.data.trees.patterns.CalendarPattern
 
name() - Method in class org.gcube.data.trees.patterns.DatePattern
 
name() - Method in class org.gcube.data.trees.patterns.EdgePattern
Returns the name of the pattern.
name() - Method in class org.gcube.data.trees.patterns.LeafPattern
Returns the name of the pattern.
name() - Method in class org.gcube.data.trees.patterns.ManyPattern
Returns the name of the pattern.
name() - Method in class org.gcube.data.trees.patterns.NumPattern
 
name() - Method in class org.gcube.data.trees.patterns.OnePattern
Returns the name of the pattern.
name() - Method in class org.gcube.data.trees.patterns.OnlyPattern
Returns the name of the pattern.
name() - Method in class org.gcube.data.trees.patterns.OptPattern
Returns the name of the pattern.
name() - Method in class org.gcube.data.trees.patterns.TextPattern
 
name() - Method in class org.gcube.data.trees.patterns.URIPattern
 
Node - Class in org.gcube.data.trees.data
A tree node.
Node() - Constructor for class org.gcube.data.trees.data.Node
Creates an instance.
Node(String) - Constructor for class org.gcube.data.trees.data.Node
 
Node(String, Node.State, Map<QName, String>) - Constructor for class org.gcube.data.trees.data.Node
 
Node.State - Enum in org.gcube.data.trees.data
Enumerates the state of the node with respect to remote storage.
NODE_QNAME - Static variable in class org.gcube.data.trees.io.Bindings
 
nodeFromElement(Element) - Static method in class org.gcube.data.trees.io.Bindings
Binds an Element to a Node.
nodeFromReader(Reader) - Static method in class org.gcube.data.trees.io.Bindings
Binds a Reader to a Node.
nodeFromStream(InputStream) - Static method in class org.gcube.data.trees.io.Bindings
Binds an InputStream to a Node.
Nodes - Class in org.gcube.data.trees.data
A set of static methods that implement a simple EDSL of tree expressions.
Nodes() - Constructor for class org.gcube.data.trees.data.Nodes
 
Nodes.Attribute - Class in org.gcube.data.trees.data
An attribute with a name and a value.
Nodes.Attribute() - Constructor for class org.gcube.data.trees.data.Nodes.Attribute
 
nodesIn(URI) - Static method in class org.gcube.data.trees.streams.TreeStreams
Converts a Result Set with Nodes into a Stream.
nodeToElement(Node, QName...) - Static method in class org.gcube.data.trees.io.Bindings
Binds a Node to an Element.
nodeToWriter(Node, Writer, QName...) - Static method in class org.gcube.data.trees.io.Bindings
Binds a Node to a Writer.
Not<T> - Class in org.gcube.data.trees.constraints
Constrains values to not satisfy a given constraint.
Not(Constraint<T>) - Constructor for class org.gcube.data.trees.constraints.Not
Creates an instance from one more constraints.
not(Constraint<T>) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an Not constraint for a given constraint.
num(Constraint<? super Double>) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a NumPattern with a given constraint.
num() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an unconstrained NumPattern.
NumPattern - Class in org.gcube.data.trees.patterns
A Pattern that matches the value of a Leaf against a Double Constraint.
NumPattern(Constraint<? super Double>) - Constructor for class org.gcube.data.trees.patterns.NumPattern
Creates an instance with a given constraint.

O

one(QName, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a OnePattern for a given label and a given Pattern.
one(String, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a OnePattern for a given label and a given Pattern.
OnePattern - Class in org.gcube.data.trees.patterns
A Pattern that matches Nodes that have a single edge with a given label and a target that matches a given Pattern.
OnePattern(QName, Pattern) - Constructor for class org.gcube.data.trees.patterns.OnePattern
Creates an instance for a given label and pattern.
only(QName, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an OnlyPattern for a given label and a given Pattern.
only(String, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an OnlyPattern for a given label and a given Pattern.
OnlyPattern - Class in org.gcube.data.trees.patterns
A Pattern that matches Nodes that have zero or more edges with a given label and a target that matches a given Pattern.
OnlyPattern(QName, Pattern) - Constructor for class org.gcube.data.trees.patterns.OnlyPattern
Creates an instance for a given label and pattern.
opt(QName, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an OptPattern for a given label and a given Pattern.
opt(String, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an OptPattern for a given label and a given Pattern.
OptPattern - Class in org.gcube.data.trees.patterns
A Pattern that matches Nodes that have at most one edge with a given label and a target that matches a given Pattern.
OptPattern(QName, Pattern) - Constructor for class org.gcube.data.trees.patterns.OptPattern
Creates an instance for a given label and pattern.
org.gcube.data.trees - package org.gcube.data.trees
 
org.gcube.data.trees.constraints - package org.gcube.data.trees.constraints
 
org.gcube.data.trees.data - package org.gcube.data.trees.data
 
org.gcube.data.trees.generators - package org.gcube.data.trees.generators
 
org.gcube.data.trees.io - package org.gcube.data.trees.io
 
org.gcube.data.trees.patterns - package org.gcube.data.trees.patterns
 
org.gcube.data.trees.streams - package org.gcube.data.trees.streams
 

P

parent() - Method in class org.gcube.data.trees.data.Node
Returns the parent of the node.
past() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an Before constraint for the current date.
pastDate() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a BeforeDate constraint for the current date.
pattern() - Method in class org.gcube.data.trees.patterns.EdgePattern
Returns the target pattern.
Pattern - Interface in org.gcube.data.trees.patterns
A Pattern over a Node.
pattern(QName) - Method in class org.gcube.data.trees.patterns.TreePattern
Returns a pattern with a given label, if one exists.
Patterns - Class in org.gcube.data.trees.patterns
Defines a simple EDSL for Patterns and other related facilities.
Patterns() - Constructor for class org.gcube.data.trees.patterns.Patterns
 
patterns() - Method in class org.gcube.data.trees.patterns.TreePattern
Return the patterns.
PREFIX - Static variable in class org.gcube.data.trees.io.Bindings
 
prune(Node) - Method in class org.gcube.data.trees.patterns.AbstractPattern
 
prune(Node) - Method in class org.gcube.data.trees.patterns.AnyPattern
Prunes a node of all the descendants that are not required to match the pattern.
prune(List<Edge>) - Method in class org.gcube.data.trees.patterns.AtLeastPattern
Returns the edges from a given list which match the pattern.
prune(Node) - Method in class org.gcube.data.trees.patterns.CutTreePattern
Removes all the edges of a nodes that matches the pattern, not only those that are not required for matching.
prune(Node) - Method in class org.gcube.data.trees.patterns.LeafPattern
Prunes a node of all the descendants that are not required to match the pattern.
prune(List<Edge>) - Method in class org.gcube.data.trees.patterns.ManyPattern
Returns the edges from a given list which match the pattern.
prune(List<Edge>) - Method in class org.gcube.data.trees.patterns.OnePattern
Returns the edges from a given list which match the pattern.
prune(List<Edge>) - Method in class org.gcube.data.trees.patterns.OnlyPattern
Returns the edges from a given list which match the pattern.
prune(List<Edge>) - Method in class org.gcube.data.trees.patterns.OptPattern
Returns the edges from a given list which match the pattern.
prune(Node) - Method in interface org.gcube.data.trees.patterns.Pattern
Prunes a node of all the descendants that are not required to match the pattern.
prune(Node) - Method in class org.gcube.data.trees.patterns.TreePattern
Prunes a node of all the descendants that are not required to match the pattern.
publishNodesIn(Stream<Node>) - Static method in class org.gcube.data.trees.streams.TreeStreams
Publishes a Stream of Nodes as a result set.
publishTreesIn(Stream<Tree>) - Static method in class org.gcube.data.trees.streams.TreeStreams
Publishes a Stream of Trees as a result set.

Q

q(String) - Static method in class org.gcube.data.trees.data.Nodes
Returns a QName from a local name.
q(String, String) - Static method in class org.gcube.data.trees.data.Nodes
Returns a QName from a namespace and a local name.
q(String, String, String) - Static method in class org.gcube.data.trees.data.Nodes
Returns a QName from a prefix, a namespace and a local name.

R

range() - Method in class org.gcube.data.trees.patterns.AtLeastPattern
Returns the EdgePattern.Range of the pattern.
range() - Method in class org.gcube.data.trees.patterns.EdgePattern
Returns the EdgePattern.Range of the pattern.
range() - Method in class org.gcube.data.trees.patterns.ManyPattern
Returns the EdgePattern.Range of the pattern.
range() - Method in class org.gcube.data.trees.patterns.OnePattern
Returns the EdgePattern.Range of the pattern.
range() - Method in class org.gcube.data.trees.patterns.OnlyPattern
Returns the EdgePattern.Range of the pattern.
range() - Method in class org.gcube.data.trees.patterns.OptPattern
Returns the EdgePattern.Range of the pattern.
remove(List<Edge>) - Method in class org.gcube.data.trees.data.InnerNode
Removes one or more edges.
remove(Edge) - Method in class org.gcube.data.trees.data.InnerNode
Removes an edge.
remove(Edge...) - Method in class org.gcube.data.trees.data.InnerNode
Removes one or more edges.
remove(String) - Method in class org.gcube.data.trees.data.InnerNode
Removes a child.
remove(String...) - Method in class org.gcube.data.trees.data.InnerNode
Removes one or more children.
removeAttribute(QName) - Method in class org.gcube.data.trees.data.Node
Removes an attribute from the node, if it exists.
removeAttribute(String) - Method in class org.gcube.data.trees.data.Node
Removes an attribute from the node, if it exists.
ROOT_NAME - Static variable in class org.gcube.data.trees.io.Bindings
 
ROOT_QNAME - Static variable in class org.gcube.data.trees.io.Bindings
 

S

Same<T> - Class in org.gcube.data.trees.constraints
Constrains values to be equal to a given one (in the Object.equals(Object) sense).
Same(Object) - Constructor for class org.gcube.data.trees.constraints.Same
Creates an instance from a value.
setAsCondition() - Method in class org.gcube.data.trees.patterns.EdgePattern
Marks the pattern as a condition.
setAttribute(QName, String) - Method in class org.gcube.data.trees.data.Node
Sets the value of a given node attribute, or adds the attribute if it does not exist already.
setAttribute(String, String) - Method in class org.gcube.data.trees.data.Node
Sets the value of a given node attribute, or adds the attribute if it does not exist already.
setIdPattern(LeafPattern<?, ?>) - Method in class org.gcube.data.trees.patterns.AbstractPattern
Set a predicate on the node identifier.
setParent(InnerNode) - Method in class org.gcube.data.trees.data.Node
Sets the parent of the node.
setPattern(Pattern) - Method in class org.gcube.data.trees.patterns.EdgePattern
Sets the target pattern.
setSourceId(String) - Method in class org.gcube.data.trees.data.Tree
Sets the identifier of the tree source.
SimilarityTemplate - Class in org.gcube.data.trees.generators
A TreeTemplate for Trees that are similar to a Tree, the prototype, to a required degree.
SimilarityTemplate(Tree, double) - Constructor for class org.gcube.data.trees.generators.SimilarityTemplate
 
size() - Method in class org.gcube.data.trees.data.InnerNode
Returns the size of the tree rooted in this node, in bytes.
size() - Method in class org.gcube.data.trees.data.Leaf
Returns the size of the tree rooted in this node, in bytes.
size() - Method in class org.gcube.data.trees.data.Node
Returns the size of the tree rooted in this node, in bytes.
sourceId() - Method in class org.gcube.data.trees.data.Tree
Returns the identifier of the tree source.
state() - Method in class org.gcube.data.trees.data.Node
Returns the node state.
state(Node.State) - Method in class org.gcube.data.trees.data.Node
 
STATUS_ATTR - Static variable in class org.gcube.data.trees.io.Bindings
 
StructuralTemplate - Class in org.gcube.data.trees.generators
A AbstractTreeTemplate for Trees with given structural properties.
StructuralTemplate() - Constructor for class org.gcube.data.trees.generators.StructuralTemplate
 
StructuralTemplate.STBuilder - Class in org.gcube.data.trees.generators
Builds StructuralTemplates.
StructuralTemplate.STBuilder() - Constructor for class org.gcube.data.trees.generators.StructuralTemplate.STBuilder
 

T

t(Tree) - Static method in class org.gcube.data.trees.data.Nodes
Clones a Tree.
t(String, String, Edge...) - Static method in class org.gcube.data.trees.data.Nodes
Creates a Tree in a given collection with a given identifier and given Edges.
t(String, Edge...) - Static method in class org.gcube.data.trees.data.Nodes
Creates a Tree with a given identifier and given Edges.
t(Edge...) - Static method in class org.gcube.data.trees.data.Nodes
Creates a Tree with given Edges.
tail() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a ManyPattern that matches all the children of a node not previously matched by the EdgePatterns of a TreePattern.
target() - Method in class org.gcube.data.trees.data.Edge
Returns the target node.
target(Node) - Method in class org.gcube.data.trees.data.Edge
Sets the target node.
TemplateFactory - Class in org.gcube.data.trees.generators
Factory of TreeTemplates.
TemplateFactory() - Constructor for class org.gcube.data.trees.generators.TemplateFactory
 
text(Constraint<? super String>) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a TextPattern with a given constraint.
text() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an unconstrained TextPattern.
TextPattern - Class in org.gcube.data.trees.patterns
A Pattern that matches the text value of a Leaf against a given String Constraint.
TextPattern(Constraint<? super String>) - Constructor for class org.gcube.data.trees.patterns.TextPattern
Creates an instance with a given constraint.
than() - Method in class org.gcube.data.trees.constraints.Less
 
than() - Method in class org.gcube.data.trees.constraints.More
 
toDate(String) - Static method in class org.gcube.data.trees.data.Nodes
Transforms a String in the format of the dateTime type of XML Schema into a Date object.
toDateString(Date) - Static method in class org.gcube.data.trees.data.Nodes
Transforms a Date object into String representation compliant with the dateTime type of XML Schema
toElement(Tree) - Static method in class org.gcube.data.trees.io.Bindings
Binds a Tree to an Element.
toString() - Method in class org.gcube.data.trees.constraints.After
toString() - Method in class org.gcube.data.trees.constraints.AfterDate
toString() - Method in class org.gcube.data.trees.constraints.All
toString() - Method in class org.gcube.data.trees.constraints.BaseConstraint
toString() - Method in class org.gcube.data.trees.constraints.Before
toString() - Method in class org.gcube.data.trees.constraints.BeforeDate
toString() - Method in class org.gcube.data.trees.constraints.Either
toString() - Method in class org.gcube.data.trees.constraints.Less
toString() - Method in class org.gcube.data.trees.constraints.Match
toString() - Method in class org.gcube.data.trees.constraints.More
toString() - Method in class org.gcube.data.trees.constraints.Not
toString() - Method in class org.gcube.data.trees.constraints.Same
toString() - Method in class org.gcube.data.trees.data.Edge
toString() - Method in class org.gcube.data.trees.data.InnerNode
toString() - Method in class org.gcube.data.trees.data.Leaf
toString() - Method in class org.gcube.data.trees.data.Tree
toString() - Method in class org.gcube.data.trees.generators.SimilarityTemplate
toString() - Method in class org.gcube.data.trees.generators.StructuralTemplate
toString() - Method in class org.gcube.data.trees.patterns.AnyPattern
toString() - Method in class org.gcube.data.trees.patterns.CutTreePattern
 
toString() - Method in class org.gcube.data.trees.patterns.EdgePattern
toString() - Method in class org.gcube.data.trees.patterns.LeafPattern
toString() - Method in class org.gcube.data.trees.patterns.TreePattern
toString() - Method in class org.gcube.data.trees.patterns.URIPattern
totalling(int) - Method in class org.gcube.data.trees.generators.StructuralTemplate.STBuilder
Sets an approximate size in kilobyte for the tree
toText(Tree) - Static method in class org.gcube.data.trees.io.Bindings
Binds a Tree to a String.
toWriter(Tree, Writer, boolean...) - Static method in class org.gcube.data.trees.io.Bindings
Binds a Tree to a Writer.
Tree - Class in org.gcube.data.trees.data
An InnerNode at the root of a tree.
Tree(Tree) - Constructor for class org.gcube.data.trees.data.Tree
Copy constructor, creates an instance as a clone of a given tree.
Tree() - Constructor for class org.gcube.data.trees.data.Tree
Creates an instance.
Tree(String) - Constructor for class org.gcube.data.trees.data.Tree
Constructs an instance with a given identifier.
Tree(String, Edge...) - Constructor for class org.gcube.data.trees.data.Tree
Constructs an instance with a given identifier and edges.
Tree(Edge...) - Constructor for class org.gcube.data.trees.data.Tree
Constructs an instance with given edges.
Tree(String, String, Edge...) - Constructor for class org.gcube.data.trees.data.Tree
Constructs an instance in a given source with a given identifier and given edges.
Tree(String, Map<QName, String>, Edge...) - Constructor for class org.gcube.data.trees.data.Tree
Constructs an instance with a given identifier, attributes, and edges.
Tree(String, Node.State, Map<QName, String>, Edge...) - Constructor for class org.gcube.data.trees.data.Tree
 
tree(EdgePattern...) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a TreePattern with one or more EdgePatterns.
TREE_FORM - Static variable in interface org.gcube.data.trees.io.BinderInfo
 
TREE_NS - Static variable in class org.gcube.data.trees.Constants
Serialisation namespace.
TreeBinder<T> - Interface in org.gcube.data.trees.io
A two-way binding between instances of a given data type and Trees of a given form.
treeForm() - Method in interface org.gcube.data.trees.io.BinderInfo
Returns the name for the class of bound trees.
TreePattern - Class in org.gcube.data.trees.patterns
A Pattern over InnerNodes.
TreePattern(List<EdgePattern>) - Constructor for class org.gcube.data.trees.patterns.TreePattern
Creates and instance with a list of EdgePatterns.
treesIn(URI) - Static method in class org.gcube.data.trees.streams.TreeStreams
Converts a Result Set with Trees into a Stream.
TreeStreams - Class in org.gcube.data.trees.streams
Result set conversion facilities.
TreeStreams() - Constructor for class org.gcube.data.trees.streams.TreeStreams
 
TreeStreams.NodeParser - Class in org.gcube.data.trees.streams
A Generator that parses Nodes from their XML serialisation.
TreeStreams.NodeParser() - Constructor for class org.gcube.data.trees.streams.TreeStreams.NodeParser
 
TreeStreams.NodeSerialiser - Class in org.gcube.data.trees.streams
A Generator that serialises Nodes to XML.
TreeStreams.NodeSerialiser() - Constructor for class org.gcube.data.trees.streams.TreeStreams.NodeSerialiser
 
TreeStreams.TreeParser - Class in org.gcube.data.trees.streams
A Generator that parses Trees from their XML serialisation.
TreeStreams.TreeParser() - Constructor for class org.gcube.data.trees.streams.TreeStreams.TreeParser
 
TreeStreams.TreeSerialiser - Class in org.gcube.data.trees.streams
A Generator that serialises Trees to XML.
TreeStreams.TreeSerialiser() - Constructor for class org.gcube.data.trees.streams.TreeStreams.TreeSerialiser
 
TreeTemplate - Interface in org.gcube.data.trees.generators
Generates Trees with given properties.
type() - Method in interface org.gcube.data.trees.io.BinderInfo
Returns the name of the bound data type

U

unsetAsCondition() - Method in class org.gcube.data.trees.patterns.EdgePattern
Unmarks the pattern as a condition.
update(Node) - Method in class org.gcube.data.trees.data.InnerNode
Applies the changes captured by the delta node in input (cf.
update(Node) - Method in class org.gcube.data.trees.data.Leaf
Applies the changes captured by the delta node in input (cf.
update(Node) - Method in class org.gcube.data.trees.data.Node
Applies the changes captured by the delta node in input..
URI - Static variable in class org.gcube.data.trees.io.Bindings
 
uri(Constraint<? super URI>) - Static method in class org.gcube.data.trees.patterns.Patterns
Returns a URIPattern with a given constraint.
uri() - Static method in class org.gcube.data.trees.patterns.Patterns
Returns an unconstrained URIPattern.
URIPattern - Class in org.gcube.data.trees.patterns
A Pattern that matches the value of Leaf against a given URI Constraint.
URIPattern(Constraint<? super URI>) - Constructor for class org.gcube.data.trees.patterns.URIPattern
Creates an instance with a given constraint.

V

value() - Method in class org.gcube.data.trees.data.Leaf
Returns the inner value.
value(String) - Method in class org.gcube.data.trees.data.Leaf
Sets the inner value.
value - Variable in class org.gcube.data.trees.data.Nodes.Attribute
 
valueOf(String) - Static method in enum org.gcube.data.trees.data.Node.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Method in class org.gcube.data.trees.patterns.BoolPattern
Returns the typed equivalent of a leaf's value.
valueOf(String) - Method in class org.gcube.data.trees.patterns.CalendarPattern
Returns the typed equivalent of a leaf's value.
valueOf(String) - Method in class org.gcube.data.trees.patterns.DatePattern
Returns the typed equivalent of a leaf's value.
valueOf(String) - Method in class org.gcube.data.trees.patterns.LeafPattern
Returns the typed equivalent of a leaf's value.
valueOf(String) - Method in class org.gcube.data.trees.patterns.NumPattern
Returns the typed equivalent of a leaf's value.
valueOf(String) - Method in class org.gcube.data.trees.patterns.TextPattern
Returns the typed equivalent of a leaf's value.
valueOf(String) - Method in class org.gcube.data.trees.patterns.URIPattern
Returns the typed equivalent of a leaf's value.
values() - Static method in enum org.gcube.data.trees.data.Node.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

wide(int) - Method in class org.gcube.data.trees.generators.StructuralTemplate.STBuilder
Sets the width on the template.
withAttributes(int) - Method in class org.gcube.data.trees.generators.StructuralTemplate.STBuilder
Sets the maximum number of attributes on the template.
withIds() - Method in class org.gcube.data.trees.generators.StructuralTemplate.STBuilder
Sets the generation of node identifiers on the template.
withValuesOf(int) - Method in class org.gcube.data.trees.generators.StructuralTemplate.STBuilder
Sets the maximum size of leaf values on the template.

Y

yield(String) - Method in class org.gcube.data.trees.streams.TreeStreams.NodeParser
yield(Node) - Method in class org.gcube.data.trees.streams.TreeStreams.NodeSerialiser
yield(String) - Method in class org.gcube.data.trees.streams.TreeStreams.TreeParser
yield(Tree) - Method in class org.gcube.data.trees.streams.TreeStreams.TreeSerialiser

A B C D E F G H I L M N O P Q R S T U V W Y

Copyright © 2012. All Rights Reserved.