Maven module :un.api : api-common :
Class : un.api.model.tree.Node
Extends/Implements : un.api.event.EventSource
Subclasses : -

Basic node.
author  Johann Sorel


Variables : -
Functions : children, canHaveChildren, getChildren, accept, toChars, toCharsTree




return  Sequence of children nodes.
Sequence children ()


Indicate if this node can contain sub nodes.
return  true if may have sub nodes.
boolean canHaveChildren ()


Return a copy of the children list.
return  Node[] never null, can be empty
Node[] getChildren ()


Visit this node.
param  visitor not null
param  context Context object, may be null
return  visit result, may be nul
Object accept (NodeVisitor visitor, Object context)

Chars toChars ()


Get a char sequence representation.
param  depth : maximum sub nodes depth to print.
return  CharSequence
Chars toCharsTree (int depth)