Class XmlFormatViolation

java.lang.Object
org.codehaus.mojo.xml.format.XmlFormatViolation

public class XmlFormatViolation extends Object
A violation of a prescribed XML formatting.
Author:
Peter Palaga
  • Constructor Details

    • XmlFormatViolation

      public XmlFormatViolation(File file, int lineNumber, int column, String message)
  • Method Details

    • getColumn

      public int getColumn()
      Returns:
      the column where the violation was detected. The first column number is 1
    • getFile

      public File getFile()
      Returns:
      the file in which the violation was detected.
    • getLineNumber

      public int getLineNumber()
      Returns:
      the line number where the violation was detected. The first line number is 1
    • getMessage

      public String getMessage()
      Returns:
      the message describing the violation
    • toString

      public String toString()
      Overrides:
      toString in class Object