Class 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 Detail

      • ProblemLocation

        public ProblemLocation​(org.jibx.runtime.IUnmarshallingContext ictx)
        Constructor. This initializes the location information from the context.
        Parameters:
        ictx - Context
    • 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_setSource in interface org.jibx.runtime.impl.ITrackSourceImpl
      • jibx_getColumnNumber

        public int jibx_getColumnNumber()
        Specified by:
        jibx_getColumnNumber in interface org.jibx.runtime.ITrackSource
      • jibx_getDocumentName

        public String jibx_getDocumentName()
        Specified by:
        jibx_getDocumentName in interface org.jibx.runtime.ITrackSource
      • jibx_getLineNumber

        public int jibx_getLineNumber()
        Specified by:
        jibx_getLineNumber in interface org.jibx.runtime.ITrackSource