T - public class ItemDefinitionToTriples<T extends javax.jcr.nodetype.ItemDefinition>
extends java.lang.Object
implements com.google.common.base.Function<T,java.util.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 |
|---|---|
java.util.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 - public java.util.Iterator<com.hp.hpl.jena.graph.Triple> apply(T input)
apply in interface com.google.common.base.Function<T extends javax.jcr.nodetype.ItemDefinition,java.util.Iterator<com.hp.hpl.jena.graph.Triple>>public 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 - javax.jcr.RepositoryExceptionpublic 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 - javax.jcr.RepositoryExceptionpublic 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 - javax.jcr.RepositoryExceptionCopyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.