📄 modelcon.java
字号:
*/
Model add(Resource s, Property p, String o, String l) ;
/**
* @deprecated since Jena2. It is no longer legal to have a language
* tag on a well-formed XMLLiteral. Use the 4-argument form of
* {@link #add(Resource, Property, String, boolean) add} instead.
*
* 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 language associated with the object
* @param wellFormed true if o is well formed XML
*/
Model add(Resource s, Property p, String o, String l, boolean wellFormed)
;
/** 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
* @deprecated Applications should use typed literals
*/
Model add(Resource s, Property p, Object o) ;
/**
* remove the statement <code>(s, p, o)</code> from this model and
* answer this model. None of <code>s, p, o</code> are permitted to
* be <code>null</code>: for wildcard removal, see <code>removeAll</code>.
*/
Model remove( Resource s, Property p, RDFNode o );
/** Remove all the Statements returned by an iterator.
* @return this model
* @param iter the iterator which returns the statements to be removed.
*/
Model remove(StmtIterator iter) ;
/** Remove all the Statements in a given model, including reified statements
* @return this model
* @param m the model containing the statements to be removed.
*/
Model remove(Model m) ;
/**
Remove from this model all the statements found in the given model.
If suppressreifications is true, remove the reified statements of m as well.
@param m the model containing the statements to remove
@param suppressReifications true to remove reified statements too
@return this model for cascading
*/
Model remove( Model m, boolean suppressReifications );
/** Find all the statements matching a pattern.
* <p>Return an iterator over all the statements in a model
* that match a pattern. The statements selected are those
* whose subject matches the <code>subject</code> argument,
* whose predicate matches the <code>predicate</code> argument
* and whose object matchesthe <code>object</code> argument.</p>
* @deprecated Applications should use typed literals
* @return an iterator over the subjects
* @param subject The subject sought
* @param predicate The predicate sought
* @param object The value sought
*/
StmtIterator listStatements(Resource subject,
Property predicate,
boolean object)
;
/** Find all the statements matching a pattern.
* <p>Return an iterator over all the statements in a model
* that match a pattern. The statements selected are those
* whose subject matches the <code>subject</code> argument,
* whose predicate matches the <code>predicate</code> argument
* and whose object matchesthe <code>object</code> argument.</p>
* @deprecated Applications should use typed literals
* @return an iterator over the subjects
* @param subject The subject sought
* @param predicate The predicate sought
* @param object The value sought
*/
StmtIterator listStatements(Resource subject,
Property predicate,
long object)
;
/** Find all the statements matching a pattern.
* <p>Return an iterator over all the statements in a model
* that match a pattern. The statements selected are those
* whose subject matches the <code>subject</code> argument,
* whose predicate matches the <code>predicate</code> argument
* and whose object matchesthe <code>object</code> argument.</p>
* @deprecated Applications should use typed literals
* @return an iterator over the subjects
* @param subject The subject sought
* @param predicate The predicate sought
* @param object The value sought
*/
StmtIterator listStatements(Resource subject,
Property predicate,
char object)
;
/** Find all the statements matching a pattern.
* <p>Return an iterator over all the statements in a model
* that match a pattern. The statements selected are those
* whose subject matches the <code>subject</code> argument,
* whose predicate matches the <code>predicate</code> argument
* and whose object matchesthe <code>object</code> argument.</p>
* @deprecated Applications should use typed literals
* @return an iterator over the subjects
* @param subject The subject sought
* @param predicate The predicate sought
* @param object The value sought
*/
StmtIterator listStatements(Resource subject,
Property predicate,
float object)
;
/** Find all the statements matching a pattern.
* <p>Return an iterator over all the statements in a model
* that match a pattern. The statements selected are those
* whose subject matches the <code>subject</code> argument,
* whose predicate matches the <code>predicate</code> argument
* and whose object matchesthe <code>object</code> argument.</p>
* @deprecated Applications should use typed literals
* @return an iterator over the subjects
* @param subject The subject sought
* @param predicate The predicate sought
* @param object The value sought
*/
StmtIterator listStatements(Resource subject,
Property predicate,
double object)
;
/** Find all the statements matching a pattern.
* <p>Return an iterator over all the statements in a model
* that match a pattern. The statements selected are those
* whose subject matches the <code>subject</code> argument,
* whose predicate matches the <code>predicate</code> argument
* and whose object matchesthe <code>object</code> argument.</p>
* @return an iterator over the subjects
* @param subject The subject sought
* @param predicate The predicate sought
* @param object The value sought
*/
StmtIterator listStatements(Resource subject,
Property predicate,
String object)
;
/** Find all the statements matching a pattern.
* <p>Return an iterator over all the statements in a model
* that match a pattern. The statements selected are those
* whose subject matches the <code>subject</code> argument,
* whose predicate matches the <code>predicate</code> argument
* and whose object matchesthe <code>object</code> argument.
* If an argument is <code>null</code> it matches anything.</p>
* @return an iterator over the subjects
* @param subject The subject sought
* @param predicate The predicate sought
* @param object The value sought
* @param lang The lang code ofthe string.
*/
StmtIterator listStatements(Resource subject,
Property predicate,
String object,
String lang)
;
/** List all subjects with a given property and property value.
* @deprecated Applications should use typed literals
* @return an iterator over the subjects
* @param p The predicate sought
* @param o The value sought
*/
ResIterator listSubjectsWithProperty(Property p, boolean o)
;
/** List all the subjects with a given property and property value.
* @deprecated Applications should use typed literals
* @return an iterator over the subjects
* @param p The predicate sought
* @param o The value sought
*/
ResIterator listSubjectsWithProperty(Property p, long o)
;
/** List all subjects with a given property and property value.
* @deprecated Applications should use typed literals
* @return an iterator over the subjects
* @param p The predicate sought
* @param o The value sought
*/
ResIterator listSubjectsWithProperty(Property p, char o)
;
/** List all subjects with a given property and property value.
* @deprecated Applications should use typed literals
* @return an iterator over the subjects
* @param p The predicate sought
* @param o The value sought
*/
ResIterator listSubjectsWithProperty(Property p, float o)
;
/** lists all subjects with a given property and property value.
* @deprecated Applications should use typed literals
* @return an iterator over the set of subjects
* @param p The property sought.
* @param o The property value sought.
*/
ResIterator listSubjectsWithProperty(Property p, double o)
;
/** lists all subjects with a given property and property value.
* @return an iterator over the set of subjects
* @param p The predicate sought.
* @param o The property value sought.
*/
ResIterator listSubjectsWithProperty(Property p, String o)
;
/** lists all subjects with a given property and property value.
* @return an iterator over the set of subjects
* @param p The predicate sought.
* @param o The property value sought.
* @param l the language associated with the object
*/
ResIterator listSubjectsWithProperty(Property p, String o, String l)
;
/** List all subjects with a given property and property value.
* @deprecated Applications should use typed literals
* @return an iterator over the subjects
* @param p The predicate sought
* @param o The value sought
*/
ResIterator listSubjectsWithProperty(Property p, Object o)
;
/** Determine if a statement is present in this model.
* @return true if the statement with subject s, property p and object o
* is in the model, false otherwise
* @param s The subject of the statment tested.
* @param p The predicate of the statement tested.
* @param o The object of the statement tested.
* @deprecated Applications should use typed literals
*/
boolean contains(Resource s, Property p, boolean o) ;
/** Determine if a statement is present in this model.
* @return true if the statement with subject s, property p and object o
* is in the model, false otherwise
* @param s The subject of the statment tested.
* @param p The predicate of the statement tested.
* @param o The object of the statement tested.
* @deprecated Applications should use typed literals
*/
boolean contains(Resource s, Property p, long o) ;
/** Determine if a statement is present in this model.
* @return true if the statement with subject s, property p and object o
* is in the model, false otherwise
* @param s The subject of the statment tested.
* @param p The predicate of the statement tested.
* @param o The object of the statement tested.
* @deprecated Applications should use typed literals
*/
boolean contains(Resource s, Property p, char o) ;
/** Determine if a statement is present in this model.
* @return true if the statement with subject s, property p and object o
* is in the model, false otherwise
* @param s The subject of the statment tested.
* @param p The predicate of the statement tested.
* @param o The object of the statement tested.
* @deprecated Applications should use typed literals
*/
boolean contains(Resource s, Property p, float o) ;
/** Determine if a statement is present in this model.
* @return true if the statement with subject s, property p and object o
* is in the model, false otherwise
* @param s The subject of the statment tested.
* @param p The predicate of the statement tested.
* @param o The object of the statement tested.
* @deprecated Applications should use typed literals
*/
boolean contains(Resource s, Property p, double o) ;
/** Determine if a statement is present in this model.
* @return true if the statement with subject s, property p and object o
* is in the model, false otherwise
* @param s The subject of the statment tested.
* @param p The predicate of the statement tested.
* @param o The object of the statement tested.
*/
boolean contains(Resource s, Property p, String o) ;
/** Determine if a statement is present in this model.
* @return true if the statement with subject s, property p and object o
* is in the model, false otherwise
* @param s The subject of the statment tested.
* @param p The predicate of the statement tested.
* @param o The object of the statement tested.
* @param l the language associated with the object
*/
boolean contains(Resource s, Property p, String o, String l)
;
/** Determine if a statement is present in this model.
* @return true if the statement with subject s, property p and object o
* is in the model, false otherwise
* @param s The subject of the statment tested.
* @param p The predicate of the statement tested.
* @param o The object of the statement tested.
* @deprecated Applications should use typed literals
*/
boolean contains(Resource s, Property p, Object o) ;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -