Class SourcePositionImpl
- java.lang.Object
 - 
- org.apache.xmlbeans.impl.jam.internal.elements.SourcePositionImpl
 
 
- 
- All Implemented Interfaces:
 JSourcePosition,MSourcePosition
public final class SourcePositionImpl extends java.lang.Object implements MSourcePosition
Implementation of JSourcePosition and MSourcePosition.
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumn()Returns the text column number for this source position, or -1 if it is not known.intgetLine()Returns the text line number for this source position, or -1 if it is not known.java.net.URIgetSourceURI()Returns the URI of the source file, or null if it is not known.voidsetColumn(int col)Sets the text column number for this source position.voidsetLine(int line)Sets the text line number for this source position.voidsetSourceURI(java.net.URI uri)Sets the URI of the source file. 
 - 
 
- 
- 
Method Detail
- 
setColumn
public void setColumn(int col)
Description copied from interface:MSourcePositionSets the text column number for this source position. Set to -1 if it is not known.- Specified by:
 setColumnin interfaceMSourcePosition
 
- 
setLine
public void setLine(int line)
Description copied from interface:MSourcePositionSets the text line number for this source position. Set to -1 if it is not known.- Specified by:
 setLinein interfaceMSourcePosition
 
- 
setSourceURI
public void setSourceURI(java.net.URI uri)
Description copied from interface:MSourcePositionSets the URI of the source file. Set to null if it is not known.- Specified by:
 setSourceURIin interfaceMSourcePosition
 
- 
getColumn
public int getColumn()
Description copied from interface:JSourcePositionReturns the text column number for this source position, or -1 if it is not known.- Specified by:
 getColumnin interfaceJSourcePosition
 
- 
getLine
public int getLine()
Description copied from interface:JSourcePositionReturns the text line number for this source position, or -1 if it is not known.- Specified by:
 getLinein interfaceJSourcePosition
 
- 
getSourceURI
public java.net.URI getSourceURI()
Description copied from interface:JSourcePositionReturns the URI of the source file, or null if it is not known.- Specified by:
 getSourceURIin interfaceJSourcePosition
 
 - 
 
 -