public class TextQuoteSelector extends Selector
GET_CONNECTION, GET_RESOURCE| Constructor and Description |
|---|
TextQuoteSelector()
Standard constructor.
|
TextQuoteSelector(String exact,
String prefix,
String suffix)
Constructor also setting the exact, prefix, and suffix variables.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExact()
Gets Refers to http:www.w3.orgnsoa#exact
A copy of the text which is being selected, after normalization.
|
String |
getPrefix()
Gets Refers to http:www.w3.orgnsoa#prefix
A snippet of text that occurs immediately before the text which is being selected.
|
String |
getSuffix()
Gets Refers to http:www.w3.orgnsoa#suffix
The snippet of text that occurs immediately after the text which is being selected.
|
void |
setExact(String exact)
Sets new Refers to http:www.w3.orgnsoa#exact
A copy of the text which is being selected, after normalization.
|
void |
setPrefix(String prefix)
Sets new Refers to http:www.w3.orgnsoa#prefix
A snippet of text that occurs immediately before the text which is being selected.
|
void |
setSuffix(String suffix)
Sets new Refers to http:www.w3.orgnsoa#suffix
The snippet of text that occurs immediately after the text which is being selected.
|
String |
toString() |
getNTriples, getObjectConnection, getResource, getResourceAsString, setResource, setResourceAsStringpublic TextQuoteSelector()
public TextQuoteSelector(String exact, String prefix, String suffix)
exact - Specifies a copy of the text that is to be selected.prefix - Snippet of the text that occurs immediately before the text that is to be selected.suffix - Snippet of the text that occurs immediately after the text that is to be selected.public void setPrefix(String prefix)
prefix - New value of Refers to http:www.w3.orgnsoa#prefix
A snippet of text that occurs immediately before the text which is being selected.
Each TextQuoteSelector should have exactly 1 oa:prefix property, and must not have more than 1..public void setExact(String exact)
exact - New value of Refers to http:www.w3.orgnsoa#exact
A copy of the text which is being selected, after normalization.
Each TextQuoteSelector must have exactly 1 oa:exact property..public String getExact()
public void setSuffix(String suffix)
suffix - New value of Refers to http:www.w3.orgnsoa#suffix
The snippet of text that occurs immediately after the text which is being selected.
Each TextQuoteSelector should have exactly 1 oa:suffix property, and must not have more than 1..public String getSuffix()
public String getPrefix()
Copyright © 2015 Chair of Distributed Information Systems - University of Passau. All rights reserved.