Querying parser static information

These methods return information about the constructed parser implementation corresponding to the information available via raptor_syntaxes_enumerate() for all parsers.

raptor_get_name() return the parser syntax name, raptor_get_label() the long label for the parser and raptor_get_mime_type() the primary MIME Type for the parser (there may be others that the parser will accept but this is the main one).

raptor_parser_get_accept_header() returns a string that would be sent in an HTTP request Accept: header for the syntaxes accepted by this parser only.