Package org.jibx.v2
Interface TrackSource
public interface TrackSource
Unmarshalling 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.
- Author:
- Dennis M. Sosnoski
-
Method Summary
Modifier and TypeMethodDescriptionintGet source document column number.Get source document name.intGet source document line number.
-
Method Details
-
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
-