Class StaxLocation

java.lang.Object
org.apache.maven.impl.StaxLocation
All Implemented Interfaces:
org.apache.maven.api.services.xml.Location

public class StaxLocation extends Object implements org.apache.maven.api.services.xml.Location
  • Constructor Details

    • StaxLocation

      public StaxLocation(Location location)
  • Method Details

    • getLocation

      public static org.apache.maven.api.services.xml.Location getLocation(Exception e)
    • toLocation

      public static org.apache.maven.api.services.xml.Location toLocation(Location location)
    • getMessage

      public static String getMessage(Exception e)
    • getLineNumber

      public int getLineNumber()
      Specified by:
      getLineNumber in interface org.apache.maven.api.services.xml.Location
    • getColumnNumber

      public int getColumnNumber()
      Specified by:
      getColumnNumber in interface org.apache.maven.api.services.xml.Location
    • getCharacterOffset

      public int getCharacterOffset()
      Specified by:
      getCharacterOffset in interface org.apache.maven.api.services.xml.Location
    • getPublicId

      public String getPublicId()
      Specified by:
      getPublicId in interface org.apache.maven.api.services.xml.Location
    • getSystemId

      public String getSystemId()
      Specified by:
      getSystemId in interface org.apache.maven.api.services.xml.Location