public class SHParameterizableImpl extends SHResourceImpl implements SHParameterizable
| Constructor and Description |
|---|
SHParameterizableImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabelTemplate() |
List<SHParameter> |
getOrderedParameters()
Gets an ordered List of all declared SHParameters, based on
sh:order values (if one of them exists), then the local names of the path predicates.
|
List<SHParameter> |
getParameters()
Gets an unordered List of all declared Parameters.
|
Map<String,SHParameter> |
getParametersMap()
Gets a Map of variable names to Parameters.
|
boolean |
isOptionalParameter(org.apache.jena.rdf.model.Property predicate)
Checks if one of the sh:parameters declaring a given predicate is also marked
as sh:optional true.
|
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getModelCom, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, toString, visitWithas, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isURIResource, isValid, viewAsaddView, alreadyHasView, asInternal, supportsclone, finalize, getClass, notify, notifyAll, wait, wait, waitabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toStringpublic SHParameterizableImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph)
public List<SHParameter> getParameters()
SHParameterizablegetParameters in interface SHParameterizablepublic Map<String,SHParameter> getParametersMap()
SHParameterizablegetParametersMap in interface SHParameterizablepublic String getLabelTemplate()
getLabelTemplate in interface SHParameterizablepublic List<SHParameter> getOrderedParameters()
SHParameterizablegetOrderedParameters in interface SHParameterizablepublic boolean isOptionalParameter(org.apache.jena.rdf.model.Property predicate)
SHParameterizableisOptionalParameter in interface SHParameterizablepredicate - the predicate to checkCopyright © 2019 TopQuadrant, Inc.. All rights reserved.