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.
@package EasyRdf @copyright Copyright (c) 2009-2012 Nicholas J Humfrey @license http://www.opensource.org/licenses/bsd-license.php
Expanded class hierarchy of EasyRdf_Format
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EasyRdf_Format:: |
private | property | ||
EasyRdf_Format:: |
private static | property | ||
EasyRdf_Format:: |
private | property | ||
EasyRdf_Format:: |
private | property | ||
EasyRdf_Format:: |
private | property | ||
EasyRdf_Format:: |
private | property | ||
EasyRdf_Format:: |
private | property | ||
EasyRdf_Format:: |
private | property | ||
EasyRdf_Format:: |
public static | function | Check if a named graph exists | |
EasyRdf_Format:: |
public | function | Get the default registered file extension (filename suffix) for a format object | |
EasyRdf_Format:: |
public | function | Get the default registered mime type for a format object | |
EasyRdf_Format:: |
public | function | Get all the registered file extensions (filename suffix) for a format object | |
EasyRdf_Format:: |
public static | function | Get a EasyRdf_Format from a name, uri or mime type | |
EasyRdf_Format:: |
public static | function | Get a list of all the registered formats | |
EasyRdf_Format:: |
public static | function | Generates an HTTP Accept header string | |
EasyRdf_Format:: |
public | function | Get the label for a format object | |
EasyRdf_Format:: |
public | function | Get all the registered mime types for a format object | |
EasyRdf_Format:: |
public | function | Get the name of a format object | |
EasyRdf_Format:: |
public static | function | Get a list of format names | |
EasyRdf_Format:: |
public | function | Get the name of the class to use to parse the format | |
EasyRdf_Format:: |
public | function | Get the name of the class to use to serialise the format | |
EasyRdf_Format:: |
public | function | Get the URI for a format object | |
EasyRdf_Format:: |
public static | function | Attempt to guess the document format from some content. | |
EasyRdf_Format:: |
public | function | Create a new parser to parse this format | |
EasyRdf_Format:: |
public | function | Create a new serialiser to parse this format | |
EasyRdf_Format:: |
public static | function | Register a new format | |
EasyRdf_Format:: |
public static | function | Class method to register a parser class to a format name | |
EasyRdf_Format:: |
public static | function | Class method to register a serialiser class to a format name | |
EasyRdf_Format:: |
public | function | Set the file format extensions (filename suffix) for a format object | |
EasyRdf_Format:: |
public | function | Set the label for a format object | |
EasyRdf_Format:: |
public | function | Set the MIME Types for a format object | |
EasyRdf_Format:: |
public | function | Set the parser to use for a format | |
EasyRdf_Format:: |
public | function | Set the serialiser to use for a format | |
EasyRdf_Format:: |
public | function | Set the URI for a format object | |
EasyRdf_Format:: |
public static | function | Remove a format from the registry | |
EasyRdf_Format:: |
public | function | This constructor is for internal use only. To create a new format, use the register method. | |
EasyRdf_Format:: |
public | function | Magic method to return the name of the format when casted to string |