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

Abstract node class.
Provides :


Variables : -
Functions : getChildren, accept, thisToChars, toChars, toCharsTree, sendNodeAdd, sendNodeRemove, sendNodeReplace, sendNodeReplaceAll



public Node[] getChildren ()

public Object accept (NodeVisitor visitor, Object context)

public Chars thisToChars ()

public Chars toChars ()

public Chars toCharsTree (int depth)

protected void sendNodeAdd (Node[] added, int start)

protected void sendNodeRemove (Node[] removed, int start)

protected void sendNodeReplace (Node[] olds, Node[] updated, int start, Event subEvent)


Send a node replace all event.
param  startIndex first index of modified element, -1 if unknowed
param  endIndex last index of modified element, -1 if unknowed
param  olds values before replacement
param  news values after replacement
protected void sendNodeReplaceAll (int startIndex, int endIndex, Node[] olds, Node[] news)