Package org.jibx.schema.validation
Class ProblemLocation
- java.lang.Object
-
- org.jibx.schema.validation.ProblemLocation
-
- All Implemented Interfaces:
org.jibx.runtime.impl.ITrackSourceImpl,org.jibx.runtime.ITrackSource
public class ProblemLocation extends Object implements org.jibx.runtime.impl.ITrackSourceImpl
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- Author:
- Dennis M. Sosnoski
-
-
Constructor Summary
Constructors Constructor Description ProblemLocation(org.jibx.runtime.IUnmarshallingContext ictx)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the element name.intjibx_getColumnNumber()Stringjibx_getDocumentName()intjibx_getLineNumber()voidjibx_setSource(String name, int line, int column)
-
-
-
Method Detail
-
getName
public String getName()
Get the element name.- Returns:
- name
-
jibx_setSource
public void jibx_setSource(String name, int line, int column)
- Specified by:
jibx_setSourcein interfaceorg.jibx.runtime.impl.ITrackSourceImpl
-
jibx_getColumnNumber
public int jibx_getColumnNumber()
- Specified by:
jibx_getColumnNumberin interfaceorg.jibx.runtime.ITrackSource
-
jibx_getDocumentName
public String jibx_getDocumentName()
- Specified by:
jibx_getDocumentNamein interfaceorg.jibx.runtime.ITrackSource
-
jibx_getLineNumber
public int jibx_getLineNumber()
- Specified by:
jibx_getLineNumberin interfaceorg.jibx.runtime.ITrackSource
-
-