Interface SPIParserProviderType

  • All Known Implementing Classes:
    FormatXMLSPIParserProvider

    @ProviderType
    public interface SPIParserProviderType
    The type of parser providers.
    • Method Detail

      • parserFormatSupported

        FormatDescription parserFormatSupported()
        Returns:
        The format that this provider supports
      • parserFormatVersionsSupported

        java.util.SortedSet<FormatVersion> parserFormatVersionsSupported()
        Returns:
        The supported versions of the format
      • parserName

        java.lang.String parserName()
        Returns:
        The name of this provider
      • probe

        SPIProbeResultType probe​(SPIParserRequest request)
                          throws java.io.IOException
        Try to probe the format of the given request.
        Parameters:
        request - The request
        Returns:
        The result of probing
        Throws:
        java.io.IOException - On I/O errors
      • parserCreate

        SPIParserType parserCreate​(SPIParserRequest request)
                            throws java.io.IOException
        Parameters:
        request - The parser request
        Returns:
        A new parser for the format
        Throws:
        java.io.IOException - On I/O or parser configuration errors