net.dpml.cli

Interface Parent

public interface Parent extends Option

An Option that can have an argument and/or group of child Options in the form "-f <arg> [-a|-b|-c]".

Version: @PROJECT-VERSION@

Author: @PUBLISHER-NAME@

Method Summary
voidprocessParent(WriteableCommandLine commandLine, ListIterator args)
Processes the parent part of the Option.

Method Detail

processParent

public void processParent(WriteableCommandLine commandLine, ListIterator args)
Processes the parent part of the Option. The combination of parent, argument and children is handled by the process method.

Parameters: commandLine the CommandLine to write results to args a ListIterator over argument strings positioned at the next argument to process

Throws: OptionException if an error occurs while processing

See Also: