Class PsiXmlLocator
- java.lang.Object
-
- psidev.psi.mi.jami.datasource.FileSourceLocator
-
- psidev.psi.mi.jami.xml.model.extension.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 Summary
Constructors Constructor Description PsiXmlLocator(int lineNumber, int charNumber, int offset)
Constructor for PsiXmlLocator.PsiXmlLocator(int lineNumber, int charNumber, Integer objectId)
Constructor for PsiXmlLocator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCharacterOffset()
Getter for the fieldcharacterOffset
.int
getColumnNumber()
getColumnNumber.Integer
getObjectId()
Getter for the fieldobjectId
.String
getPublicId()
String
getSystemId()
void
setCharacterOffset(int characterOffset)
Setter for the fieldcharacterOffset
.void
setObjectId(Integer objectId)
Setter for the fieldobjectId
.String
toString()
toString.-
Methods inherited from class psidev.psi.mi.jami.datasource.FileSourceLocator
getCharNumber, getLineNumber
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.xml.sax.Locator
getLineNumber
-
-
-
-
Method Detail
-
getPublicId
public String getPublicId()
- Specified by:
getPublicId
in interfaceLocator
-
getSystemId
public String getSystemId()
- Specified by:
getSystemId
in interfaceLocator
-
getColumnNumber
public int getColumnNumber()
getColumnNumber.
- Specified by:
getColumnNumber
in interfaceLocator
- Returns:
- a int.
-
setObjectId
public void setObjectId(Integer objectId)
Setter for the field
objectId
.- Parameters:
objectId
- aInteger
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.
-
toString
public String toString()
toString.
- Overrides:
toString
in classFileSourceLocator
- Returns:
- a
String
object.
-
-