commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ansell <...@git.apache.org>
Subject [GitHub] commons-rdf pull request #27: COMMONSRDF-47 RDFSyntax as an interface
Date Thu, 12 Jan 2017 22:14:10 GMT
Github user ansell commented on a diff in the pull request:

    https://github.com/apache/commons-rdf/pull/27#discussion_r95893698
  
    --- Diff: api/src/main/java/org/apache/commons/rdf/api/RDFSyntax.java ---
    @@ -91,7 +148,30 @@
          * Datasets</a>.
          */
         public boolean supportsDataset();
    +   
    +    /**
    +     * Return the RDF 1.1 serialization syntaxes.
    +     * <p>
    +     * This lists the W3C standardized RDF 1.1 syntaxes like {@link #TURTLE} and
    +     * {@link #JSONLD}. Note the existence of other RDF syntaxes that are not
    +     * included here, e.g. <a href="http://www.w3.org/TeamSubmission/n3/">N3</a>
and
    +     * <a href="https://en.wikipedia.org/wiki/TriX_%28syntax%29">TriX</a>.
    +     * <p>
    +     * The syntaxes returned only support the {@link #mediaType()}
    +     * and {@link #fileExtension()} as defined in the corresponding 
    +     * W3C specification.
    +     * 
    +     * @return
    +     *      A set of the official RDF 1.1 {@link RDFSyntax}es.
    +     * 
    +     * @see <a href="https://www.w3.org/TR/rdf11-primer/#section-graph-syntax">RDF
    +     *      1.1 Primer</a>
    +     * @see org.apache.commons.rdf.experimental.RDFParser
    +     */
     
    +    public static Set<RDFSyntax> w3cSyntaxes() {
    --- End diff --
    
    This is unnecessary duplication


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message