Uses of Interface
org.apache.sis.util.collection.TreeTable.Node
Packages that use TreeTable.Node
Package
Description
Command line interface for Apache SIS.
A coverage backed by a regular grid.
Default set of
ObjectConverter
implementations.Base implementation shared by the main
filter
package and the SQLMM extension.Miscellaneous objects and adapters defined in the
"lan"
namespace.A set of helper classes for the SIS implementation.
Math transform provider
implementations.
Build
DefaultFeatureType
s by inspection of database schemas.A set of helper classes for the SIS implementation.
Root package for various metadata implementations.
Mapping between geographic identifiers (addresses, grid indexes…) and locations (descriptions, coordinates…).
Provides information and some controls about SIS configuration.
Data store base types for retrieving and saving geospatial data
in various storage formats.
Maps GeoTIFF tags to ISO metadata and read raster data as coverages.
Addition to the collection framework.
-
Uses of TreeTable.Node in org.apache.sis.console
Methods in org.apache.sis.console that return types with arguments of type TreeTable.NodeModifier and TypeMethodDescription(package private) Predicate
<TreeTable.Node> FormattedOutputCommand.getNodeFilter()
Returns the filter for simplifying the tree table to be formatted, ornull
if none.(package private) Predicate
<TreeTable.Node> MetadataCommand.getNodeFilter()
Returns the filter for simplifying the tree table to be formatted. -
Uses of TreeTable.Node in org.apache.sis.coverage.grid
Fields in org.apache.sis.coverage.grid declared as TreeTable.NodeModifier and TypeFieldDescriptionprivate final TreeTable.Node
GridGeometry.Formatter.root
Where to write theGridGeometry
string representation.private TreeTable.Node
GridGeometry.Formatter.section
The section under the GridGeometry.Formatter.root where to write elements.Methods in org.apache.sis.coverage.grid with parameters of type TreeTable.NodeModifier and TypeMethodDescription(package private) void
GridCoverage.appendDataLayout
(TreeTable.Node root, Vocabulary vocabulary, TableColumn<CharSequence> column) Appends a "data layout" branch (if it exists) to the tree representation of this coverage.(package private) void
GridCoverage2D.appendDataLayout
(TreeTable.Node root, Vocabulary vocabulary, TableColumn<CharSequence> column) Appends a "data layout" branch (if it exists) to the tree representation of this coverage.(package private) final void
GridGeometry.formatTo
(Locale locale, Vocabulary vocabulary, int bitmask, TreeTable.Node root) Formats a string representation of this grid geometry in the specified tree.Constructors in org.apache.sis.coverage.grid with parameters of type TreeTable.NodeModifierConstructorDescription(package private)
Formatter
(Locale locale, Vocabulary vocabulary, int bitmask, TreeTable.Node out) Creates a new formatter for the given combination ofGridGeometry.EXTENT
,GridGeometry.ENVELOPE
,GridGeometry.CRS
,GridGeometry.GRID_TO_CRS
andGridGeometry.RESOLUTION
. -
Uses of TreeTable.Node in org.apache.sis.internal.converter
Methods in org.apache.sis.internal.converter with parameters of type TreeTable.NodeModifier and TypeMethodDescription(package private) static void
Column.toTree
(ObjectConverter<?, ?> converter, TreeTable.Node addTo) Creates a node for the given converter and adds it to the given tree.(package private) final void
FallbackConverter.toTree
(TreeTable.Node addTo, boolean isNew) Adds a simplified tree representation of thisFallbackConverter
to the given node.private void
FallbackConverter.toTree
(ObjectConverter<?, ?> converter, TreeTable.Node addTo) Creates a node for the given converter and adds it to the given tree. -
Uses of TreeTable.Node in org.apache.sis.internal.filter
Methods in org.apache.sis.internal.filter with parameters of type TreeTable.NodeModifier and TypeMethodDescriptionprivate void
Node.toTree
(TreeTable.Node root, Map<Object, Boolean> visited) Builds a tree representation of this node, including all children. -
Uses of TreeTable.Node in org.apache.sis.internal.jaxb.lan
Classes in org.apache.sis.internal.jaxb.lan that implement TreeTable.NodeModifier and TypeClassDescriptionfinal class
Utility methods for handlingMap<Locale,Charset>
as separated collections.private final class
The only child of the node containing aLocale
value.Fields in org.apache.sis.internal.jaxb.lan declared as TreeTable.NodeModifier and TypeFieldDescriptionprivate final TreeTable.Node
LocaleAndCharset.node
The node containing aMap.Entry<Locale,Charset>
value.Methods in org.apache.sis.internal.jaxb.lan that return TreeTable.NodeModifier and TypeMethodDescriptionLocaleAndCharset.Child.getParent()
LocaleAndCharset.getParent()
Delegates to wrapped node since thisLocaleAndCharset
is a substitute for that node.LocaleAndCharset.Child.newChild()
LocaleAndCharset.newChild()
Creates a new child only if none exists.Methods in org.apache.sis.internal.jaxb.lan that return types with arguments of type TreeTable.NodeModifier and TypeMethodDescriptionLocaleAndCharset.Child.getChildren()
LocaleAndCharset.getChildren()
Returns the list of children, which is implemented by this class itself.Constructors in org.apache.sis.internal.jaxb.lan with parameters of type TreeTable.NodeModifierConstructorDescriptionCreates a new node for the given entry. -
Uses of TreeTable.Node in org.apache.sis.internal.referencing
Methods in org.apache.sis.internal.referencing with parameters of type TreeTable.NodeModifier and TypeMethodDescriptionprivate void
RTreeNode.toTree
(TreeTable.Node addTo) Adds this node and its children to the given node. -
Uses of TreeTable.Node in org.apache.sis.internal.referencing.provider
Methods in org.apache.sis.internal.referencing.provider with parameters of type TreeTable.NodeModifier and TypeMethodDescriptionprivate void
DatumShiftGridFile.toTree
(TreeTable.Node branch) Formats this grid as a tree with its children. -
Uses of TreeTable.Node in org.apache.sis.internal.sql.feature
Methods in org.apache.sis.internal.sql.feature that return TreeTable.NodeModifier and TypeMethodDescription(package private) static TreeTable.Node
TableReference.newChild
(TreeTable.Node parent, String name) Adds a child of the given name to the given parent node.Methods in org.apache.sis.internal.sql.feature with parameters of type TreeTable.NodeModifier and TypeMethodDescriptionprivate static void
Table.appendAll
(TreeTable.Node parent, Relation[] children, String arrow) Appends all children to the given parent.(package private) final void
Database.appendTo
(TreeTable.Node parent) Creates a tree representation of this database for debugging purpose.(package private) void
Relation.appendTo
(TreeTable.Node parent, String arrow) Creates a tree representation of this relation for debugging purpose.(package private) final void
Table.appendTo
(TreeTable.Node parent) Creates a tree representation of this table for debugging purpose.(package private) static TreeTable.Node
TableReference.newChild
(TreeTable.Node parent, String name) Adds a child of the given name to the given parent node.Method parameters in org.apache.sis.internal.sql.feature with type arguments of type TreeTable.NodeModifier and TypeMethodDescription(package private) static String
TableReference.toString
(Object owner, Consumer<TreeTable.Node> appender) Formats a graphical representation of an object for debugging purpose. -
Uses of TreeTable.Node in org.apache.sis.internal.util
Methods in org.apache.sis.internal.util that return types with arguments of type TreeTable.NodeModifier and TypeMethodDescriptionTreeFormatCustomization.filter()
Returns the tree node filter to use when formatting instances of theTreeTable
. -
Uses of TreeTable.Node in org.apache.sis.metadata
Classes in org.apache.sis.metadata that implement TreeTable.NodeModifier and TypeClassDescription(package private) class
A node in aTreeTableView
view.(package private) static final class
A node for an element in a collection.(package private) static class
A node for a metadata property value.private final class
The proxy to be returned byTreeNode.newChild()
.Fields in org.apache.sis.metadata with type parameters of type TreeTable.NodeModifier and TypeFieldDescriptionprivate Collection
<TreeTable.Node> TreeNode.children
The children of this node, ornull
if not yet computed.(package private) final Function
<TreeNode, TreeTable.Node> TreeNode.Element.decorator
If tree node should be wrapped in another object before to be returned, the function performing that wrapping.private static final Collection
<TreeTable.Node> TreeNode.LEAF
The collection of TreeNode.children to return when the node does not allow children (i.e.Methods in org.apache.sis.metadata that return TreeTable.NodeModifier and TypeMethodDescriptionfinal TreeTable.Node
TreeNode.getParent()
Returns the parent node, ornull
if this node is the root of the tree.TreeNode.NewChild.getParent()
For all operations other thansetValue(…)
, delegates to theTreeNode.NewChild.delegate
node or to some code functionally equivalent.TreeTableView.getRoot()
Returns the root of this metadata tree.final TreeTable.Node
TreeNode.newChild()
Returns a proxy for a new property to be defined in the metadata object.TreeNode.NewChild.newChild()
TreeNodeChildren.Iter.next()
Returns the node for the metadata property at the currentTreeNodeChildren.Iter.nextInAccessor
.Methods in org.apache.sis.metadata that return types with arguments of type TreeTable.NodeModifier and TypeMethodDescriptionTreeTableView.filter()
Returns the filter to use when formatting an instance of thisTreeTable
.final Collection
<TreeTable.Node> TreeNode.getChildren()
Returns the children of this node, or an empty set if none.TreeNode.NewChild.getChildren()
TreeNodeChildren.iterator()
Returns an iterator over the nodes in the collection of children.Methods in org.apache.sis.metadata with parameters of type TreeTable.NodeModifier and TypeMethodDescriptionboolean
TreeNodeChildren.add
(TreeTable.Node node) Adds the given node to this list.private static boolean
TreeTableView.filter
(TreeTable.Node node) Invoked during the formatting of a tree node for hiding the ISBN and ISSN identifiers of aCitation
. -
Uses of TreeTable.Node in org.apache.sis.referencing.gazetteer
Methods in org.apache.sis.referencing.gazetteer with parameters of type TreeTable.NodeModifier and TypeMethodDescriptionprivate static void
AbstractLocationType.format
(AbstractLocationType type, TreeTable.Node node) Invoked recursively for formatting the given type in the given tree. -
Uses of TreeTable.Node in org.apache.sis.setup
Methods in org.apache.sis.setup that return TreeTable.NodeModifier and TypeMethodDescriptionprivate static TreeTable.Node
About.concatenateSingletons
(TreeTable.Node node, boolean skip) For every branch containing only one child and no value, merges in-place that branch and the node together.Methods in org.apache.sis.setup with parameters of type TreeTable.NodeModifier and TypeMethodDescriptionprivate static TreeTable.Node
About.concatenateSingletons
(TreeTable.Node node, boolean skip) For every branch containing only one child and no value, merges in-place that branch and the node together.private static void
About.omitMavenRedundancy
(TreeTable.Node node) If a file path in the given node or any children follow the Maven pattern, remove the artifact name and version numbers redundancies in order to make the name more compact. -
Uses of TreeTable.Node in org.apache.sis.storage
Methods in org.apache.sis.storage with parameters of type TreeTable.NodeModifier and TypeMethodDescription(package private) final void
StorageConnector.Coupled.append
(TreeTable.Node appendTo, Map<Class<?>, StorageConnector.Coupled> views) Formats the currentCoupled
and all its children as a tree in the given tree table node. -
Uses of TreeTable.Node in org.apache.sis.storage.geotiff
Classes in org.apache.sis.storage.geotiff that implement TreeTable.NodeModifier and TypeClassDescription(package private) static final class
A tree-table representation of the XML document contained in the enclosingXMLMetadata
.Fields in org.apache.sis.storage.geotiff declared as TreeTable.NodeModifier and TypeFieldDescriptionprivate TreeTable.Node
NativeMetadata.geoNode
The node for GeoKeys, ornull
if none.Methods in org.apache.sis.storage.geotiff with parameters of type TreeTable.NodeModifier and TypeMethodDescriptionprivate void
XMLMetadata.append
(XMLEventReader reader, StartElement element, TreeTable.Node node) Converts an XML element and its children to a tree table node. -
Uses of TreeTable.Node in org.apache.sis.util.collection
Classes in org.apache.sis.util.collection that implement TreeTable.NodeModifier and TypeClassDescriptionstatic class
ATreeTable.Node
implementation which can store values for a predefined list of columns.Fields in org.apache.sis.util.collection declared as TreeTable.NodeModifier and TypeFieldDescriptionprivate TreeTable.Node[]
TreeNodeList.children
The children, ornull
if none.private TreeTable.Node
DefaultTreeTable.Node.parent
The parent of this node, ornull
if none.protected final TreeTable.Node
TreeNodeList.parent
The parent of all children managed by this list.private TreeTable.Node
DefaultTreeTable.root
The root node, ornull
if not yet specified.Fields in org.apache.sis.util.collection with type parameters of type TreeTable.NodeModifier and TypeFieldDescriptionprivate List
<TreeTable.Node> DefaultTreeTable.Node.children
The list of children, ornull
if none.private final Predicate
<TreeTable.Node> TreeTableFormat.Writer.filter
Combination ofTreeTableFormat.nodeFilter
with other filter that may be specified by the tree table to format.private Predicate
<TreeTable.Node> TreeTableFormat.nodeFilter
A filter for specifying whether a node should be formatted, ornull
if no filtering is applied.private Set
<TreeTable.Node> TreeTableFormat.recursivityGuard
The set to be given toTreeTableFormat.Writer
constructor, created when first needed and reused for subsequent formatting.private final Set
<TreeTable.Node> TreeTableFormat.Writer.recursivityGuard
The node that have already been formatted.Methods in org.apache.sis.util.collection that return TreeTable.NodeModifier and TypeMethodDescriptionTreeNodeList.get
(int index) Returns the node at the specified index in this list.final TreeTable.Node
DefaultTreeTable.Node.getParent()
Returns the parent of this node.TreeTable.Node.getParent()
Returns the parent node, ornull
if this node is the root of the tree.DefaultTreeTable.getRoot()
Returns the root node.TreeTable.getRoot()
Returns the root node of the tree.TreeTable.Node.newChild()
Creates a new child with the same columns than the other children, and adds it to the children collection.private TreeTable.Node
TreeTableFormat.Writer.next
(Iterator<? extends TreeTable.Node> it) Returns the next filtered element from the given iterator, ornull
if none.static TreeTable.Node
TreeTables.nodeForPath
(TreeTable.Node from, TableColumn<? super String> column, File path) Finds the node for the given file, or creates a new node if none exists.static TreeTable.Node
TreeTables.nodeForPath
(TreeTable.Node from, TableColumn<? super String> column, Path path) Finds the node for the given path, or creates a new node if none exists.final TreeTable.Node
TreeNodeList.remove
(int index) Removes from this list the node at the given index.TreeNodeList.set
(int index, TreeTable.Node node) Sets the node at the specified index in this list.Methods in org.apache.sis.util.collection that return types with arguments of type TreeTable.NodeModifier and TypeMethodDescriptionfinal List
<TreeTable.Node> DefaultTreeTable.Node.getChildren()
Returns the children of this node.TreeTable.Node.getChildren()
Returns the children of this node.final Class
<TreeTable.Node> TreeNodeList.getElementType()
Returns the type of elements in this list.TreeTableFormat.getNodeFilter()
Returns the filter that specify whether a node should be formatted or ignored.Methods in org.apache.sis.util.collection with parameters of type TreeTable.NodeModifier and TypeMethodDescriptionvoid
TreeNodeList.add
(int index, TreeTable.Node node) Adds the given node at the given index in this list, shifting all nodes currently at and after the given index.(package private) final void
TreeNodeList.addChild
(int index, TreeTable.Node node) Adds the given node at the given index in this list, without any check for the parent.private void
TreeNodeList.ensureNotPresent
(TreeTable.Node node) Ensures the the given node is not already present in this list.(package private) final void
TreeTableFormat.Writer.format
(TreeTable.Node node, int level) Appends the string representation of the given node and all its children.protected void
DefaultTreeTable.initialize
(TreeTable.Node root) Invoked whenDefaultTreeTable.getRoot()
is invoked for the first time and no root had been specified to the constructor.private boolean
TreeNodeList.isParentOf
(TreeTable.Node node) Returnstrue
if the node associated to this list is already the parent of the given node,false
if the given node has no parent, or throws an exception otherwise.static TreeTable.Node
TreeTables.nodeForPath
(TreeTable.Node from, TableColumn<? super String> column, File path) Finds the node for the given file, or creates a new node if none exists.static TreeTable.Node
TreeTables.nodeForPath
(TreeTable.Node from, TableColumn<? super String> column, Path path) Finds the node for the given path, or creates a new node if none exists.private <V> void
TreeTableFormat.parseValue
(TreeTable.Node node, TableColumn<V> column, Format format, String text) Parses the given string using a format appropriate for the type of values in the given column, and stores the value in the given node.private static int
TreeTables.replaceCharSequences
(TreeTable.Node node, TableColumn<? super String>[] columns, Locale locale, Map<String, String> pool) Implementation of the publicTreeTables.replaceCharSequences(TreeTable, Locale)
method.TreeNodeList.set
(int index, TreeTable.Node node) Sets the node at the specified index in this list.(package private) final void
DefaultTreeTable.Node.setParent
(TreeTable.Node node) Sets the parent to the given node.protected void
DefaultTreeTable.Node.Children.setParentOf
(TreeTable.Node node, int mode) Sets the parent of the given node if it is an instance ofDefaultTreeTable.Node
, or throws an exception otherwise.protected abstract void
TreeNodeList.setParentOf
(TreeTable.Node node, int mode) Sets or clears the parent of the given node.void
DefaultTreeTable.setRoot
(TreeTable.Node root) Sets the root to the given node.Method parameters in org.apache.sis.util.collection with type arguments of type TreeTable.NodeModifier and TypeMethodDescriptionprivate TreeTable.Node
TreeTableFormat.Writer.next
(Iterator<? extends TreeTable.Node> it) Returns the next filtered element from the given iterator, ornull
if none.void
TreeTableFormat.setNodeFilter
(Predicate<TreeTable.Node> filter) Sets a filter specifying whether a node should be formatted or ignored.Constructors in org.apache.sis.util.collection with parameters of type TreeTable.NodeModifierConstructorDescription(package private)
Children
(TreeTable.Node parent) Creates a new, initially empty, node list.protected
TreeNodeList
(TreeTable.Node parent) Creates an initially empty list.Constructor parameters in org.apache.sis.util.collection with type arguments of type TreeTable.NodeModifierConstructorDescription(package private)
Writer
(Appendable out, TreeTable tree, TableColumn<?>[] columns, Set<TreeTable.Node> recursivityGuard) Creates a new instance which will write to the given appendable.