Class PsiXmlLocator

  • All Implemented Interfaces:
    Locator

    public class PsiXmlLocator
    extends FileSourceLocator
    implements Locator
    Psi-XML source locator
    Since:
    22/07/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • PsiXmlLocator

        public PsiXmlLocator​(int lineNumber,
                             int charNumber,
                             int offset)

        Constructor for PsiXmlLocator.

        Parameters:
        lineNumber - a int.
        charNumber - a int.
        offset - a int.
      • PsiXmlLocator

        public PsiXmlLocator​(int lineNumber,
                             int charNumber,
                             Integer objectId)

        Constructor for PsiXmlLocator.

        Parameters:
        lineNumber - a int.
        charNumber - a int.
        objectId - a Integer object.
    • Method Detail

      • getObjectId

        public Integer getObjectId()

        Getter for the field objectId.

        Returns:
        a Integer object.
      • getColumnNumber

        public int getColumnNumber()

        getColumnNumber.

        Specified by:
        getColumnNumber in interface Locator
        Returns:
        a int.
      • setObjectId

        public void setObjectId​(Integer objectId)

        Setter for the field objectId.

        Parameters:
        objectId - a Integer object.
      • getCharacterOffset

        public int getCharacterOffset()

        Getter for the field characterOffset.

        Returns:
        a int.
      • setCharacterOffset

        public void setCharacterOffset​(int characterOffset)

        Setter for the field characterOffset.

        Parameters:
        characterOffset - a int.