org.webmacro.directive
Interface DirectiveArgs

All Known Implementing Classes:
ArgsHolder, DirectiveBuilder

public interface DirectiveArgs

Interface used for setting and retrieving directive arguments.

Author:
Brian Goetz
See Also:
ArgsHolder, DirectiveBuilder

Method Summary
 java.lang.Object getArg(int id)
           
 java.lang.Object getArg(int id, BuildContext bc)
           
 int getArgCount()
           
 java.lang.Object getExactArg(int idx)
           
 void setArg(int id, java.lang.Object o)
           
 

Method Detail

getArgCount

public int getArgCount()
                throws BuildException
Throws:
BuildException

getExactArg

public java.lang.Object getExactArg(int idx)
                             throws BuildException
Throws:
BuildException

getArg

public java.lang.Object getArg(int id)
                        throws BuildException
Throws:
BuildException

getArg

public java.lang.Object getArg(int id,
                               BuildContext bc)
                        throws BuildException
Throws:
BuildException

setArg

public void setArg(int id,
                   java.lang.Object o)
            throws BuildException
Throws:
BuildException