|
| | getTrustIRIs () |
| |
| | setTrustIRIs ( $trustIRIs) |
| |
| | __construct ( $role=parent::DOCUMENT_ROLE, ?BNodeLabeler $labeler=null, ?N3Quoter $quoter=null) |
| |
| | getMimeType () |
| |
| | __construct ( $role, ?BNodeLabeler $labeler=null) |
| |
| | prefix ( $prefix, $iri) |
| | Registers a prefix.
|
| |
| | getPrefixes () |
| | Returns the prefix map.
|
| |
| | sub () |
| |
| | getRole () |
| |
| | blank ( $label=null) |
| |
| | start () |
| |
| | finish () |
| |
| | drain () |
| |
| | about ( $base, $local=null) |
| |
| | a ( $typeBase, $typeLocal=null) |
| |
| | say ( $base, $local=null) |
| |
| | is ( $base, $local=null) |
| |
| | text ( $text, $language=null) |
| |
| | value ( $value, $typeBase=null, $typeLocal=null) |
| |
|
| | writeSubject ( $base, $local=null) |
| | @inheritDoc
|
| |
| | writePredicate ( $base, $local=null) |
| | @inheritDoc
|
| |
| | writeResource ( $base, $local=null) |
| | @inheritDoc
|
| |
| | newSubWriter ( $role, BNodeLabeler $labeler) |
| |
| | writeRef ( $base, $local=null) |
| |
| | writeIRI ( $iri, $trustIRI=false) |
| |
| | writeText ( $text, $language=null) |
| | @inheritDoc
|
| |
| | writeValue ( $value, $typeBase, $typeLocal=null) |
| |
| | registerShorthand ( $shorthand, $prefix, $local) |
| | Registers a shorthand that can be used instead of a qname, like 'a' can be used instead of 'rdf:type'.
|
| |
| | isShorthand ( $shorthand) |
| | Determines whether $shorthand can be used as a shorthand.
|
| |
| | isPrefix ( $prefix) |
| | Determines whether $shorthand can legally be used as a prefix.
|
| |
| | isValidLanguageCode ( $languageCode) |
| |
| | write ( $w) |
| | Appends string to the output buffer.
|
| |
| | expandShorthand (&$base, &$local) |
| | If $base is a shorthand, $base and $local are updated to hold whatever qname the shorthand was associated with.
|
| |
| | expandQName (&$base, &$local) |
| | If $base is a registered prefix, $base will be replaced by the base IRI associated with that prefix, with $local appended.
|
| |
| | state ( $newState) |
| | Perform a state transition.
|
| |
| | expandSubject (&$base, &$local) |
| | Perform any expansion (shorthand to qname, qname to IRI) desired for subject identifiers.
|
| |
| | expandPredicate (&$base, &$local) |
| | Perform any expansion (shorthand to qname, qname to IRI) desired for predicate identifiers.
|
| |
| | expandResource (&$base, &$local) |
| | Perform any expansion (shorthand to qname, qname to IRI) desired for resource identifiers.
|
| |
| | expandType (&$base, &$local) |
| | Perform any expansion (shorthand to qname, qname to IRI) desired for type identifiers.
|
| |
RdfWriter implementation for generating Turtle output.
@license GPL-2.0-or-later
- Author
- Daniel Kinzler