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 |
printInfoObject(InfoObject infoObject)
Visits a info object.
|
protected void |
printWorkspaceItem(WorkspaceItem item)
Visits a Workspace item.
|
protected void |
visitAlternativeLink(DocumentAlternativeLink alternative) |
protected void |
visitAlternativeLinks(List<DocumentAlternativeLink> alternatives) |
protected void |
visitAquaMapsItem(AquaMapsItem aquamapsitem) |
protected void |
visitDocument(Document document)
Visits a document.
|
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 |
visitImageDocument(ImageDocument document) |
protected void |
visitImageH(Image img) |
protected void |
visitItem(WorkspaceItem item)
Visit an item tree without verbose information.
|
protected void |
visitMetadata(Metadata metadata) |
protected void |
visitPartLink(DocumentPartLink part) |
protected void |
visitPartLinks(List<DocumentPartLink> parts) |
protected void |
visitPDF(PDF pdf) |
protected void |
visitPDFDocument(PDFDocument document)
Visits a PDF document.
|
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 |
visitTimeSeries(TimeSeries timeseries) |
protected void |
visitUrlDocument(UrlDocument document) |
protected void |
visitUser(User user)
Visits an user.
|
void |
visitVerbose(WorkspaceFolder folder)
Visit the tree in verbose mode.
|
protected void |
visitWorkflowReport(WorkflowReport report) |
protected void |
visitWorkflowTemplate(WorkflowTemplate template) |
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 visitAquaMapsItem(AquaMapsItem aquamapsitem) throws InternalErrorException
InternalErrorExceptionprotected void visitImageH(Image img) throws InternalErrorException
InternalErrorExceptionprotected void visitTimeSeries(TimeSeries timeseries) 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 visitWorkflowReport(WorkflowReport report) throws InternalErrorException
InternalErrorExceptionprotected void visitWorkflowTemplate(WorkflowTemplate template) throws InternalErrorException
InternalErrorExceptionprotected void printInfoObject(InfoObject infoObject) throws InternalErrorException
infoObject - the info to visit.InternalErrorException - if an error occurs.protected void visitDocument(Document document) throws InternalErrorException
document - the document to visit.InternalErrorException - if an error occurs.protected void visitPDFDocument(PDFDocument document) throws InternalErrorException
document - the document to visit.InternalErrorException - if an error occurs.protected void visitImageDocument(ImageDocument document) throws InternalErrorException
InternalErrorExceptionprotected void visitUrlDocument(UrlDocument document) throws InternalErrorException
InternalErrorExceptionprotected void visitAlternativeLinks(List<DocumentAlternativeLink> alternatives) throws InternalErrorException
InternalErrorExceptionprotected void visitAlternativeLink(DocumentAlternativeLink alternative) throws InternalErrorException
InternalErrorExceptionprotected void visitPartLinks(List<DocumentPartLink> parts) throws InternalErrorException
InternalErrorExceptionprotected void visitPartLink(DocumentPartLink part) throws InternalErrorException
InternalErrorExceptionprotected void visitMetadata(Metadata metadata) 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 © 2015. All Rights Reserved.