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

public final class XSCommandFormatXML extends XSAbstractCommand
Format one or more structural files in place. Files may be provided either as positional parameters, or through the --sourceFile named parameter.
  • Constructor Details

    • XSCommandFormatXML

      public XSCommandFormatXML()
      Construct a command.
  • Method Details

    • onListNamedParametersActual

      protected List<com.io7m.quarrel.core.QParameterNamedType<?>> onListNamedParametersActual()
      Specified by:
      onListNamedParametersActual in class XSAbstractCommand
      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: XSAbstractCommand
      Execute the command.
      Specified by:
      execute in class XSAbstractCommand
      Parameters:
      context - The context
      Returns:
      The command status
      Throws:
      Exception