T
- public 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
- 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.RepositoryException
public 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.RepositoryException
public 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.RepositoryException
Copyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.