package cz.hobrasoft.pdfmu.operation.args;

import cz.hobrasoft.pdfmu.operation.OperationException;
import net.sourceforge.argparse4j.inf.ArgumentParser;
import net.sourceforge.argparse4j.inf.Namespace;

/**
 * Holds a set of named and type values
 *
 * @author <a href="mailto:filip.bartek@hobrasoft.cz">Filip Bartek</a>
 */
public interface ArgsConfiguration {

    /**
     * Add arguments that configure this configuration to a parser
     *
     * @param parser argument parser to add arguments to
     */
    public void addArguments(ArgumentParser parser);

    /**
     * Sets configuration values from parsed argument namespace
     *
     * @param namespace namespace with the argument values
     * @throws cz.hobrasoft.pdfmu.operation.OperationException when an exception
     * occurs
     */
    public void setFromNamespace(Namespace namespace) throws OperationException;
}

@@ -389,16 +389,17 @@
    * Add
+s
  argumen
@@ -421,17 +421,28 @@
 re this 
-c
+%7B@link ArgsC
 onfigura
@@ -449,20 +449,46 @@
 tion
+%7D
  to a
- p
+n%0D%0A     * %7B@link ArgumentP
 arser
+%7D
 %0D%0A  
@@ -667,33 +667,33 @@
 rom 
+a 
 parsed 
-argument n
+%7B@link N
 amespace
 %0D%0A  
@@ -688,16 +688,17 @@
 amespace
+%7D
 %0D%0A     *
@@ -715,32 +715,36 @@
 param namespace 
+the 
 namespace with t
@@ -782,37 +782,8 @@
 ows 
-cz.hobrasoft.pdfmu.operation.
 Oper
@@ -814,24 +814,16 @@
 xception
-%0D%0A     *
  occurs%0D

Update javadoc