- a(String, Object) - Static method in class org.gcube.data.trees.data.Nodes
-
- a(QName, Object) - Static method in class org.gcube.data.trees.data.Nodes
-
- AbstractPattern - Class in org.gcube.data.trees.patterns
-
- AbstractPattern() - Constructor for class org.gcube.data.trees.patterns.AbstractPattern
-
- AbstractTreeTemplate - Class in org.gcube.data.trees.generators
-
- 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
-
- 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
-
- 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
-
- atleast(String, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
-
- 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
-
- aTreeLike(Tree, double) - Static method in class org.gcube.data.trees.generators.TemplateFactory
-
- aTreeLike(Tree) - Static method in class org.gcube.data.trees.generators.TemplateFactory
-
- 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.
- 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
-
- calendar() - Static method in class org.gcube.data.trees.patterns.Patterns
-
- CalendarPattern - Class in org.gcube.data.trees.patterns
-
- 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
-
- clone(EdgePattern) - Static method in class org.gcube.data.trees.patterns.Patterns
-
- cond(EdgePattern) - Static method in class org.gcube.data.trees.patterns.Patterns
-
- 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
-
- CutTreePattern - Class in org.gcube.data.trees.patterns
-
- CutTreePattern(List<EdgePattern>) - Constructor for class org.gcube.data.trees.patterns.CutTreePattern
-
- date(Constraint<? super Date>) - Static method in class org.gcube.data.trees.patterns.Patterns
-
- date() - Static method in class org.gcube.data.trees.patterns.Patterns
-
- DatePattern - Class in org.gcube.data.trees.patterns
-
- 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
-
Deprecated.
- DEFAULT_ROOT - Static variable in class org.gcube.data.trees.io.WriteOptions
-
- delete() - Method in class org.gcube.data.trees.data.InnerNode
-
- 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
-
- 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(Edge) - Static method in class org.gcube.data.trees.data.Nodes
-
- e(QName, Node) - Static method in class org.gcube.data.trees.data.Nodes
-
- e(String, Node) - Static method in class org.gcube.data.trees.data.Nodes
-
- e(QName, Object) - Static method in class org.gcube.data.trees.data.Nodes
-
- e(String, Object) - Static method in class org.gcube.data.trees.data.Nodes
-
- 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
-
- 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
-
- 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
-
- id() - Method in class org.gcube.data.trees.data.Node
-
Returns the node identifier.
- ID - Static variable in class org.gcube.data.trees.io.XMLBindings
-
- id(LeafPattern<?, ?>, T) - Static method in class org.gcube.data.trees.patterns.Patterns
-
- id(String, T) - Static method in class org.gcube.data.trees.patterns.Patterns
-
- ID_ATTR - Static variable in class org.gcube.data.trees.io.Bindings
-
Deprecated.
- 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
-
- 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.
- isWriteXMLDeclaration() - Method in class org.gcube.data.trees.io.WriteOptions
-
- many(QName, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
-
- many(String, Pattern) - Static method in class org.gcube.data.trees.patterns.Patterns
-
- 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
-
- min() - Method in class org.gcube.data.trees.patterns.EdgePattern.Range
-
- 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 - Static variable in class org.gcube.data.trees.data.Nodes
-
- n(InnerNode) - Static method in class org.gcube.data.trees.data.Nodes
-
- n(String, Edge...) - Static method in class org.gcube.data.trees.data.Nodes
-
- n(Edge...) - Static method in class org.gcube.data.trees.data.Nodes
-
- 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
-
Deprecated.
- nodeFromElement(Element) - Static method in class org.gcube.data.trees.io.Bindings
-
Deprecated.
- nodeFromElement(Element) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Parses a
Node from its XML representation.
- nodeFromReader(Reader) - Static method in class org.gcube.data.trees.io.Bindings
-
Deprecated.
- nodeFromStream(InputStream) - Static method in class org.gcube.data.trees.io.Bindings
-
Deprecated.
- nodeFromStream(Reader) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Parses a
Node from its XML representation.
- nodeFromStream(InputStream) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Parses a
Node from its XML representation.
- nodeFromString(String) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Parses a
Node from its XML representation.
- nodeId() - Method in class org.gcube.data.trees.uri.TreeUriBean
-
Returns the identifier of the node.
- nodeIDs() - Method in class org.gcube.data.trees.uri.TreeUriBean
-
Returns the identifiers of the nodes.
- 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
-
Deprecated.
- nodeToElement(Node, WriteOptions) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Node to its XML representation.
- nodeToElement(Node) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Node to its XML representation.
- nodeToStream(Node, Writer) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Node to its XML representation.
- nodeToStream(Node, Writer, WriteOptions) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Node to its XML representation.
- nodetoStream(Node, OutputStream) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Node to its XML representation.
- nodeToStream(Node, OutputStream, WriteOptions) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Node to its XML representation.
- nodeToString(Node) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Node to its XML representation.
- nodeToString(Node, WriteOptions) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Node to its XML representation.
- nodeToWriter(Node, Writer, QName...) - Static method in class org.gcube.data.trees.io.Bindings
-
Deprecated.
- 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
-
- num() - Static method in class org.gcube.data.trees.patterns.Patterns
-
- NumPattern - Class in org.gcube.data.trees.patterns
-
- NumPattern(Constraint<? super Double>) - Constructor for class org.gcube.data.trees.patterns.NumPattern
-
Creates an instance with a given constraint.
- 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
-
- 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
-
Deprecated.
- prefixes() - Method in class org.gcube.data.trees.io.WriteOptions
-
- 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.
- Same<T> - Class in org.gcube.data.trees.constraints
-
- Same(Object) - Constructor for class org.gcube.data.trees.constraints.Same
-
Creates an instance from a value.
- scope() - Method in class org.gcube.data.trees.uri.TreeUriBean
-
Returns the scope of the URL.
- 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.
- setRootElement(QName) - Method in class org.gcube.data.trees.io.WriteOptions
-
- setSourceId(String) - Method in class org.gcube.data.trees.data.Tree
-
Sets the identifier of the tree source.
- setWriteXMLDeclaration(boolean) - Method in class org.gcube.data.trees.io.WriteOptions
-
- SimilarityTemplate - Class in org.gcube.data.trees.generators
-
- 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.
- SOURCE - Static variable in class org.gcube.data.trees.io.XMLBindings
-
- sourceId() - Method in class org.gcube.data.trees.data.Tree
-
Returns the identifier of the tree source.
- sourceId() - Method in class org.gcube.data.trees.uri.TreeUriBean
-
Returns the source identifier.
- SOURCEID_ATTR - Static variable in class org.gcube.data.trees.io.Bindings
-
Deprecated.
- 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
-
- STATE - Static variable in class org.gcube.data.trees.io.XMLBindings
-
- STATUS_ATTR - Static variable in class org.gcube.data.trees.io.Bindings
-
Deprecated.
- StructuralTemplate - Class in org.gcube.data.trees.generators
-
- StructuralTemplate() - Constructor for class org.gcube.data.trees.generators.StructuralTemplate
-
- StructuralTemplate.STBuilder - Class in org.gcube.data.trees.generators
-
- StructuralTemplate.STBuilder() - Constructor for class org.gcube.data.trees.generators.StructuralTemplate.STBuilder
-
- t(Tree) - Static method in class org.gcube.data.trees.data.Nodes
-
- 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
-
- tail() - Static method in class org.gcube.data.trees.patterns.Patterns
-
- 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
-
- TemplateFactory() - Constructor for class org.gcube.data.trees.generators.TemplateFactory
-
- text(Constraint<? super String>) - Static method in class org.gcube.data.trees.patterns.Patterns
-
- text() - Static method in class org.gcube.data.trees.patterns.Patterns
-
- TextPattern - Class in org.gcube.data.trees.patterns
-
- 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
-
Deprecated.
- toElement(Tree) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Tree to its XML representation.
- toElement(Tree, WriteOptions) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Tree to its XML representation.
- toStream(Tree, Writer) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Tree to its XML representation.
- toStream(Tree, Writer, WriteOptions) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Tree to its XML representation.
- toStream(Tree, OutputStream) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Tree to its XML representation.
- toStream(Tree, OutputStream, WriteOptions) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Tree to its XML representation.
- 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(Tree) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Tree to its XML representation.
- toString(Tree, WriteOptions) - Static method in class org.gcube.data.trees.io.XMLBindings
-
Converts a
Tree to its XML representation.
- 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
- toString() - Method in class org.gcube.data.trees.uri.TreeUriBean
-
- 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
-
Deprecated.
- toWriter(Tree, Writer, boolean...) - Static method in class org.gcube.data.trees.io.Bindings
-
Deprecated.
- Tree - Class in org.gcube.data.trees.data
-
- 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
-
- 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.
- TREE_URI_PATH_PREFIX - Static variable in class org.gcube.data.trees.Constants
-
The first path component of a tree URI.
- 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.
- treeId() - Method in class org.gcube.data.trees.uri.TreeUriBean
-
Returns the tree identifier.
- TreePattern - Class in org.gcube.data.trees.patterns
-
- TreePattern(List<EdgePattern>) - Constructor for class org.gcube.data.trees.patterns.TreePattern
-
- 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.
- TreeUriBean - Class in org.gcube.data.trees.uri
-
Models the information in a tree URI.
- TreeUriBean(URI) - Constructor for class org.gcube.data.trees.uri.TreeUriBean
-
- type() - Method in interface org.gcube.data.trees.io.BinderInfo
-
Returns the name of the bound data type