Class XSCommandFormatXML
java.lang.Object
com.io7m.xstructural.cmdline.internal.XSAbstractCommand
com.io7m.xstructural.cmdline.internal.XSCommandFormatXML
- All Implemented Interfaces:
com.io7m.quarrel.core.QCommandOrGroupType, com.io7m.quarrel.core.QCommandType
Format one or more structural files in place. Files may be provided either as
positional parameters, or through the
--sourceFile named
parameter.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class XSAbstractCommand
metadata, onExecute, onListNamedParametersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.io7m.quarrel.core.QCommandOrGroupType
isHidden
-
Constructor Details
-
XSCommandFormatXML
public XSCommandFormatXML()Construct a command.
-
-
Method Details
-
onListNamedParametersActual
- Specified by:
onListNamedParametersActualin classXSAbstractCommand- Returns:
- The named parameters specific to this command, not including the standard verbose parameter
-
onListPositionalParameters
public com.io7m.quarrel.core.QParametersPositionalType onListPositionalParameters() -
execute
protected com.io7m.quarrel.core.QCommandStatus execute(com.io7m.quarrel.core.QCommandContextType context) throws Exception Description copied from class:XSAbstractCommandExecute the command.- Specified by:
executein classXSAbstractCommand- Parameters:
context- The context- Returns:
- The command status
- Throws:
Exception
-