T - the property of Tpublic class ItemDefinitionToTriples<T extends javax.jcr.nodetype.ItemDefinition> extends Object implements com.google.common.base.Function<T,Iterator<com.hp.hpl.jena.graph.Triple>>
| Constructor and Description |
|---|
ItemDefinitionToTriples(com.hp.hpl.jena.graph.Node context)
Translate ItemDefinitions into triples.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<com.hp.hpl.jena.graph.Triple> |
apply(T input) |
static com.hp.hpl.jena.rdf.model.Resource |
getResource(javax.jcr.nodetype.ItemDefinition itemDefinition)
Get a RDF
Resource for a ItemDefinition JCR object. |
static com.hp.hpl.jena.rdf.model.Resource |
getResource(org.modeshape.jcr.api.Namespaced namespacedObject)
Get a RDF
Resource for a Namespaced JCR object. |
static com.hp.hpl.jena.rdf.model.Resource |
getResource(javax.jcr.nodetype.NodeType nodeType)
Get a RDF
Resource for a NodeType JCR object. |
public ItemDefinitionToTriples(com.hp.hpl.jena.graph.Node context)
context - the contextpublic static com.hp.hpl.jena.rdf.model.Resource getResource(org.modeshape.jcr.api.Namespaced namespacedObject) throws javax.jcr.RepositoryException
Resource for a Namespaced JCR object.
Namespaced is a Modeshape API type which is implemented by types
that fulfill the JCR interfaces that represent definitions.namespacedObject - the namespace objectjavax.jcr.RepositoryException - if repository exception occurredpublic static com.hp.hpl.jena.rdf.model.Resource getResource(javax.jcr.nodetype.NodeType nodeType) throws javax.jcr.RepositoryException
Resource for a NodeType JCR object.
Namespaced is a Modeshape API type which is implemented by types
that fulfill the JCR interfaces that represent definitions.nodeType - the node typejavax.jcr.RepositoryException - if repository exception occurredpublic static com.hp.hpl.jena.rdf.model.Resource getResource(javax.jcr.nodetype.ItemDefinition itemDefinition) throws javax.jcr.RepositoryException
Resource for a ItemDefinition JCR object.
Namespaced is a Modeshape API type which is implemented by types
that fulfill the JCR interfaces that represent definitions.itemDefinition - the given item definitionjavax.jcr.RepositoryException - if repository exception occurredCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.