001/**
002 * Licensed under the Apache License, Version 2.0 (the "License");
003 * you may not use this file except in compliance with the License.
004 * You may obtain a copy of the License at
005 *
006 *     http://www.apache.org/licenses/LICENSE-2.0
007 *
008 * Unless required by applicable law or agreed to in writing, software
009 * distributed under the License is distributed on an "AS IS" BASIS,
010 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
011 * See the License for the specific language governing permissions and
012 * limitations under the License.
013 */
014package com.github.commonsrdf.api;
015
016/**
017 * An <a href= "http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-term" >RDF-1.1
018 * Term</a>, as defined by <a href= "http://www.w3.org/TR/rdf11-concepts/"
019 * >RDF-1.1 Concepts and Abstract Syntax</a>, a W3C Recommendation published on
020 * 25 February 2014.<br>
021 *
022 * @see <a href= "http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-term" >RDF-1.1
023 * Term</a>
024 */
025public interface RDFTerm {
026
027    /**
028     * Return the term serialised as specified by the RDF-1.1 N-Triples Canonical form.
029     *
030     * @return The term serialised as RDF-1.1 N-Triples.
031     * @see <a href="http://www.w3.org/TR/n-triples/#canonical-ntriples">
032     *         RDF-1.1 N-Triples Canonical form</a>
033     */
034    String ntriplesString();
035
036}