Interface ClientlibVisitor
-
- All Known Implementing Classes:
AbstractClientlibVisitor
,ClientlibDebugConsolePlugin.DebugVisitor
,ProcessingVisitor
,ProcessingVisitor.ExcludeDependenciesVisitor
,RenderingVisitor
,UpdateTimeVisitor
public interface ClientlibVisitor
Business interface for visitors processing client libraries: used for easy dispatching withClientlibElement.accept(ClientlibVisitor, VisitorMode, ClientlibResourceFolder)
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ClientlibVisitor.VisitorMode
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientlibVisitor
execute()
Triggers the processing of thegetOwner()
by callingClientlibElement.accept(ClientlibVisitor, VisitorMode, ClientlibResourceFolder)
.ClientlibElement
getOwner()
The ClientlibElement (clientlib or category) whose embedded elements this visitor processes; clientlibs or categories as dependency will be processed by their own visitor.void
visit(ClientlibCategory clientlibCategory, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent)
void
visit(ClientlibExternalUri externalUri, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent)
void
visit(ClientlibFile file, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent)
void
visit(Clientlib clientlib, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent)
void
visit(ClientlibResourceFolder folder, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent)
-
-
-
Method Detail
-
getOwner
ClientlibElement getOwner()
The ClientlibElement (clientlib or category) whose embedded elements this visitor processes; clientlibs or categories as dependency will be processed by their own visitor.
-
execute
ClientlibVisitor execute() throws IOException, javax.jcr.RepositoryException
Triggers the processing of thegetOwner()
by callingClientlibElement.accept(ClientlibVisitor, VisitorMode, ClientlibResourceFolder)
.- Returns:
- this
- Throws:
IOException
javax.jcr.RepositoryException
-
visit
void visit(ClientlibCategory clientlibCategory, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent) throws IOException, javax.jcr.RepositoryException
- Throws:
IOException
javax.jcr.RepositoryException
-
visit
void visit(Clientlib clientlib, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent) throws IOException, javax.jcr.RepositoryException
- Throws:
IOException
javax.jcr.RepositoryException
-
visit
void visit(ClientlibResourceFolder folder, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent) throws IOException, javax.jcr.RepositoryException
- Throws:
IOException
javax.jcr.RepositoryException
-
visit
void visit(ClientlibFile file, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent) throws javax.jcr.RepositoryException, IOException
- Throws:
javax.jcr.RepositoryException
IOException
-
visit
void visit(ClientlibExternalUri externalUri, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent)
-
-