Package cdc.args.io
Class ArgsIo
- java.lang.Object
-
- cdc.args.io.ArgsIo
-
public final class ArgsIo extends Object
XML IO of arguments.- Author:
- Damien Carbonne
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArgsIo.ArgsParserstatic classArgsIo.DataLoaderstatic classArgsIo.Namingstatic classArgsIo.StAXLoader
-
Field Summary
Fields Modifier and Type Field Description static StringARGstatic ArgsIoARG_NAMINGstatic StringARGSstatic StringCLASSstatic StringFACTORIESstatic StringFACTORYstatic StringINSTANCEstatic StringNAMEstatic StringPARAMstatic ArgsIoPARAM_NAMINGstatic StringPARAMSstatic StringVALUE
-
Constructor Summary
Constructors Constructor Description ArgsIo(ArgsIo.Naming naming)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description cdc.io.data.ElementtoElement(Arg arg, boolean convert)cdc.io.data.ElementtoElement(Args args, boolean convert)voidwrite(cdc.io.xml.XmlWriter writer, Arg arg, boolean convert)voidwrite(cdc.io.xml.XmlWriter writer, Args args, boolean convert)
-
-
-
Field Detail
-
ARG
public static final String ARG
- See Also:
- Constant Field Values
-
ARGS
public static final String ARGS
- See Also:
- Constant Field Values
-
CLASS
public static final String CLASS
- See Also:
- Constant Field Values
-
FACTORIES
public static final String FACTORIES
- See Also:
- Constant Field Values
-
FACTORY
public static final String FACTORY
- See Also:
- Constant Field Values
-
INSTANCE
public static final String INSTANCE
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PARAM
public static final String PARAM
- See Also:
- Constant Field Values
-
PARAMS
public static final String PARAMS
- See Also:
- Constant Field Values
-
VALUE
public static final String VALUE
- See Also:
- Constant Field Values
-
ARG_NAMING
public static final ArgsIo ARG_NAMING
-
PARAM_NAMING
public static final ArgsIo PARAM_NAMING
-
-
Constructor Detail
-
ArgsIo
public ArgsIo(ArgsIo.Naming naming)
-
-
Method Detail
-
write
public void write(cdc.io.xml.XmlWriter writer, Args args, boolean convert) throws IOException- Throws:
IOException
-
write
public void write(cdc.io.xml.XmlWriter writer, Arg arg, boolean convert) throws IOException- Throws:
IOException
-
toElement
public cdc.io.data.Element toElement(Args args, boolean convert)
-
toElement
public cdc.io.data.Element toElement(Arg arg, boolean convert)
-
-