|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Node in org.gcube.contentmanagement.contentmanager.plugin.delegates |
---|
Methods in org.gcube.contentmanagement.contentmanager.plugin.delegates that return Node | |
---|---|
Node |
ReadDelegate.getNode(java.lang.String... path)
Returns a gDoc document node from the path of identifiers which connects it to the root. |
Methods in org.gcube.contentmanagement.contentmanager.plugin.delegates that return types with arguments of type Node | |
---|---|
RemoteIterator<Node> |
ReadDelegate.getNodes(RSIterator<Path> iterator)
Returns the document nodes identified by corresponding Path s into documents of the target collection. |
Uses of Node in org.gcube.contentmanagement.contentmanager.state |
---|
Methods in org.gcube.contentmanagement.contentmanager.state that return Node | |
---|---|
Node |
ReadManager.getNode(java.lang.String... path)
Returns a gDoc document node from the path of identifiers which connects it to the root. |
Methods in org.gcube.contentmanagement.contentmanager.state with parameters of type Node | |
---|---|
java.lang.String |
ResultSerialisers.NodeSerialiser.serialise(Node doc)
|
Uses of Node in org.gcube.contentmanagement.contentmanager.stubs.calls |
---|
Methods in org.gcube.contentmanagement.contentmanager.stubs.calls that return Node | |
---|---|
static Node |
ReadManagerCall.get(java.net.URI uri,
GCUBEScope scope,
GCUBESecurityManager... manager)
Resolves a content URI in a given scope and, optionally, with a given security manager. |
Node |
ReadManagerCall.getNode(java.lang.String... nodeIDs)
Returns a gDoc document node from the list of identifiers that connect it to the document root. |
Uses of Node in org.gcube.contentmanagement.contentmanager.stubs.calls.iterators |
---|
Methods in org.gcube.contentmanagement.contentmanager.stubs.calls.iterators that return Node | |
---|---|
Node |
NodeResultParser.parse(java.lang.String payload)
|
Uses of Node in org.gcube.contentmanagement.contentmanager.stubs.model.predicates |
---|
Methods in org.gcube.contentmanagement.contentmanager.stubs.model.predicates with parameters of type Node | |
---|---|
boolean |
TreePredicate.matches(Node n)
Indicates whether a node matches a predicate. |
boolean |
LeafPredicate.matches(Node n)
Indicates whether a node matches a predicate. |
boolean |
Predicate.matches(Node n)
Indicates whether a node matches a predicate. |
boolean |
AnyPredicate.matches(Node n)
Indicates whether a node matches a predicate. |
void |
TreePredicate.prune(Node n)
Prunes a node of all the descendants that are not required to match the predicate. |
void |
LeafPredicate.prune(Node n)
Prunes a node of all the descendants that are not required to match the predicate. |
void |
Predicate.prune(Node n)
Prunes a node of all the descendants that are not required to match the predicate. |
void |
AnyPredicate.prune(Node n)
Prunes a node of all the descendants that are not required to match the predicate. |
void |
CutTreePredicate.prune(Node n)
Extends the behaviour of TreePredicate to removes all the edges of a nodes that matches the predicate, not only those that are not required for matching. |
Uses of Node in org.gcube.contentmanagement.contentmanager.stubs.model.trees |
---|
Subclasses of Node in org.gcube.contentmanagement.contentmanager.stubs.model.trees | |
---|---|
class |
GDoc
Extends InnerNode for roots of trees that model gDoc documents. |
class |
InnerNode
A (thread-safe) Node with an identity and outgoing edges. |
class |
Leaf
A Node with an inner value but without an identity or outgoing edges. |
Methods in org.gcube.contentmanagement.contentmanager.stubs.model.trees with type parameters of type Node | ||
---|---|---|
static
|
Nodes.attr(N n,
org.gcube.contentmanagement.contentmanager.stubs.model.trees.Nodes.Attribute attribute,
org.gcube.contentmanagement.contentmanager.stubs.model.trees.Nodes.Attribute... as)
Returns a given node annotated with one or more attributes |
|
|
InnerNode.child(java.lang.Class<T> type,
javax.xml.namespace.QName label)
Returns a child of this node with a given label and of a given node type, if exactly one exists. |
|
|
InnerNode.child(java.lang.Class<T> type,
java.lang.String name)
Returns a child of this node with a given label and of a given node type, if exactly one exists. |
|
|
InnerNode.child(java.lang.Class<T> type,
java.lang.String ns,
java.lang.String name)
Returns a child of this node with a given label and of a given type, if exactly one exists. |
|
|
InnerNode.children(java.lang.Class<T> type)
Returns all the children of this node of a given node type. |
|
|
InnerNode.children(java.lang.Class<T> type,
javax.xml.namespace.QName label)
Returns all the children of this node with a given label and a given node type. |
|
|
InnerNode.children(java.lang.Class<T> type,
java.lang.String name)
Returns all the children of this node with a given label and a given node type. |
|
|
InnerNode.children(java.lang.Class<T> type,
java.lang.String ns,
java.lang.String name)
Returns all the children of this node with a given label and given node type. |
|
|
InnerNode.descendant(java.lang.Class<T> type,
java.lang.String... descendantIDs)
Returns the descendant of this node of a given tree type which can be reached by following a given sequence of node identifiers. |
|
|
InnerNode.descendants(java.lang.Class<T> type,
javax.xml.namespace.QName... labels)
Returns all the descendants of a given node type which can be reached by following a given sequence of labels. |
|
|
InnerNode.descendants(java.lang.Class<T> type,
java.lang.String... labels)
Returns all the descendants of a given node type that can be reached by following a given sequence of labels. |
Methods in org.gcube.contentmanagement.contentmanager.stubs.model.trees that return Node | |
---|---|
Node |
InnerNode.child(javax.xml.namespace.QName label)
Returns a child of this node with a given label, if exactly one exists. |
Node |
InnerNode.child(java.lang.String name)
Returns a child of this node with a given label, if exactly one exists. |
Node |
InnerNode.child(java.lang.String ns,
java.lang.String name)
Returns a child of this node with a given label, if exactly one exists. |
Node |
InnerNode.descendant(java.lang.String... descendantIDs)
Returns the descendant of this node that can be reached by following a given sequence of node identifiers. |
static Node |
Bindings.nodeFromElement(org.w3c.dom.Element e)
Transforms a DOM tree into a node. |
static Node |
Bindings.nodeFromXML(java.io.InputStream in)
Deserialiases a node from an XML stream. |
static Node |
Bindings.nodeFromXML(java.io.Reader r)
Deserialiases a node from an XML stream. |
Node |
InnerNode.remove(java.lang.String childID)
Removes a child. |
Node |
Edge.target()
Returns the target node. |
Methods in org.gcube.contentmanagement.contentmanager.stubs.model.trees that return types with arguments of type Node | |
---|---|
java.util.List<Node> |
Node.ancestorsAndSelf()
Returns the ancestors of the node along with the node itself. |
java.util.List<Node> |
InnerNode.children()
Returns all the children of this node. |
java.util.List<Node> |
InnerNode.children(javax.xml.namespace.QName label)
Returns all the children of this node with a given label. |
java.util.List<Node> |
InnerNode.children(java.lang.String name)
Returns all the children of this node with a given label. |
java.util.List<Node> |
InnerNode.children(java.lang.String ns,
java.lang.String name)
Returns all the children of this node with a given label. |
java.util.List<Node> |
InnerNode.descendants(javax.xml.namespace.QName... labels)
Returns all the descendants that can be reached by following a given sequence of labels. |
java.util.List<Node> |
InnerNode.descendants(java.lang.String... labels)
Returns all the descendants that can be reached by following a given sequence of labels. |
java.util.List<Node> |
InnerNode.remove(java.lang.String... childIDs)
Removes one or more children. |
Methods in org.gcube.contentmanagement.contentmanager.stubs.model.trees with parameters of type Node | |
---|---|
static void |
Nodes.addURIs(Node n)
Marks a node and all its descendants with their content URIs. |
InnerNode |
InnerNode.delta(Node f)
Returns a node that reflects the delta between this document and a given input node. |
static Edge |
Nodes.e(java.lang.String name,
Node node)
Creates an edge to a node in a document tree. |
static Edge |
Nodes.e(java.lang.String ns,
java.lang.String name,
Node node)
Creates an edge to a node in a document tree. |
static Edge |
Nodes.e(java.lang.String prefix,
java.lang.String ns,
java.lang.String name,
Node node)
Creates an edge to a node in a document tree. |
static org.w3c.dom.Element |
Bindings.nodeToElement(Node node,
javax.xml.namespace.QName... name)
Transforms a document node to a DOM tree. |
static void |
Bindings.nodeToXML(Node node,
java.io.Writer w,
javax.xml.namespace.QName... name)
Serialises a document node to an XML stream. |
void |
Edge.target(Node n)
Sets the target node. |
Constructors in org.gcube.contentmanagement.contentmanager.stubs.model.trees with parameters of type Node | |
---|---|
Edge(javax.xml.namespace.QName l,
Node n)
Creates an instance with a label and a node. |
|
Edge(java.lang.String ln,
Node n)
Creates an instance with a label and a node. |
|
Edge(java.lang.String ns,
java.lang.String ln,
Node n)
Creates an instance with a label and a node. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |