|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.v2.ProblemLocation
public class ProblemLocation
Location of validation problem. An instance of this can be used in place of an unmarshalled element in cases where the validation problem prevents the creation of the element object. TODO: move this out of the schema package, generalize
Field Summary | |
---|---|
private int |
m_column
|
private java.lang.String |
m_document
|
private int |
m_line
|
Constructor Summary | |
---|---|
ProblemLocation(IUnmarshallingContext ictx)
Constructor. |
Method Summary | |
---|---|
int |
jibx_getColumnNumber()
Get source document column number. |
java.lang.String |
jibx_getDocumentName()
Get source document name. |
int |
jibx_getLineNumber()
Get source document line number. |
void |
jibx_setSource(java.lang.String name,
int line,
int column)
Set source document information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String m_document
private int m_line
private int m_column
Constructor Detail |
---|
public ProblemLocation(IUnmarshallingContext ictx)
ictx
- Method Detail |
---|
public void jibx_setSource(java.lang.String name, int line, int column)
ITrackSourceImpl
jibx_setSource
in interface ITrackSourceImpl
name
- of source document, or null
if noneline
- source document line number, or -1
if unknowncolumn
- source document column position, or -1
if
unknownpublic int jibx_getColumnNumber()
ITrackSource
jibx_getColumnNumber
in interface ITrackSource
-1
if unknownpublic java.lang.String jibx_getDocumentName()
ITrackSource
jibx_getDocumentName
in interface ITrackSource
null
if nonepublic int jibx_getLineNumber()
ITrackSource
jibx_getLineNumber
in interface ITrackSource
-1
if unknown
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |