public class ShowlLiteralExpression extends Object implements ShowlExpression
| Constructor and Description |
|---|
ShowlLiteralExpression(org.openrdf.model.Literal literal) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeclaredProperties(ShowlNodeShape sourceNodeShape,
Set<ShowlPropertyShape> set)
Collect from this expression all properties declared by the specified source NodeShape, or any
NodeShape nested within the source NodeShape.
|
void |
addProperties(Set<ShowlPropertyShape> set) |
String |
displayValue() |
org.openrdf.model.Literal |
getLiteral() |
String |
toString() |
ShowlLiteralExpression |
transform()
Return a copy of this expression where every PropertyShape expression is replaced
with its 'selectedExpression'
|
org.openrdf.model.URI |
valueType(OwlReasoner reasoner) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitparameterspublic ShowlLiteralExpression(org.openrdf.model.Literal literal)
public org.openrdf.model.Literal getLiteral()
public String displayValue()
displayValue in interface ShowlExpressionpublic void addDeclaredProperties(ShowlNodeShape sourceNodeShape, Set<ShowlPropertyShape> set) throws ShowlProcessingException
ShowlExpressionaddDeclaredProperties in interface ShowlExpressionset - The set to which the properties should be added.ShowlProcessingExceptionpublic void addProperties(Set<ShowlPropertyShape> set)
addProperties in interface ShowlExpressionpublic org.openrdf.model.URI valueType(OwlReasoner reasoner)
valueType in interface ShowlExpressionpublic ShowlLiteralExpression transform()
ShowlExpressiontransform in interface ShowlExpressionCopyright © 2019. All rights reserved.