private static List < ActionRef > getRefs ( Xml node ) { final Collection < Xml > children = node . getChildren ( NODE_ACTION ) ; final List < ActionRef > actions = new ArrayList <> ( children . size ( ) ) ; for ( final Xml action : children ) { final String path = action . readString ( ATT_PATH ) ; final boolean cancel = action . readBoolean ( false , ATT_CANCEL ) ; actions . add ( new ActionRef ( path , cancel , getRefs ( action ) ) ) ; } return actions ; }
Get all actions and their references .