Package org.jibx.custom
Class CustomizationCommandLineBase.ArgList
java.lang.Object
org.jibx.custom.CustomizationCommandLineBase.ArgList
- Enclosing class:
CustomizationCommandLineBase
Wrapper class for command line argument list.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
m_offset
private int m_offset -
m_args
-
m_valid
private boolean m_valid
-
-
Constructor Details
-
ArgList
Constructor.- Parameters:
args
-
-
-
Method Details
-
hasNext
public boolean hasNext()Check if another argument value is present.- Returns:
true
if argument present,false
if all processed
-
current
Get current argument value.- Returns:
- argument, or
null
if none
-
next
Get next argument value. If this is called with no argument value available it sets the argument list invalid.- Returns:
- argument, or
null
if none
-
setValid
public void setValid(boolean valid) Set valid state.- Parameters:
valid
-
-
isValid
public boolean isValid()Check if argument list valid.- Returns:
true
if valid,false
if not
-