public class ARTNodeFactoryImpl extends Object implements ARTNodeFactory
Constructor and Description |
---|
ARTNodeFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
ARTBNode |
createBNode()
this method just generates a POJO wrapping a blank node for the ontology.
|
ARTBNode |
createBNode(String ID)
this method just generates a POJO wrapping a blank node for the ontology.
|
ARTLiteral |
createLiteral(String label)
creates a literal from its string representation
|
ARTLiteral |
createLiteral(String label,
ARTURIResource datatype)
composes an creates a literal with a given datatype
|
ARTLiteral |
createLiteral(String label,
String language)
composes and creates a literal starting from its base label and the assigned language
|
ARTStatement |
createStatement(ARTResource subject,
ARTURIResource predicate,
ARTNode object)
this method just generates a POJO wrapping a statement for the ontology.
|
ARTURIResource |
createURIResource(String uri)
this method just generates a POJO wrapping an URI for the ontology.
|
public ARTLiteral createLiteral(String label)
ARTNodeFactory
createLiteral
in interface ARTNodeFactory
public ARTLiteral createLiteral(String label, String language)
ARTNodeFactory
createLiteral
in interface ARTNodeFactory
public ARTLiteral createLiteral(String label, ARTURIResource datatype)
ARTNodeFactory
createLiteral
in interface ARTNodeFactory
public ARTURIResource createURIResource(String uri)
ARTNodeFactory
createURIResource
in interface ARTNodeFactory
public ARTBNode createBNode()
ARTNodeFactory
createBNode
in interface ARTNodeFactory
public ARTBNode createBNode(String ID)
ARTNodeFactory
createBNode
in interface ARTNodeFactory
ID
- an internal identifier which can be used to retrieve the blank node, if knownpublic ARTStatement createStatement(ARTResource subject, ARTURIResource predicate, ARTNode object)
ARTNodeFactory
createStatement
in interface ARTNodeFactory
Copyright © 2015 ART Group, University of Rome, Tor Vergata. All Rights Reserved.