System.out.println("Action [" + action.getClass().getSimpleName() + "] " + action.getBaseObject());
if(action instanceof GoToDestination<?>)
{
if(action instanceof GoToNonLocal<?>)
{
FileSpec fileSpec = ((GoToNonLocal<?>)action).getFileSpec();
if(fileSpec != null)
{System.out.println(" Filename: " + fileSpec.getFilename());}
if(action instanceof GoToEmbedded)
{
TargetObject target = ((GoToEmbedded)action).getTarget();
System.out.println(" EmbeddedFilename: " + target.getEmbeddedFileName() + " Relation: " + target.getRelation());