Dashboard Builder Data Provider API 6.2.0.Final

org.jboss.dashboard.command
Interface TemplateProcessor


public interface TemplateProcessor


Method Summary
 boolean containsCommandArg(String template, String arg, int pos)
          Check if the template contains and expression that match the specified arg.
 List<Command> getCommands(String template)
          Get the list of commands within the template.
 String processTemplate(String template, CommandProcessor commandProcessor)
          Process the given template using the specified command processor.
 

Method Detail

processTemplate

String processTemplate(String template,
                       CommandProcessor commandProcessor)
                       throws Exception
Process the given template using the specified command processor.

Returns:
The template after applying the command processor to all the commands found within the template.
Throws:
Exception

containsCommandArg

boolean containsCommandArg(String template,
                           String arg,
                           int pos)
Check if the template contains and expression that match the specified arg.


getCommands

List<Command> getCommands(String template)
Get the list of commands within the template.


Dashboard Builder Data Provider API 6.2.0.Final

Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.