|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hedenus.rdfschema.RDFDatabinding
public class RDFDatabinding
Main interface for RDF databinding.
Constructor Summary | |
---|---|
RDFDatabinding()
|
Method Summary | |
---|---|
RDFGraph |
getGraph()
|
Resource |
getPropertyValue(java.lang.String resource,
java.lang.String propertyURI)
|
java.lang.String |
getPropertyValue(java.lang.String resource,
java.lang.String propertyURI,
java.util.Locale locale)
|
java.lang.Object |
getPropertyValue(java.lang.String resource,
java.lang.String propertyURI,
java.lang.String datatypeURI)
Returns the value of resource 's property propertyURI interpreted
as datatype specified by datatypeURI . |
Resource[] |
getPropertyValues(java.lang.String resource,
java.lang.String propertyURI)
|
Resource |
getResource(java.lang.String about)
Returns the resource identified by about or null if
thers no such resource. |
TypeFactory |
getTypeFactory()
|
protected Mapping |
getTypeMapping()
|
void |
parse(java.io.File file,
java.lang.String encoding)
|
void |
parse(java.io.InputStream in,
java.lang.String encoding,
java.lang.String documentBase)
|
void |
parse(java.net.URL url)
|
protected void |
parse(java.net.URL url,
int statementType)
For importing basic schemas. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RDFDatabinding()
Method Detail |
---|
protected Mapping getTypeMapping()
public RDFGraph getGraph()
public TypeFactory getTypeFactory()
protected void parse(java.net.URL url, int statementType) throws java.io.IOException
url
- statementType
-
java.io.IOException
public void parse(java.net.URL url) throws java.io.IOException, XMLException
java.io.IOException
XMLException
public void parse(java.io.File file, java.lang.String encoding) throws java.io.IOException, XMLException
java.io.IOException
XMLException
public void parse(java.io.InputStream in, java.lang.String encoding, java.lang.String documentBase) throws java.io.IOException, XMLException
java.io.IOException
XMLException
public Resource getResource(java.lang.String about)
about
or null if
thers no such resource.
public java.lang.Object getPropertyValue(java.lang.String resource, java.lang.String propertyURI, java.lang.String datatypeURI)
resource
's property propertyURI
interpreted
as datatype specified by datatypeURI
.
If the value is not a RDF literal the result will be a de.hedenus.rdfschema.Resource
.
resource
- propertyURI
- datatypeURI
-
public Resource[] getPropertyValues(java.lang.String resource, java.lang.String propertyURI)
public Resource getPropertyValue(java.lang.String resource, java.lang.String propertyURI)
public java.lang.String getPropertyValue(java.lang.String resource, java.lang.String propertyURI, java.util.Locale locale)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |