public class ConverterMention extends Object
Modifier and Type | Field and Description |
---|---|
private List<ConverterArgumentExpression> |
additionalArguments |
private String |
uri |
Constructor and Description |
---|
ConverterMention(String uri)
Constructs a converter mention with no additional argument.
|
ConverterMention(String uri,
List<ConverterArgumentExpression> additionalArguments)
Constructs a converter mention including the provided arguments.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<ConverterArgumentExpression> |
getAdditionalArguments()
Returns the list of additional arguments
|
String |
getURI()
Returns the URI identifying the converter (or converter contract)
|
int |
hashCode() |
List<ConverterMention> |
instatiateWithPlaceholderValues(com.google.common.collect.Multimap<String,Object> placeholder2valueMap)
Instantiates this
ConverterMention using the provided values for placeholders. |
String |
toString() |
private String uri
private List<ConverterArgumentExpression> additionalArguments
public ConverterMention(String uri)
uri
- public ConverterMention(String uri, List<ConverterArgumentExpression> additionalArguments)
uri
- additionalArguments
- public List<ConverterArgumentExpression> getAdditionalArguments()
public String getURI()
public List<ConverterMention> instatiateWithPlaceholderValues(com.google.common.collect.Multimap<String,Object> placeholder2valueMap) throws ConverterException
ConverterMention
using the provided values for placeholders. An empty
collection is returned, if the instantiation fails because of the use of a placeholder without any
value.placeholder2valueMap
- ConverterException
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.