|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hp.hpl.mesa.rdf.jena.common.ModelCom
Common methods for model implementations.
This class implements common methods, mainly convenience methods, for model implementations. It is intended use is as a base class from which model implemenations can be derived.
Constructor Summary | |
ModelCom()
|
Method Summary | |
Model |
abort()
Abort the current transaction and abandon any changes in progress. |
Model |
add(Model m)
Add all the statements in another model to this model. |
Model |
add(Resource s,
Property p,
boolean o)
add a statement to this model |
Model |
add(Resource s,
Property p,
char o)
add a statement to this model |
Model |
add(Resource s,
Property p,
double o)
add a statement to this model |
Model |
add(Resource s,
Property p,
float o)
add a statement to this model |
Model |
add(Resource s,
Property p,
long o)
add a statement to this model |
Model |
add(Resource s,
Property p,
java.lang.Object o)
add a statement to this model |
Model |
add(Resource s,
Property p,
RDFNode o)
add a statement to this model |
Model |
add(Resource s,
Property p,
java.lang.String o)
add a statement to this model |
Model |
add(Resource s,
Property p,
java.lang.String o,
boolean wellFormed)
add a statement to this model |
Model |
add(Resource s,
Property p,
java.lang.String o,
java.lang.String l)
add a statement to this model |
Model |
add(Resource s,
Property p,
java.lang.String o,
java.lang.String lang,
boolean wellFormed)
add a statement to this model |
Model |
add(Statement s)
Add a statement to this model. |
Model |
add(StmtIterator iter)
Add all the statements returned by an iterator to this model. |
Model |
begin()
Begin a new transation. |
void |
close()
Close the Model and free up resources held. |
Model |
commit()
Commit the current transaction. |
boolean |
containerContains(Container cont,
RDFNode n)
|
int |
containerIndexOf(Container cont,
RDFNode n)
|
int |
containerSize(Container cont)
|
boolean |
contains(Resource s,
Property p)
Determine whether this model contains any statements with a given subject and property. |
boolean |
contains(Resource s,
Property p,
boolean o)
Determine if a statement is present in this model. |
boolean |
contains(Resource s,
Property p,
char o)
Determine if a statement is present in this model. |
boolean |
contains(Resource s,
Property p,
double o)
Determine if a statement is present in this model. |
boolean |
contains(Resource s,
Property p,
float o)
Determine if a statement is present in this model. |
boolean |
contains(Resource s,
Property p,
long o)
Determine if a statement is present in this model. |
boolean |
contains(Resource s,
Property p,
java.lang.Object o)
Determine if a statement is present in this model. |
boolean |
contains(Resource s,
Property p,
RDFNode o)
Determine if a statement is present in this model. |
boolean |
contains(Resource s,
Property p,
java.lang.String o)
Determine if a statement is present in this model. |
boolean |
contains(Resource s,
Property p,
java.lang.String o,
java.lang.String l)
Determine if a statement is present in this model. |
boolean |
contains(Statement s)
Determine if a statement is present in this model. |
boolean |
containsAll(Model model)
Determine if all of the statements in a model are also contained in this model. |
boolean |
containsAll(StmtIterator iter)
Determine if all of the statements returned by an iterator are contained in this model. |
boolean |
containsAny(Model model)
Determine if any of the statements in a model are also contained in this model. |
boolean |
containsAny(StmtIterator iter)
Determine if any of the statements returned by an iterator are contained in this model. |
Property |
convert(Property p)
|
RDFNode |
convert(RDFNode n)
|
Resource |
convert(Resource r)
|
Alt |
createAlt()
Create a new anonymous alt. |
Alt |
createAlt(java.lang.String uri)
Create a new alt. |
Bag |
createBag()
Create a new anonymous bag. |
Bag |
createBag(java.lang.String uri)
Create a new bag. |
Literal |
createLiteral(boolean v)
create a literal from a boolean value. |
Literal |
createLiteral(char v)
create a literal from a char value. |
Literal |
createLiteral(double v)
create a literal from a double value. |
Literal |
createLiteral(float v)
create a literal from a float value. |
Literal |
createLiteral(long v)
create a literal from an integer value. |
Literal |
createLiteral(java.lang.Object v)
create a literal from an Object. |
Literal |
createLiteral(java.lang.String v)
create a literal from a String value. |
Literal |
createLiteral(java.lang.String v,
java.lang.String l)
create a literal from a String value with a specified language |
Literal |
createLiteral(java.lang.String v,
java.lang.String l,
boolean wellFormed)
create a literal from a String value with a specified language |
Property |
createProperty(java.lang.String uri)
Create a property |
Property |
createProperty(java.lang.String nameSpace,
java.lang.String localName)
Create a property |
Resource |
createResource()
Create a new anonymous resource. |
Resource |
createResource(Resource type)
Create a new anonymous resource with a given type. |
Resource |
createResource(ResourceF f)
Create a new anonymous resource using the supplied factory |
Resource |
createResource(java.lang.String uri)
Create a new resource. |
Resource |
createResource(java.lang.String uri,
Resource type)
Create a new resource with a given type. |
Resource |
createResource(java.lang.String uri,
ResourceF f)
Create a new resource using the supplied factory |
Seq |
createSeq()
Create a new anonymous seq. |
Seq |
createSeq(java.lang.String uri)
Create a new seq. |
Statement |
createStatement(Resource r,
Property p,
boolean o)
Create a Statement instance. |
Statement |
createStatement(Resource r,
Property p,
char o)
Create a Statement instance. |
Statement |
createStatement(Resource r,
Property p,
double o)
Create a Statement instance. |
Statement |
createStatement(Resource r,
Property p,
float o)
Create a Statement instance. |
Statement |
createStatement(Resource r,
Property p,
long o)
Create a Statement instance. |
Statement |
createStatement(Resource r,
Property p,
java.lang.Object o)
Create a Statement instance. |
Statement |
createStatement(Resource r,
Property p,
RDFNode o)
Create a Statement instance. |
Statement |
createStatement(Resource r,
Property p,
java.lang.String o)
Create a Statement instance. |
Statement |
createStatement(Resource r,
Property p,
java.lang.String o,
boolean wellFormed)
Create a Statement instance. |
Statement |
createStatement(Resource r,
Property p,
java.lang.String o,
java.lang.String l)
Create a Statement instance. |
Statement |
createStatement(Resource r,
Property p,
java.lang.String o,
java.lang.String l,
boolean wellFormed)
Create a Statement instance. |
boolean |
equals(java.lang.Object model)
Test whether one model is the equal to another. |
Alt |
getAlt(Resource r)
Return an Alt instance based on a given resource. |
Alt |
getAlt(java.lang.String uri)
Return an Alt instance in this model. |
Bag |
getBag(Resource r)
Return a bag instance based on a given resource. |
Bag |
getBag(java.lang.String uri)
Return a Bag instance in this model. |
Statement |
getProperty(Resource s,
Property p)
Return a statement with given subject and property. |
Property |
getProperty(java.lang.String uri)
Return a Property instance in this model. |
Property |
getProperty(java.lang.String nameSpace,
java.lang.String localName)
Return a Property instance in this model. |
RDFReader |
getReader()
return an RDFReader instance for the default serialization language. |
RDFReader |
getReader(java.lang.String lang)
return an RDFReader instance for the specified serialization language. |
Resource |
getResource(java.lang.String uri)
Return a Resource instance in this model. |
Resource |
getResource(java.lang.String uri,
ResourceF f)
Return a Resource instance in this model. |
Seq |
getSeq(Resource r)
Return a Seq instance based on a given resource. |
Seq |
getSeq(java.lang.String uri)
Return a Seq instance in this model. |
RDFWriter |
getWriter()
return an RDFWriter instance for the default serialization language. |
RDFWriter |
getWriter(java.lang.String lang)
an RDFWriter instance for the specified serialization language. |
boolean |
independent()
Determine whether this model is independent. |
boolean |
isReified(Statement s)
Determine if this statement is the subject of any statements in this model |
NodeIterator |
listContainerMembers(Container cont,
NodeIteratorFactory f)
|
NsIterator |
listNameSpaces()
List all namespaces of predicates in the model. |
NodeIterator |
listObjects()
List all objects in a model. |
NodeIterator |
listObjectsOfProperty(Property p)
List all objects of a given property. |
NodeIterator |
listObjectsOfProperty(Resource s,
Property p)
List the values of a property of a resource. |
StmtIterator |
listReifiedStatements()
List all reified statements in the model. |
StmtIterator |
listStatements()
List all statements. |
StmtIterator |
listStatements(Selector selector)
List the statements matching a selector. |
ResIterator |
listSubjects()
List all resources which are subjects of statements. |
ResIterator |
listSubjectsWithProperty(Property p)
List all subjects with a given property. |
ResIterator |
listSubjectsWithProperty(Property p,
boolean o)
List all subjects with a given property and property value |
ResIterator |
listSubjectsWithProperty(Property p,
char o)
List all subjects with a given property and property value |
ResIterator |
listSubjectsWithProperty(Property p,
double o)
lists all subjects with a given property and property value |
ResIterator |
listSubjectsWithProperty(Property p,
float o)
List all subjects with a given property and property value |
ResIterator |
listSubjectsWithProperty(Property p,
long o)
List all the subjects with a given property and property value |
ResIterator |
listSubjectsWithProperty(Property p,
java.lang.Object o)
List all subjects with a given property and property value |
ResIterator |
listSubjectsWithProperty(Property p,
RDFNode o)
List all subjects with a given property and property value |
ResIterator |
listSubjectsWithProperty(Property p,
java.lang.String o)
lists all subjects with a given property and property value |
ResIterator |
listSubjectsWithProperty(Property p,
java.lang.String o,
java.lang.String l)
lists all subjects with a given property and property value |
Model |
read(java.io.Reader reader,
java.lang.String base)
add statements from an RDF/XML serialization |
Model |
read(java.io.Reader reader,
java.lang.String base,
java.lang.String lang)
add RDF statements represented in language lang to the model. |
Model |
read(java.lang.String url)
Add the RDF statements from an XML document. |
Model |
read(java.lang.String url,
java.lang.String lang)
add statements from a serializion in language lang to
the model. |
Model |
remove(Model m)
Remove all the Statements in a given model. |
Model |
remove(Statement s)
Removes a statement. |
Model |
remove(StmtIterator iter)
Remove all the Statements returned by an iterator. |
java.lang.String |
setReaderClassName(java.lang.String lang,
java.lang.String className)
set the class name for the RDFReader for a langauge |
java.lang.String |
setWriterClassName(java.lang.String lang,
java.lang.String className)
set the class name for the RDFWriter for a langauge |
long |
size()
computes the number of statements in the model. |
Model |
write(java.io.Writer writer)
Write the model as an XML document. |
Model |
write(java.io.Writer writer,
java.lang.String lang)
write a serialized represention of a model in a specified language. |
Model |
write(java.io.Writer writer,
java.lang.String lang,
java.lang.String base)
write a serialized represention of a model in a specified language. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Model |
difference, intersection, query, supportsSetOperations, supportsTransactions, union |
Constructor Detail |
public ModelCom()
Method Detail |
public Resource getResource(java.lang.String uri, ResourceF f) throws RDFException
ModelCon
Subsequent operations on the returned object may modify this model.
The resource is assumed to already exist in the model. If it does not,
createResource
should be used instead.
getResource
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- the URI of the resourcef
- the factory objectRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, RDFNode o) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, boolean o) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, long o) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, char o) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, float o) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, double o) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, java.lang.String o) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, java.lang.String o, boolean wellFormed) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addwellFormed
- true if o is well formed XMLRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, java.lang.String o, java.lang.String lang, boolean wellFormed) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addl
- the language associated with the objectwellFormed
- true if o is well formed XMLRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, java.lang.String o, java.lang.String l) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addl
- the language associated with the objectRDFException
- Generic RDF Exceptionpublic Model add(Resource s, Property p, java.lang.Object o) throws RDFException
ModelCon
add
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statement to addp
- the predicate of the statement to addo
- the object of the statement to addRDFException
- Generic RDF Exceptionpublic Model add(StmtIterator iter) throws RDFException
Model
add
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
iter
- An iterator which returns the statements to be added.RDFException
- Generic RDF Exceptionpublic Model add(Model m) throws RDFException
Model
add
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
m
- The model whose statements are to be added.RDFException
- Generic RDF Exceptionpublic RDFReader getReader() throws RDFException
RDFReaderF
getReader
in interface RDFReaderF
com.hp.hpl.mesa.rdf.jena.model.RDFReaderF
RDFException
- generic RDF exceptionpublic RDFReader getReader(java.lang.String lang) throws RDFException
RDFReaderF
getReader
in interface RDFReaderF
com.hp.hpl.mesa.rdf.jena.model.RDFReaderF
lang
- the serialization langauge - null
selects the
defaultRDFException
- generic RDF exceptionpublic java.lang.String setReaderClassName(java.lang.String lang, java.lang.String className)
RDFReaderF
setReaderClassName
in interface RDFReaderF
com.hp.hpl.mesa.rdf.jena.model.RDFReaderF
lang
- the language for which this class should be usedclassName
- the class name for readers for this languagepublic Model read(java.lang.String url) throws RDFException
Model
See Model
for a description of how to traverse a firewall.
read
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
url
- of the document containing the RDF statements.RDFException
- Generic RDF Exceptionpublic Model read(java.io.Reader reader, java.lang.String base) throws RDFException
Model
read
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
reader
- the source of the RDF/XMLbase
- the base to use when converting relative to absolute uri'sRDFException
- a generic RDF exceptionpublic Model read(java.lang.String url, java.lang.String lang) throws RDFException
Model
lang
to
the model.
predefined values for lang
are "RDF/XML", "N-TRIPLE" and
"N3". null
represents the default language, "RDF/XML".
See Model
for a description of how to traverse a firewall.
read
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
url
- a string representation of the url to read fromlang
- the language of the serializationRDFException
- generic RDF exceptionpublic Model read(java.io.Reader reader, java.lang.String base, java.lang.String lang) throws RDFException
Model
lang
to the model.
predefined values for lang
are defined in RDFReader
read
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
base
- the base uri to be used when converting relative
URI's to absolute URI's.lang
- the langauge of the serialization null
selects the defaultreader
- the source of the input serialization- Returns:
- this model
- Throws:
RDFException
- generic exception
public RDFWriter getWriter() throws RDFException
RDFWriterF
getWriter
in interface RDFWriterF
com.hp.hpl.mesa.rdf.jena.model.RDFWriterF
public RDFWriter getWriter(java.lang.String lang) throws RDFException
RDFWriterF
getWriter
in interface RDFWriterF
com.hp.hpl.mesa.rdf.jena.model.RDFWriterF
lang
- the serialization langauge - null
selects the
defaultpublic java.lang.String setWriterClassName(java.lang.String lang, java.lang.String className)
RDFWriterF
setWriterClassName
in interface RDFWriterF
com.hp.hpl.mesa.rdf.jena.model.RDFWriterF
lang
- the language for which this class should be usedclassName
- the class name for writers for this languagepublic Model write(java.io.Writer writer) throws RDFException
Model
The language in which to write the model is specified by the
lang
argument. Predefined values are "RDF/XML",
"RDF/XML-ABBREV", "N-TRIPLE" and "N3". The default value is
represented by null
is "RDF/XML".
write
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
writer
- a writer to which the XML will be writtenRDFException
- Generic RDF Exceptionpublic Model write(java.io.Writer writer, java.lang.String lang) throws RDFException
Model
The language in which to write the model is specified by the
lang
argument. Predefined values are "RDF/XML",
"RDF/XML-ABBREV", "N-TRIPLE" and "N3". The default value is
represented by null
is "RDF/XML".
write
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
writer
- the output writerlang
- the output langaugeRDFException
- generic exceptionpublic Model write(java.io.Writer writer, java.lang.String lang, java.lang.String base) throws RDFException
Model
Predefine languages are defined in RDFWriterF
write
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
writer
- the output writerbase
- the base uri for relative URI calculations.
null
means use only absolute URI's.lang
- the language in which the RDF should be writtenRDFException
- generic RDF exceptionpublic Model remove(StmtIterator iter) throws RDFException
ModelCon
remove
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
iter
- the iterator which returns the statements to be removed.RDFException
- Generic RDF Exceptionpublic Model remove(Model m) throws RDFException
ModelCon
remove
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
m
- the model containing the statements to be removed.RDFException
- Generic RDF Exceptionpublic boolean contains(Resource s, Property p, boolean o) throws RDFException
ModelCon
contains
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- The subject of the statment tested.p
- The predicate of the statement tested.o
- The object of the statement tested.RDFException
- Generic RDF Exceptionpublic boolean contains(Resource s, Property p, long o) throws RDFException
ModelCon
contains
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- The subject of the statment tested.p
- The predicate of the statement tested.o
- The object of the statement tested.RDFException
- Generic RDF Exceptionpublic boolean contains(Resource s, Property p, char o) throws RDFException
ModelCon
contains
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- The subject of the statment tested.p
- The predicate of the statement tested.o
- The object of the statement tested.RDFException
- Generic RDF Exceptionpublic boolean contains(Resource s, Property p, float o) throws RDFException
ModelCon
contains
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- The subject of the statment tested.p
- The predicate of the statement tested.o
- The object of the statement tested.RDFException
- Generic RDF Exceptionpublic boolean contains(Resource s, Property p, double o) throws RDFException
ModelCon
contains
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- The subject of the statment tested.p
- The predicate of the statement tested.o
- The object of the statement tested.RDFException
- Generic RDF Exceptionpublic boolean contains(Resource s, Property p, java.lang.String o) throws RDFException
ModelCon
contains
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- The subject of the statment tested.p
- The predicate of the statement tested.o
- The object of the statement tested.RDFException
- Generic RDF Exceptionpublic boolean contains(Resource s, Property p, java.lang.String o, java.lang.String l) throws RDFException
ModelCon
contains
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- The subject of the statment tested.p
- The predicate of the statement tested.o
- The object of the statement tested.l
- the language associated with the objectRDFException
- Generic RDF Exceptionpublic boolean contains(Resource s, Property p, java.lang.Object o) throws RDFException
ModelCon
contains
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- The subject of the statment tested.p
- The predicate of the statement tested.o
- The object of the statement tested.RDFException
- Generic RDF Exceptionpublic boolean containsAny(StmtIterator iter) throws RDFException
Model
containsAny
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
iter
- an iterator of the statements to be testedRDFException
- Generic RDF Exceptionpublic boolean containsAll(StmtIterator iter) throws RDFException
Model
containsAll
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
iter
- an iterator of the statements to be testedRDFException
- Generic RDF Exceptionpublic boolean containsAny(Model model) throws RDFException
Model
containsAny
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
model
- the model containing the statements to be testedRDFException
- Generic RDF Exceptionpublic boolean containsAll(Model model) throws RDFException
Model
containsAll
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
model
- the model containing the statements to be testedRDFException
- Generic RDF Exceptionpublic ResIterator listSubjectsWithProperty(Property p, boolean o) throws RDFException
ModelCon
listSubjectsWithProperty
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
p
- The predicate soughto
- The value soughtRDFException
- Generic RDF Exceptionpublic ResIterator listSubjectsWithProperty(Property p, long o) throws RDFException
ModelCon
listSubjectsWithProperty
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
p
- The predicate soughto
- The value soughtRDFException
- Generic RDF Exceptionpublic ResIterator listSubjectsWithProperty(Property p, char o) throws RDFException
ModelCon
listSubjectsWithProperty
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
p
- The predicate soughto
- The value soughtRDFException
- Generic RDF Exceptionpublic ResIterator listSubjectsWithProperty(Property p, float o) throws RDFException
ModelCon
listSubjectsWithProperty
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
p
- The predicate soughto
- The value soughtRDFException
- Generic RDF Exceptionpublic ResIterator listSubjectsWithProperty(Property p, double o) throws RDFException
ModelCon
listSubjectsWithProperty
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
p
- The property sought.o
- The property value sought.RDFException
- Generic RDF Exceptionpublic ResIterator listSubjectsWithProperty(Property p, java.lang.String o) throws RDFException
ModelCon
listSubjectsWithProperty
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
p
- The predicate sought.o
- The property value sought.RDFException
- Generic RDF Exceptionpublic ResIterator listSubjectsWithProperty(Property p, java.lang.String o, java.lang.String l) throws RDFException
ModelCon
listSubjectsWithProperty
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
p
- The predicate sought.o
- The property value sought.l
- the language associated with the objectRDFException
- Generic RDF Exceptionpublic ResIterator listSubjectsWithProperty(Property p, java.lang.Object o) throws RDFException
ModelCon
listSubjectsWithProperty
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
p
- The predicate soughto
- The value soughtRDFException
- Generic RDF Exceptionpublic Resource createResource(Resource type) throws RDFException
ModelCon
Subsequent operations on the returned resource may modify this model.
The resource is created and an rdf:type property added to the model to specify its type.
createResource
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
type
- A resource representing the RDF type of the new resource.RDFException
- Generic RDF exceptionpublic Resource createResource(java.lang.String uri, Resource type) throws RDFException
ModelCon
Subsequent operations on the returned resource may modify this model.
The resource is created and an rdf:type property added to the model to specify its type.
createResource
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- The URI of the new resource.type
- A resource representing the RDF type of the new resource.RDFException
- Generic RDF exception.public Resource createResource(ResourceF f) throws RDFException
ModelCon
Subsequent operations on the returned resource may modify this model.
createResource
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
f
- A factory object to create the returned object.RDFException
- Generic RDF exception.public Resource createResource(java.lang.String uri, ResourceF f) throws RDFException
ModelCon
Subsequent operations on the returned resource may modify this model.
createResource
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- the URI of the resourcef
- A factory to create the returned object.RDFException
- Generic RDF exception.public Literal createLiteral(boolean v) throws RDFException
ModelCon
The value is converted to a string using its toString
method.
createLiteral
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
v
- the value of the literalRDFException
- generic RDF exceptionpublic Literal createLiteral(long v) throws RDFException
ModelCon
createLiteral
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
v
- the value of the literalRDFException
- generic RDF exceptionpublic Literal createLiteral(char v) throws RDFException
ModelCon
createLiteral
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
v
- the value of the literalRDFException
- generic RDF exceptionpublic Literal createLiteral(float v) throws RDFException
ModelCon
createLiteral
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
v
- the value of the literalRDFException
- generic RDF exceptionpublic Literal createLiteral(double v) throws RDFException
ModelCon
createLiteral
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
v
- the value of the literalRDFException
- generic RDF exceptionpublic Literal createLiteral(java.lang.String v) throws RDFException
ModelCon
createLiteral
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
v
- the value of the literalRDFException
- generic RDF exceptionpublic Literal createLiteral(java.lang.String v, java.lang.String l) throws RDFException
Model
If v is null, then a literal with an empty string is created.
createLiteral
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
v
- the value of the literallanguage
- the language associated with the literalRDFException
- generic RDF exceptionpublic Literal createLiteral(java.lang.String v, java.lang.String l, boolean wellFormed)
Model
If v is null, then a literal with an empty string is created.
createLiteral
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
v
- the value of the literallanguage
- the language associated with the literalwellFormed
- true if the Literal is well formed XMLRDFException
- generic RDF exceptionpublic Literal createLiteral(java.lang.Object v) throws RDFException
ModelCon
createLiteral
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
v
- the value of the literal.RDFException
- generic RDF exceptionpublic Statement createStatement(Resource r, Property p, boolean o) throws RDFException
ModelCon
Subsequent operations on the statement or any of its parts may modify this model.
Creating a statement does not add it to the set of statements in the model.
The value o will be converted to a Literal.
createStatement
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statementp
- the predicate of the statemento
- is the value to be the object of the statementRDFException
- generic RDF exceptionpublic Statement createStatement(Resource r, Property p, long o) throws RDFException
ModelCon
Subsequent operations on the statement or any of its parts may modify this model.
Creating a statement does not add it to the set of statements in the model.
The value o will be converted to a Literal.
createStatement
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statementp
- the predicate of the statemento
- is the value to be the object of the statementRDFException
- generic RDF exceptionpublic Statement createStatement(Resource r, Property p, char o) throws RDFException
ModelCon
Subsequent operations on the statement or any of its parts may modify this model.
Creating a statement does not add it to the set of statements in the model.
The value o will be converted to a Literal.
createStatement
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statementp
- the predicate of the statemento
- is the value to be the object of the statementRDFException
- generic RDF exceptionpublic Statement createStatement(Resource r, Property p, float o) throws RDFException
ModelCon
Subsequent operations on the statement or any of its parts may modify this model.
Creating a statement does not add it to the set of statements in the model.
The value o will be converted to a Literal.
createStatement
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statementp
- the predicate of the statemento
- is the value to be the object of the statementRDFException
- generic RDF exceptionpublic Statement createStatement(Resource r, Property p, double o) throws RDFException
ModelCon
Subsequent operations on the statement or any of its parts may modify this model.
Creating a statement does not add it to the set of statements in the model.
The value o will be converted to a Literal.
createStatement
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statementp
- the predicate of the statemento
- is the value to be the object of the statementRDFException
- generic RDF exceptionpublic Statement createStatement(Resource r, Property p, java.lang.String o) throws RDFException
ModelCon
Subsequent operations on the statement or any of its parts may modify this model.
Creating a statement does not add it to the set of statements in the model.
The Object o will be converted to a Literal.
createStatement
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statementp
- the predicate of the statemento
- is the value to be the object of the statementRDFException
- generic RDF exceptionpublic Statement createStatement(Resource r, Property p, java.lang.Object o) throws RDFException
ModelCon
Subsequent operations on the statement or any of its parts may modify this model.
Creating a statement does not add it to the set of statements in the model.
The value o will be converted to a Literal.
createStatement
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statementp
- the predicate of the statemento
- is the value to be the object of the statementRDFException
- generic RDF exceptionpublic Statement createStatement(Resource r, Property p, java.lang.String o, boolean wellFormed) throws RDFException
ModelCon
Subsequent operations on the statement or any of its parts may modify this model.
Creating a statement does not add it to the set of statements in the model.
The Object o will be converted to a Literal.
createStatement
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statementp
- the predicate of the statemento
- is the value to be the object of the statementwellFormed
- true if the string is well formed XMLRDFException
- generic RDF exceptionpublic Statement createStatement(Resource r, Property p, java.lang.String o, java.lang.String l) throws RDFException
ModelCon
Subsequent operations on the statement or any of its parts may modify this model.
Creating a statement does not add it to the set of statements in the model.
The Object o will be converted to a Literal.
createStatement
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statementp
- the predicate of the statemento
- is the value to be the object of the statementl
- the language associated with the objectRDFException
- generic RDF exceptionpublic Statement createStatement(Resource r, Property p, java.lang.String o, java.lang.String l, boolean wellFormed) throws RDFException
ModelCon
Subsequent operations on the statement or any of its parts may modify this model.
Creating a statement does not add it to the set of statements in the model.
The Object o will be converted to a Literal.
createStatement
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
s
- the subject of the statementp
- the predicate of the statemento
- is the value to be the object of the statementl
- the language associated with the objectwellFormed
- true of the string is well formed XMLRDFException
- generic RDF exceptionpublic Bag createBag() throws RDFException
ModelCon
Subsequent operations on the bag or any of its parts may modify this model.
A statement defining the type of the new bag is added to this model.
createBag
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
RDFException
- Generic RDF exception.public Alt createAlt() throws RDFException
ModelCon
Subsequent operations on the alt or any of its parts may modify this model.
A statement defining the type of the new alt is added to this model.
createAlt
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
RDFException
- Generic RDF exception.public Seq createSeq() throws RDFException
ModelCon
Subsequent operations on the seq or any of its parts may modify this model.
A statement defining the type of the new seq is added to this model.
createSeq
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
RDFException
- Generic RDF exception.public Resource getResource(java.lang.String uri) throws RDFException
Model
Subsequent operations on the returned object may modify this model.
This method should be called if the resource may already exist in the
model so that an implementation may reuse the same object. If it does
not an object will be created. If it is known that an object for the
resource does not already exist, then it may be more efficient to call
createResource
instead.
getResource
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
uri
- the URI of the resourceRDFException
- Generic RDF exception.public Property getProperty(java.lang.String uri) throws RDFException
ModelCon
Subsequent operations on the returned property may modify this model.
The property is assumed to already exist in the model. If it does not,
createProperty
should be used instead.
getProperty
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- the URI of the propertyRDFException
- Generic RDF Exceptionpublic Property getProperty(java.lang.String nameSpace, java.lang.String localName) throws RDFException
Model
Subsequent operations on the returned property may modify this model.
This method should be called if the property may already exist in the
model so that an implementation may reuse the same object. If it does
not an object will be created. If it is known that an object for the
property does not already exist, then it may be more efficient to call
createProperty
instead.
getProperty
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
nameSpace
- the RDF namespace of the propertylocalName
- the localName of the property in its namespaceRDFException
- Generic RDF Exceptionpublic Bag getBag(java.lang.String uri) throws RDFException
ModelCon
Subsequent operations on the returned bag may modify this model.
The bag is assumed to already exist in the model. If it does not,
createBag
should be used instead.
getBag
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- the URI of the bag.RDFException
- Generic RDF Exceptionpublic Bag getBag(Resource r) throws RDFException
ModelCon
This method enables an application to treat any resource as a bag. It is in effect an unsafe downcast.
Subsequent operations on the returned bag may modify this model.
The bag is assumed to already exist in the model. If it does not,
createBag
should be used instead.
getBag
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
r
- an untyped Resource instanceRDFException
- Generic RDF Exceptionpublic Alt getAlt(java.lang.String uri) throws RDFException
ModelCon
Subsequent operations on the returned object may modify this model.
The alt is assumed to already exist in the model. If it does not,
createAlt
should be used instead.
getAlt
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- the URI of the altRDFException
- Generic RDF Exceptionpublic Alt getAlt(Resource r) throws RDFException
ModelCon
This method enables an application to treat any resource as an Alt. It is in effect an unsafe downcast.
Subsequent operations on the returned Alt may modify this model.
The bag is assumed to already exist in the model. If it does not,
createAlt
should be used instead.
getAlt
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
r
- an untyped Resource instanceRDFException
- Generic RDF Exceptionpublic Seq getSeq(java.lang.String uri) throws RDFException
ModelCon
Subsequent operations on the returned bag may modify this model.
The seq is assumed to already exist in the model. If it does not,
createSeq
should be used instead.
getSeq
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- the URI of the seqRDFException
- Generic RDF Exceptionpublic Seq getSeq(Resource r) throws RDFException
ModelCon
This method enables an application to treat any resource as a Seq. It is in effect an unsafe downcast.
Subsequent operations on the returned Seq may modify this model.
The Seq is assumed to already exist in the model. If it does not,
createAlt
should be used instead.
getSeq
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
r
- an untyped Resource instanceRDFException
- Generic RDF Exceptionpublic long size() throws RDFException
Model
size
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
RDFException
- Generic RDF Exceptionpublic ResIterator listSubjects() throws RDFException
Model
Subsequent operations on those resource may modify this model.
listSubjects
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
RDFException
- Generic RDF Exceptionpublic NsIterator listNameSpaces() throws RDFException
Model
listNameSpaces
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
RDFException
- Generic RDF Exceptionpublic StmtIterator listStatements() throws RDFException
Model
Subsequent operations on those statements may modify this model.
listStatements
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
RDFException
- Generic RDF Exceptionpublic StmtIterator listReifiedStatements() throws RDFException
Model
Subsequent operations on those statements may modify this model.
listReifiedStatements
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
RDFException
- Generic RDF Exceptionpublic Model add(Statement s) throws RDFException
Model
add
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
s
- The statement to be added.RDFException
- Generic RDF Exceptionpublic Model remove(Statement s) throws RDFException
Model
The statement with the same subject, predicate and object as that supplied will be removed from the model.
remove
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
s
- The statement to be removed.RDFException
- Generic RDF Exceptionpublic boolean contains(Statement s) throws RDFException
Model
contains
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
s
- The statement tested.RDFException
- Generic RDF Exceptionpublic boolean contains(Resource s, Property p) throws RDFException
Model
contains
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
s
- The subject sought.p
- The predicate sought.RDFException
- Generic RDF Exceptionpublic boolean contains(Resource s, Property p, RDFNode o) throws RDFException
Model
contains
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
s
- The subject of the statment tested.p
- The predicate of the statement tested.o
- The object of the statement tested.RDFException
- Generic RDF Exceptionpublic boolean isReified(Statement s) throws RDFException
Model
isReified
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
s
- The statement tested.RDFException
- Generic RDF Exceptionpublic Statement getProperty(Resource s, Property p) throws RDFException
Model
If more than one statement witht the given subject and property exists in the model, it is undefined which will be returned.
getProperty
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
s
- The subject of the statement to be returned.p
- The property of the statement to be returned.RDFException
- Generic RDF Exceptionpublic ResIterator listSubjectsWithProperty(Property p) throws RDFException
Model
listSubjectsWithProperty
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
p
- the property sought.RDFException
- Generic RDF Exceptionpublic ResIterator listSubjectsWithProperty(Property p, RDFNode o) throws RDFException
Model
listSubjectsWithProperty
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
p
- The predicate soughto
- The value soughtRDFException
- Generic RDF Exceptionpublic NodeIterator listObjects() throws RDFException
Model
listObjects
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
p
- The predicate soughtRDFException
- Generic RDF Exceptionpublic NodeIterator listObjectsOfProperty(Property p) throws RDFException
Model
listObjectsOfProperty
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
p
- The predicate soughtRDFException
- Generic RDF Exceptionpublic NodeIterator listObjectsOfProperty(Resource s, Property p) throws RDFException
Model
listObjectsOfProperty
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
p
- The predicate soughtRDFException
- Generic RDF Exceptionpublic StmtIterator listStatements(Selector selector) throws RDFException
Model
A statment is considered to match if the test
method
of s returns true when called on s.
listStatements
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
s
- A selector object.RDFException
- Generic RDF exception.public Model begin() throws RDFException
Model
All changes made to a model within a transaction, will either be made, or none of them will be made.
begin
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
RDFException
- Generic RDF Exceptionpublic Model abort() throws RDFException
Model
abort
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
RDFException
- Generic RDF Exceptionpublic Model commit() throws RDFException
Model
commit
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
RDFException
- Generic RDF Exceptionpublic boolean independent()
Model
For efficiency reasons, some implementations may create models which which are dependent on others, i.e. a change in one model may cause a change in another. If this is the case this method will return false, otherwise it will return true.
independent
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
public Resource createResource() throws RDFException
Model
Subsequent operations on the returned resource may modify this model.
createResource
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
RDFException
- Generic RDF exception.public Resource createResource(java.lang.String uri) throws RDFException
Model
Subsequent operations on the returned resource may modify this model.
createResource
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
uri
- the URI of the resource to be createdRDFException
- Generic RDF exception.public Property createProperty(java.lang.String uri) throws RDFException
ModelCon
Subsequent operations on the returned property may modify this model.
createProperty
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- the URI of the propertyRDFException
- Generic RDF exceptionpublic Property createProperty(java.lang.String nameSpace, java.lang.String localName) throws RDFException
Model
Subsequent operations on the returned property may modify this model.
createProperty
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
nameSpace
- the nameSpace of the propertylocalName
- the name of the property within its namespaceRDFException
- Generic RDF exceptionpublic Statement createStatement(Resource r, Property p, RDFNode o) throws RDFException
Model
Subsequent operations on the statement or any of its parts will modify this model.
Creating a statement does not add it to the set of statements in the model.
createStatement
in interface Model
com.hp.hpl.mesa.rdf.jena.model.Model
s
- the subject of the statementp
- the predicate of the statemento
- the object of the statementRDFException
- generic RDF exceptionpublic Bag createBag(java.lang.String uri) throws RDFException
ModelCon
Subsequent operations on the bag or any of its parts may modify this model.
A statement defining the type of the new bag is added to this model.
createBag
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- The URI of the new Bag.RDFException
- Generic RDF exception.public Alt createAlt(java.lang.String uri) throws RDFException
ModelCon
Subsequent operations on the alt or any of its parts may modify this model.
A statement defining the type of the new alt is added to this model.
createAlt
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- The URI of the new alt.RDFException
- Generic RDF exception.public Seq createSeq(java.lang.String uri) throws RDFException
ModelCon
Subsequent operations on the seq or any of its parts may modify this model.
A statement defining the type of the new seq is added to this model.
createSeq
in interface ModelCon
com.hp.hpl.mesa.rdf.jena.model.ModelCon
uri
- The URI of the new seq.RDFException
- Generic RDF exception.public NodeIterator listContainerMembers(Container cont, NodeIteratorFactory f) throws RDFException
listContainerMembers
in interface ModelI
com.hp.hpl.mesa.rdf.jena.common.ModelI
cont
- f
- RDFException
- public int containerSize(Container cont) throws RDFException
containerSize
in interface ModelI
com.hp.hpl.mesa.rdf.jena.common.ModelI
cont
- RDFException
- public int containerIndexOf(Container cont, RDFNode n) throws RDFException
containerIndexOf
in interface ModelI
com.hp.hpl.mesa.rdf.jena.common.ModelI
cont
- n
- RDFException
- public boolean containerContains(Container cont, RDFNode n) throws RDFException
containerContains
in interface ModelI
com.hp.hpl.mesa.rdf.jena.common.ModelI
cont
- n
- RDFException
- public Resource convert(Resource r) throws RDFException
convert
in interface ModelI
com.hp.hpl.mesa.rdf.jena.common.ModelI
r
- RDFException
- public Property convert(Property p) throws RDFException
convert
in interface ModelI
com.hp.hpl.mesa.rdf.jena.common.ModelI
p
- RDFException
- public RDFNode convert(RDFNode n) throws RDFException
convert
in interface ModelI
com.hp.hpl.mesa.rdf.jena.common.ModelI
n
- RDFException
- public boolean equals(java.lang.Object model)
Model
Two models are considered equal when each statement in one can be matched with a statement in the other. Statements which are identical match.
Special treatment is given to anonymous nodes. A binding is a one to
one mapping which maps each anonymous node in this
model to
an anonymous node in model
. Two statements s1 and s2 match
under a binding if if s1.subject is anonymous and s2.subject is anonymous
and the binding maps s1.subject to s2.subject.
Two models are equal if there is a binding that allows all the statements in one model to match a a statement in the other.
equals
in interface Model
equals
in class java.lang.Object
com.hp.hpl.mesa.rdf.jena.model.Model
model
- the model to be comparedpublic void close()
Model
Not all implementations of Model require this method to be called. But some do, so in general its best to call it when done with the object, rather than leave it to the finalizer.
close
in interface Model
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |