Package org.jibx.runtime
Interface ITrackSource
-
- All Known Subinterfaces:
ITrackSourceImpl
public interface ITrackSourceUnmarshalling source tracking interface. This interface is added to bound classes when requested by the binding definition. It allows the user to retrieve information about the location in the input document corresponding to an unmarshalled object, if the parser used for unmarshalling supports reporting this information.- Version:
- 1.0
- Author:
- Dennis M. Sosnoski
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intjibx_getColumnNumber()Get source document column number.Stringjibx_getDocumentName()Get source document name.intjibx_getLineNumber()Get source document line number.
-
-
-
Method Detail
-
jibx_getDocumentName
String jibx_getDocumentName()
Get source document name.- Returns:
- name given for source document, or
nullif none
-
jibx_getLineNumber
int jibx_getLineNumber()
Get source document line number.- Returns:
- line number in source document, or
-1if unknown
-
jibx_getColumnNumber
int jibx_getColumnNumber()
Get source document column number.- Returns:
- column number in source document, or
-1if unknown
-
-