Interface IParsingContext<READER,PROBLEM_HANDLER extends IProblemHandler>

Type Parameters:
READER - the format specific data reader
PROBLEM_HANDLER - the format specific problem handler
All Known Subinterfaces:
IJsonParsingContext, IXmlParsingContext
All Known Implementing Classes:
MetaschemaJsonReader, MetaschemaXmlReader

public interface IParsingContext<READER,PROBLEM_HANDLER extends IProblemHandler>
Provides objects used for parsing data associated with a specific format.
  • Method Summary

    Modifier and Type
    Method
    Description
    A handler that provides callbacks used to resolve parsing issues.
    The parser used for reading data associated with the supported format.
    Get the URI-based resource read by this parser.
  • Method Details

    • getReader

      @NonNull @NotOwning READER getReader()
      The parser used for reading data associated with the supported format.
      Returns:
      the parser
    • getSource

      @NonNull URI getSource()
      Get the URI-based resource read by this parser.
      Returns:
      the resource URI
    • getProblemHandler

      A handler that provides callbacks used to resolve parsing issues.
      Returns:
      the configured handler