Package cdc.util.data.tools
Class XmlNormalizer.MainArgs
- java.lang.Object
-
- cdc.util.data.tools.XmlNormalizer.MainArgs
-
- Enclosing class:
- XmlNormalizer
public static class XmlNormalizer.MainArgs extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXmlNormalizer.MainArgs.Feature
-
Field Summary
Fields Modifier and Type Field Description protected FeatureMask<XmlNormalizer.MainArgs.Feature>featuresList<String>firstAttributesList of attributes names to move to first position.StringindentStringString to use for indentation.FileinputFileFileoutputFileSet<SPath>removedSet of attributes and elements to remove.Map<SPath,String>renamedRenaming of attributes and elements.Set<SPath>scrambledSet of attributes and elements to scramble.Map<SPath,String>setSetting of attributes values and elements contents.
-
Constructor Summary
Constructors Constructor Description MainArgs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEnabled(XmlNormalizer.MainArgs.Feature feature)voidsetEnabled(XmlNormalizer.MainArgs.Feature feature, boolean enabled)
-
-
-
Field Detail
-
indentString
public String indentString
String to use for indentation.
-
inputFile
public File inputFile
-
outputFile
public File outputFile
-
firstAttributes
public final List<String> firstAttributes
List of attributes names to move to first position. Order matters.
-
features
protected final FeatureMask<XmlNormalizer.MainArgs.Feature> features
-
-
Method Detail
-
setEnabled
public void setEnabled(XmlNormalizer.MainArgs.Feature feature, boolean enabled)
-
isEnabled
public boolean isEnabled(XmlNormalizer.MainArgs.Feature feature)
-
-