-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f55b0d4
commit 8ef2367
Showing
22 changed files
with
282 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
106 changes: 53 additions & 53 deletions
106
core/rio/jsonld/src/main/java/org/eclipse/rdf4j/rio/jsonld/JSONLDMode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,53 @@ | ||
///******************************************************************************* | ||
// * Copyright (c) 2022 Eclipse RDF4J contributors. | ||
// * | ||
// * All rights reserved. This program and the accompanying materials | ||
// * are made available under the terms of the Eclipse Distribution License v1.0 | ||
// * which accompanies this distribution, and is available at | ||
// * http://www.eclipse.org/org/documents/edl-v10.php. | ||
// * | ||
// * SPDX-License-Identifier: BSD-3-Clause | ||
// *******************************************************************************/ | ||
//package org.eclipse.rdf4j.rio.jsonld; | ||
// | ||
///** | ||
// * Specifies constants to identify various modes that are relevant to JSONLD documents. | ||
// * | ||
// * @author Peter Ansell | ||
// * @see <a href="http://json-ld.org/spec/latest/json-ld-api/#features">JSONLD Features</a> | ||
// * | ||
// * @since 4.3.0 | ||
// */ | ||
//public enum JSONLDMode { | ||
// | ||
// EXPAND("Expansion", "http://json-ld.org/spec/latest/json-ld-api/index.html#expansion"), | ||
// | ||
// COMPACT("Compaction", "http://json-ld.org/spec/latest/json-ld-api/index.html#compaction"), | ||
// | ||
// FLATTEN("Flattening", "http://json-ld.org/spec/latest/json-ld-api/index.html#flattening"), | ||
// | ||
// ; | ||
// | ||
// private final String label; | ||
// | ||
// private final String reference; | ||
// | ||
// JSONLDMode(String label, String reference) { | ||
// this.label = label; | ||
// this.reference = reference; | ||
// } | ||
// | ||
// /** | ||
// * @return Returns the label. | ||
// */ | ||
// public String getLabel() { | ||
// return label; | ||
// } | ||
// | ||
// /** | ||
// * @return Returns the reference URL for the given mode. | ||
// */ | ||
// public String getReference() { | ||
// return reference; | ||
// } | ||
//} | ||
/******************************************************************************* | ||
* Copyright (c) 2022 Eclipse RDF4J contributors. | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Distribution License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*******************************************************************************/ | ||
package org.eclipse.rdf4j.rio.jsonld; | ||
|
||
/** | ||
* Specifies constants to identify various modes that are relevant to JSONLD documents. | ||
* | ||
* @author Peter Ansell | ||
* @see <a href="http://json-ld.org/spec/latest/json-ld-api/#features">JSONLD Features</a> | ||
* | ||
* @since 4.3.0 | ||
*/ | ||
public enum JSONLDMode { | ||
|
||
EXPAND("Expansion", "http://json-ld.org/spec/latest/json-ld-api/index.html#expansion"), | ||
|
||
COMPACT("Compaction", "http://json-ld.org/spec/latest/json-ld-api/index.html#compaction"), | ||
|
||
FLATTEN("Flattening", "http://json-ld.org/spec/latest/json-ld-api/index.html#flattening"), | ||
|
||
; | ||
|
||
private final String label; | ||
|
||
private final String reference; | ||
|
||
JSONLDMode(String label, String reference) { | ||
this.label = label; | ||
this.reference = reference; | ||
} | ||
|
||
/** | ||
* @return Returns the label. | ||
*/ | ||
public String getLabel() { | ||
return label; | ||
} | ||
|
||
/** | ||
* @return Returns the reference URL for the given mode. | ||
*/ | ||
public String getReference() { | ||
return reference; | ||
} | ||
} |
Oops, something went wrong.