public class WorkspaceTreeVisitor extends IndentedVisitor
DEFAULT_INDENTATION_STRING, indentationChar, indentationLevel, logger, os, sdf| Constructor and Description |
|---|
WorkspaceTreeVisitor() |
WorkspaceTreeVisitor(String indentationLevel,
String indentationChar,
PrintStream os) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
printFolderItem(FolderItem item) |
protected void |
printWorkspaceItem(WorkspaceItem item)
Visits a Workspace item.
|
protected void |
visitExternalFile(ExternalFile file) |
protected void |
visitExternalImage(ExternalImage img)
Visits an image.
|
protected void |
visitExternalPDFFile(ExternalPDFFile pdf) |
protected void |
visitExternalURL(ExternalUrl url) |
void |
visitFolderItem(FolderItem item)
Visits a folder item.
|
protected void |
visitImage(Image img) |
protected void |
visitImageH(Image img) |
protected void |
visitItem(WorkspaceItem item)
Visit an item tree without verbose information.
|
protected void |
visitPDF(PDF pdf) |
protected void |
visitQuery(Query query) |
protected void |
visitReport(Report report) |
protected void |
visitReportTemplate(ReportTemplate reportTemplate) |
void |
visitSimple(WorkspaceItem item)
Visit an item tree without verbose information.
|
protected void |
visitUser(User user)
Visits an user.
|
void |
visitVerbose(WorkspaceFolder folder)
Visit the tree in verbose mode.
|
protected void |
visitWorkspaceFolder(WorkspaceFolder folder)
Visits a workspace folder.
|
protected void |
visitWorkspaceItem(WorkspaceItem item)
Visit a workspace item.
|
public WorkspaceTreeVisitor()
public WorkspaceTreeVisitor(String indentationLevel, String indentationChar, PrintStream os)
indentationLevel - the indentation level.indentationChar - the indentation char.os - the output stream.logger - the visitor logger.public void visitVerbose(WorkspaceFolder folder) throws InternalErrorException
folder - the tree root.InternalErrorException - if an error occurs.protected void visitWorkspaceItem(WorkspaceItem item) throws InternalErrorException
item - the item to visit.InternalErrorException - if an error occurs.protected void visitWorkspaceFolder(WorkspaceFolder folder) throws InternalErrorException
folder - the workspace folder to visit.InternalErrorException - if an error occurs.public void visitFolderItem(FolderItem item) throws InternalErrorException
item - the item to visit.InternalErrorException - if an error occurs.protected void visitImage(Image img) throws InternalErrorException
InternalErrorExceptionprotected void visitPDF(PDF pdf) throws InternalErrorException
InternalErrorExceptionprotected void visitExternalImage(ExternalImage img) throws InternalErrorException
img - the image to visit.InternalErrorException - if an error occurs.protected void visitExternalFile(ExternalFile file) throws InternalErrorException
InternalErrorExceptionprotected void visitImageH(Image img) throws InternalErrorException
InternalErrorExceptionprotected void visitExternalPDFFile(ExternalPDFFile pdf) throws InternalErrorException
InternalErrorExceptionprotected void visitExternalURL(ExternalUrl url) throws InternalErrorException
InternalErrorExceptionprotected void visitQuery(Query query) throws InternalErrorException
InternalErrorExceptionprotected void visitReport(Report report) throws InternalErrorException
InternalErrorExceptionprotected void visitReportTemplate(ReportTemplate reportTemplate) throws InternalErrorException
InternalErrorExceptionprotected void printWorkspaceItem(WorkspaceItem item) throws InternalErrorException
item - the item to visit.InternalErrorException - if an error occurs.protected void printFolderItem(FolderItem item) throws InternalErrorException
InternalErrorExceptionprotected void visitUser(User user) throws InternalErrorException
user - the user to visit.InternalErrorException - if an error occurs.public void visitSimple(WorkspaceItem item) throws InternalErrorException
item - the tree root.InternalErrorException - if an error occurs.protected void visitItem(WorkspaceItem item) throws InternalErrorException
item - the item to visitInternalErrorException - if an error occurs.Copyright © 2020. All Rights Reserved.