⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modelcon.java

📁 semantic web framework
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
     *
     * @return a new literal representing the value v
     * @param v the value of the literal.
     * @throws RDFException generic RDF exception 
     */
    public Literal createLiteral(Object v) throws RDFException;
    
    /** Create a Statement instance.
     *
     * <p>Subsequent operations on the statement or any of its parts may
     * modify this model.</p>
     * <p>Creating a statement does not add it to the set of statements in the
     * model. </p>
     * <p>The value o will be converted to a Literal.</P>
     * @param s the subject of the statement
     * @param p the predicate of the statement
     * @param o is the value to be the object of the statement
     * @throws RDFException generic RDF exception
     * @return the new statement
     */
    public Statement createStatement(Resource s, Property p, boolean o) 
                                      throws RDFException;
    
    /** Create a Statement instance.
     *
     * <p>Subsequent operations on the statement or any of its parts may
     * modify this model.</p>
     * <p>Creating a statement does not add it to the set of statements in the
     * model. </p>
     * <p>The value o will be converted to a Literal.</P>
     * @param s the subject of the statement
     * @param p the predicate of the statement
     * @param o is the value to be the object of the statement
     * @throws RDFException generic RDF exception
     * @return the new statement
     */
    public Statement createStatement(Resource s, Property p, long o)
                                      throws RDFException;
    
    /** Create a Statement instance.
     *
     * <p>Subsequent operations on the statement or any of its parts may
     * modify this model.</p>
     * <p>Creating a statement does not add it to the set of statements in the
     * model. </p>
     * <p>The value o will be converted to a Literal.</P>
     * @param s the subject of the statement
     * @param p the predicate of the statement
     * @param o is the value to be the object of the statement
     * @throws RDFException generic RDF exception
     * @return the new statement
     */
    public Statement createStatement(Resource s, Property p, char o)
                                      throws RDFException;
    
    /** Create a Statement instance.
     *
     * <p>Subsequent operations on the statement or any of its parts may
     * modify this model.</p>
     * <p>Creating a statement does not add it to the set of statements in the
     * model. </p>
     * <p>The value o will be converted to a Literal.</P>
     * @param s the subject of the statement
     * @param p the predicate of the statement
     * @param o is the value to be the object of the statement
     * @throws RDFException generic RDF exception
     * @return the new statement
     */
    public Statement createStatement(Resource s, Property p, float o)
                                      throws RDFException;
    
    /** Create a Statement instance.
     *
     * <p>Subsequent operations on the statement or any of its parts may
     * modify this model.</p>
     * <p>Creating a statement does not add it to the set of statements in the
     * model. </p>
     * <p>The value o will be converted to a Literal.</P>
     * @param s the subject of the statement
     * @param p the predicate of the statement
     * @param o is the value to be the object of the statement
     * @throws RDFException generic RDF exception
     * @return the new statement
     */
    public Statement createStatement(Resource s, Property p, double o)
                                      throws RDFException;
    
    /** Create a Statement instance.
     *
     * <p>Subsequent operations on the statement or any of its parts may
     * modify this model.</p>
     * <p>Creating a statement does not add it to the set of statements in the
     * model. </p>
     * <p>The Object o will be converted to a Literal.</P>
     * @param s the subject of the statement
     * @param p the predicate of the statement
     * @param o is the value to be the object of the statement
     * @throws RDFException generic RDF exception
     * @return the new statement
     */
    public Statement createStatement(Resource s, Property p, String o)  
                                      throws RDFException;
    
    /** Create a Statement instance.
     *
     * <p>Subsequent operations on the statement or any of its parts may
     * modify this model.</p>
     * <p>Creating a statement does not add it to the set of statements in the
     * model. </p>
     * <p>The Object o will be converted to a Literal.</P>
     * @param s the subject of the statement
     * @param p the predicate of the statement
     * @param o is the value to be the object of the statement
     * @param l the language associated with the object
     * @throws RDFException generic RDF exception
     * @return the new statement
     */
    public Statement createStatement(Resource s, Property p, String o, String l)  
                                      throws RDFException;

    /** Create a Statement instance.
     *
     * <p>Subsequent operations on the statement or any of its parts may
     * modify this model.</p>
     * <p>Creating a statement does not add it to the set of statements in the
     * model. </p>
     * <p>The Object o will be converted to a Literal.</P>
     * @param s the subject of the statement
     * @param p the predicate of the statement
     * @param o is the value to be the object of the statement
     * @param wellFormed true if the string is well formed XML
     * @throws RDFException generic RDF exception
     * @return the new statement
     */
    public Statement createStatement(Resource s, Property p, String o,
                                     boolean wellFormed) throws RDFException;
    
    /** Create a Statement instance.
     *
     * <p>Subsequent operations on the statement or any of its parts may
     * modify this model.</p>
     * <p>Creating a statement does not add it to the set of statements in the
     * model. </p>
     * <p>The Object o will be converted to a Literal.</P>
     * @param s the subject of the statement
     * @param p the predicate of the statement
     * @param o is the value to be the object of the statement
     * @param l the language associated with the object
     * @param wellFormed true of the string is well formed XML
     * @throws RDFException generic RDF exception
     * @return the new statement
     */
    public Statement createStatement(Resource s, Property p, String o, String l,
                                     boolean wellFormed) throws RDFException;
    
    /** Create a Statement instance.
     *
     * <p>Subsequent operations on the statement or any of its parts may
     * modify this model.</p>
     * <p>Creating a statement does not add it to the set of statements in the
     * model. </p>
     * <p>The value o will be converted to a Literal.</P>
     * @param s the subject of the statement
     * @param p the predicate of the statement
     * @param o is the value to be the object of the statement
     * @throws RDFException generic RDF exception
     * @return the new statement
     */
    public Statement createStatement(Resource s, Property p, Object o)  
                                      throws RDFException;
    
    /** Create a new anonymous bag.
     *
     * <p>Subsequent operations on the bag or any of its parts may
     * modify this model.</p>
     * <p>A statement defining the type of the new bag is added to this model.
     * </p>
     * @throws RDFException Generic RDF exception.
     * @return a new anonymous bag.
     */
    public Bag createBag() throws RDFException;
    
    /** Create a new bag.
     *
     * <p>Subsequent operations on the bag or any of its parts may
     * modify this model.</p>
     * <p>A statement defining the type of the new bag is added to this model.
     * </p>
     * @param uri The URI of the new Bag.
     * @throws RDFException Generic RDF exception.
     * @return a new bag.
     */
    public Bag createBag(String uri) throws RDFException;
       
    /** Create a new anonymous alt.
     *
     * <p>Subsequent operations on the alt or any of its parts may
     * modify this model.</p>
     * <p>A statement defining the type of the new alt is added to this model.
     * </p>
     * @throws RDFException Generic RDF exception.
     * @return a new anonymous alt.
     */
    public Alt createAlt() throws RDFException;
    
    /** Create a new alt.
     *
     * <p>Subsequent operations on the alt or any of its parts may
     * modify this model.</p>
     * <p>A statement defining the type of the new alt is added to this model.
     * </p>
     * @param uri The URI of the new alt.
     * @throws RDFException Generic RDF exception.
     * @return a new alt.
     */
    public Alt createAlt(String uri) throws RDFException;
       
    /** Create a new anonymous seq.
     *
     * <p>Subsequent operations on the seq or any of its parts may
     * modify this model.</p>
     * <p>A statement defining the type of the new seq is added to this model.
     * </p>
     * @throws RDFException Generic RDF exception.
     * @return a new anonymous seq.
     */
    public Seq createSeq() throws RDFException;
    
    /** Create a new seq.
     *
     * <p>Subsequent operations on the seq or any of its parts may
     * modify this model.</p>
     * <p>A statement defining the type of the new seq is added to this model.
     * </p>
     * @param uri The URI of the new seq.
     * @throws RDFException Generic RDF exception.
     * @return a new seq.
     */
    public Seq createSeq(String uri) throws RDFException;

/** add a statement to this model
 * @return this model
 * @param s the subject of the statement to add
 * @param p the predicate of the statement to add
 * @param o the object of the statement to add
 * @throws RDFException Generic RDF Exception
 */ 
    Model add(Resource s, Property p, RDFNode o)     throws RDFException;

/** add a statement to this model
 * @return this model
 * @param s the subject of the statement to add
 * @param p the predicate of the statement to add
 * @param o the object of the statement to add
 * @param l the location of the statement in the source
 * @throws RDFException Generic RDF Exception
 */ 
    Model add(Resource s, Property p, RDFNode o, Location l)     throws RDFException;

/** add a statement to this model
 *
 * @return this model
 * @param s the subject of the statement to add
 * @param p the predicate of the statement to add
 * @param o the object of the statement to add

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -