Class the represents an RDF file format.
For each format, the name, label, URIs and associated MIME Types are stored. A single parser and serialiser can also be registered to each format.
Located in /EasyRdf/Format.php (line 50)
Check if a named graph exists
Get a EasyRdf_Format from a name, uri or mime type
Get a list of all the registered formats
Generates an HTTP Accept header string
The string will contain all of the MIME Types that we are able to parse.
It is also possible to specify additional MIME types in the form array('text/plain' => 0.5) where 0.5 is the q value for that type. The types are sorted by q value before constructing the string.
Get a list of format names
Attempt to guess the document format from some content.
If the document format is not recognised, null is returned.
Register a new format
Class method to register a parser class to a format name
Class method to register a serialiser class to a format name
Remove a format from the registry
Get the default registered file extension (filename suffix) for a format object
Get the default registered mime type for a format object
Get all the registered file extensions (filename suffix) for a format object
Get the label for a format object
Get all the registered mime types for a format object
Get the name of a format object
Get the name of the class to use to parse the format
Get the name of the class to use to serialise the format
Get the URI for a format object
Create a new parser to parse this format
Create a new serialiser to parse this format
Set the file format extensions (filename suffix) for a format object
Set the label for a format object
Set the MIME Types for a format object
Set the parser to use for a format
Set the serialiser to use for a format
Set the URI for a format object
Magic method to return the name of the format when casted to string
Documentation generated on Wed, 16 Jan 2013 19:16:37 +0000 by phpDocumentor 1.4.4