@@ -5496,26 +5496,26 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5496
5496
</ dd >
5497
5497
</ dl >
5498
5498
5499
- < pre class ="idl changed " data-transform =" unComment " > <!--
5499
+ < pre class ="idl changed ">
5500
5500
dictionary JsonLdDictionary {};
5501
- --> </ pre >
5501
+ </ pre >
5502
5502
< p class ="changed "> The < dfn > JsonLdDictionary</ dfn > is the definition of a < a > map</ a >
5503
5503
used to contain arbitrary < a > map entries</ a >
5504
5504
which are the result of parsing a < a > JSON Object</ a > .
5505
5505
5506
- < pre class ="idl changed " data-transform =" unComment " > <!--
5506
+ < pre class ="idl changed ">
5507
5507
typedef (JsonLdDictionary or sequence<JsonLdDictionary> or USVString) JsonLdInput;
5508
- --> </ pre >
5508
+ </ pre >
5509
5509
5510
5510
< p class ="changed "> The < dfn > JsonLdInput</ dfn > type is used to refer to an input value
5511
5511
that that may be a < a > map</ a > ,
5512
5512
an array of < a > maps </ a > ,
5513
5513
or a < a > string</ a > representing an < a > IRI</ a >
5514
5514
which can be dereferenced to retrieve a valid JSON document.</ p >
5515
5515
5516
- < pre class ="idl " data-transform =" unComment " > <!--
5516
+ < pre class ="idl ">
5517
5517
typedef (JsonLdDictionary or USVString or sequence<(JsonLdDictionary or USVString)> ) JsonLdContext;
5518
- --> </ pre >
5518
+ </ pre >
5519
5519
5520
5520
< p > The < dfn > JsonLdContext</ dfn > type is used to refer to a value
5521
5521
that may be a < a class ="changed "> map</ a > ,
@@ -5533,7 +5533,7 @@ <h3>RDF Dataset Interfaces</h3>
5533
5533
The interface may be used for constructing a new < a > RDF dataset</ a > ,
5534
5534
which has a < a > default graph</ a > accessible via the < a data-link-for ="RdfDataset "> defaultGraph</ a > attribute.</ p >
5535
5535
5536
- < pre class ="idl changed " data-transform =" unComment " >
5536
+ < pre class ="idl changed ">
5537
5537
[Constructor, Exposed=Window]
5538
5538
interface RdfDataset {
5539
5539
readonly attribute RdfGraph defaultGraph;
@@ -5575,7 +5575,7 @@ <h3>RDF Dataset Interfaces</h3>
5575
5575
The interface may be used for constructing a new < a > RDF graph</ a > ,
5576
5576
which is composed of zero or more < a > RdfTriple</ a > instances.</ p >
5577
5577
5578
- < pre class ="idl changed " data-transform =" unComment " >
5578
+ < pre class ="idl changed ">
5579
5579
[Constructor, Exposed=Window]
5580
5580
interface RdfGraph {
5581
5581
void add(RdfTriple triple);
@@ -5603,7 +5603,7 @@ <h3>RDF Dataset Interfaces</h3>
5603
5603
5604
5604
< p > The < dfn > RdfTriple</ dfn > interface describes an < a > triple</ a > .</ p >
5605
5605
5606
- < pre class ="idl changed " data-transform =" unComment " >
5606
+ < pre class ="idl changed ">
5607
5607
[Constructor, Exposed=Window]
5608
5608
interface RdfTriple {
5609
5609
readonly attribute USVString subject;
@@ -5630,7 +5630,7 @@ <h3>RDF Dataset Interfaces</h3>
5630
5630
5631
5631
< p > The < dfn > RdfLiteral</ dfn > interface describes an < a > RDF Literal</ a > .</ p >
5632
5632
5633
- < pre class ="idl changed " data-transform =" unComment " >
5633
+ < pre class ="idl changed ">
5634
5634
[Constructor, Exposed=Window]
5635
5635
interface RdfLiteral {
5636
5636
readonly attribute USVString value;
@@ -5658,7 +5658,7 @@ <h3>The JsonLdOptions Type</h3>
5658
5658
< p > The < dfn > JsonLdOptions</ dfn > type is used to pass various options to the
5659
5659
< a > JsonLdProcessor</ a > methods.</ p >
5660
5660
5661
- < pre class ="idl " data-transform =" unComment " > <!--
5661
+ < pre class ="idl ">
5662
5662
dictionary JsonLdOptions {
5663
5663
USVString? base;
5664
5664
boolean compactArrays = true;
@@ -5673,7 +5673,7 @@ <h3>The JsonLdOptions Type</h3>
5673
5673
boolean useNativeTypes = false;
5674
5674
boolean useRdfType = false;
5675
5675
};
5676
- --> </ pre >
5676
+ </ pre >
5677
5677
5678
5678
< dl data-sort >
5679
5679
< dt > < dfn data-dfn-for ="JsonLdOptions "> base</ dfn > </ dt >
@@ -5758,12 +5758,12 @@ <h3>LoadDocumentCallback</h3>
5758
5758
The callback returns a {{Promise}} resolving to a < a > RemoteDocument</ a > .
5759
5759
On failure, the {{Promise}} is rejected with an appropriate error < a data-link-for ="JsonLdError "> code</ a > .</ p >
5760
5760
5761
- < pre class ="idl " data-transform =" unComment " > <!--
5761
+ < pre class ="idl ">
5762
5762
callback LoadDocumentCallback = Promise<RemoteDocument> (
5763
5763
USVString url,
5764
5764
optional LoadDocumentOptions? options
5765
5765
);
5766
- --> </ pre >
5766
+ </ pre >
5767
5767
5768
5768
< dl >
5769
5769
< dt > < dfn data-dfn-for ="LoadDocumentCallback "> url</ dfn > </ dt >
@@ -5901,13 +5901,13 @@ <h3>LoadDocumentOptions</h3>
5901
5901
< p > The < dfn > LoadDocumentOptions</ dfn > type is used to pass various options
5902
5902
to the < a > LoadDocumentCallback</ a > .</ p >
5903
5903
5904
- < pre class ="idl " data-transform =" unComment " > <!--
5904
+ < pre class ="idl ">
5905
5905
dictionary LoadDocumentOptions {
5906
5906
boolean extractAllScripts = false;
5907
5907
USVString profile = null;
5908
5908
(USVString or sequence<USVString> ) requestProfile = null;
5909
5909
};
5910
- --> </ pre >
5910
+ </ pre >
5911
5911
5912
5912
< dl >
5913
5913
< dt > < dfn data-dfn-for ="LoadDocumentOptions "> extractAllScripts</ dfn > </ dt >
@@ -5930,15 +5930,15 @@ <h3>RemoteDocument</h3>
5930
5930
< p > The < dfn > RemoteDocument</ dfn > type is used by a < a > LoadDocumentCallback</ a >
5931
5931
to return information about a remote document or context.</ p >
5932
5932
5933
- < pre class ="idl " data-transform =" unComment " > <!--
5933
+ < pre class ="idl ">
5934
5934
dictionary RemoteDocument {
5935
5935
USVString contextUrl = null;
5936
5936
USVString documentUrl;
5937
5937
any document;
5938
5938
USVString contentType;
5939
5939
USVString profile = null;
5940
5940
};
5941
- --> </ pre >
5941
+ </ pre >
5942
5942
5943
5943
< dl >
5944
5944
< dt > < dfn data-dfn-for ="RemoteDocument "> contextUrl</ dfn > </ dt >
@@ -5977,12 +5977,12 @@ <h4>JsonLdError</h4>
5977
5977
5978
5978
< p > The < dfn > JsonLdError</ dfn > type is used to report processing errors.</ p >
5979
5979
5980
- < pre class ="idl " data-transform =" unComment " > <!--
5980
+ < pre class ="idl ">
5981
5981
dictionary JsonLdError {
5982
5982
JsonLdErrorCode code;
5983
5983
USVString? message = null;
5984
5984
};
5985
- --> </ pre >
5985
+ </ pre >
5986
5986
5987
5987
< dl >
5988
5988
< dt > < dfn data-dfn-for ="JsonLdError "> code</ dfn > </ dt >
@@ -5998,7 +5998,7 @@ <h4>JsonLdError</h4>
5998
5998
< h4 > JsonLdErrorCode</ h4 >
5999
5999
< p > The < dfn > JsonLdErrorCode</ dfn > represents the collection of valid JSON-LD error codes.</ p >
6000
6000
6001
- < pre class ="idl " data-transform =" unComment " > <!--
6001
+ < pre class ="idl ">
6002
6002
enum JsonLdErrorCode {
6003
6003
"colliding keywords",
6004
6004
"conflicting indexes",
@@ -6046,7 +6046,7 @@ <h4>JsonLdErrorCode</h4>
6046
6046
"protected term redefinition",
6047
6047
"context overflow"
6048
6048
};
6049
- --> </ pre >
6049
+ </ pre >
6050
6050
6051
6051
< dl data-dfn-for ="JsonLdErrorCode " data-sort >
6052
6052
< dt > < dfn > colliding keywords</ dfn > </ dt >
0 commit comments